File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
import React , { ComponentPropsWithoutRef } from 'react' ;
2
2
import styled from 'styled-components' ;
3
- import { Colors , Spaces } from '../../essentials' ;
3
+ import { Spaces } from '../../essentials' ;
4
4
import { theme } from '../../essentials/theme' ;
5
5
import { get } from '../../utils/themeGet' ;
6
+ import { getSemanticValue } from '../../utils/cssVariables' ;
6
7
7
8
interface LinkProps extends ComponentPropsWithoutRef < 'a' > {
8
9
/**
@@ -33,7 +34,7 @@ const UnderLine = styled.div`
33
34
` ;
34
35
35
36
const InnerLink = styled . a . attrs ( { theme } ) < LinkProps > `
36
- color: ${ Colors . AUTHENTIC_BLUE_350 } ;
37
+ color: ${ getSemanticValue ( 'text-tertiary' ) } ;
37
38
cursor: pointer;
38
39
font-size: ${ get ( 'fontSizes.1' ) } ;
39
40
font-weight: ${ get ( 'fontWeights.semibold' ) } ;
@@ -46,10 +47,10 @@ const InnerLink = styled.a.attrs({ theme })<LinkProps>`
46
47
}
47
48
48
49
&.${ props => ( props . activeClassName ? props . activeClassName : DEFAULT_ACTIVE_CLASS_NAME ) } {
49
- color: ${ Colors . ACTION_BLUE_900 } ;
50
+ color: ${ getSemanticValue ( 'text-link' ) } ;
50
51
51
52
${ UnderLine } {
52
- background-color: ${ Colors . ACTION_BLUE_900 } ;
53
+ background-color: ${ getSemanticValue ( 'icon-action-default' ) } ;
53
54
}
54
55
}
55
56
` ;
You can’t perform that action at this time.
0 commit comments