@@ -50,16 +50,16 @@ const tagVariant = variant({
50
50
borderColor : getSemanticValue ( 'border-info-default' ) ,
51
51
52
52
[ `> ${ TagText } ` ] : {
53
- color : get ( 'semanticColors.text.link ')
53
+ color : getSemanticValue ( 'foreground-info-default ')
54
54
} ,
55
55
56
56
[ `> ${ DismissIcon } ` ] : {
57
- color : get ( 'semanticColors.icon.action ')
57
+ color : getSemanticValue ( 'foreground-info-default ')
58
58
} ,
59
59
60
60
'&:hover' : {
61
61
backgroundColor : getSemanticValue ( 'background-element-info-emphasized' ) ,
62
- borderColor : get ( 'semanticColors. border.infoEmphasized ') ,
62
+ borderColor : getSemanticValue ( ' border-info-default ') ,
63
63
64
64
[ `> ${ TagText } ` ] : {
65
65
color : getSemanticValue ( 'foreground-on-background-info' )
@@ -71,38 +71,38 @@ const tagVariant = variant({
71
71
}
72
72
} ,
73
73
disabled : {
74
- borderColor : get ( 'semanticColors. border.primary ') ,
74
+ borderColor : getSemanticValue ( ' border-disabled ') ,
75
75
76
76
[ `> ${ TagText } ` ] : {
77
- color : get ( 'semanticColors.text. disabled')
77
+ color : getSemanticValue ( 'foreground- disabled')
78
78
} ,
79
79
80
80
[ `> ${ DismissIcon } ` ] : {
81
- color : get ( 'semanticColors.icon. disabled')
81
+ color : getSemanticValue ( 'foreground- disabled')
82
82
}
83
83
} ,
84
84
error : {
85
- backgroundColor : get ( 'semanticColors. background. danger') ,
86
- borderColor : get ( 'semanticColors. border.dangerEmphasized ') ,
85
+ backgroundColor : getSemanticValue ( ' background-surface- danger-default ') ,
86
+ borderColor : getSemanticValue ( ' border-danger-default ') ,
87
87
88
88
[ `> ${ TagText } ` ] : {
89
- color : get ( 'semanticColors.text.dangerInverted ')
89
+ color : getSemanticValue ( 'foreground-danger-default ')
90
90
} ,
91
91
92
92
[ `> ${ DismissIcon } ` ] : {
93
- color : get ( 'semanticColors.icon. danger')
93
+ color : getSemanticValue ( 'foreground- danger-default ')
94
94
} ,
95
95
96
96
'&:hover' : {
97
- backgroundColor : get ( 'semanticColors. background.dangerEmphasized ') ,
98
- borderColor : get ( 'semanticColors. border.dangerEmphasized ') ,
97
+ backgroundColor : getSemanticValue ( ' background-surface-danger-emphasized ') ,
98
+ borderColor : getSemanticValue ( ' border-danger-default ') ,
99
99
100
100
[ `> ${ TagText } ` ] : {
101
- color : get ( 'semanticColors.text.primaryInverted ')
101
+ color : getSemanticValue ( 'foreground-on-background-danger ')
102
102
} ,
103
103
104
104
[ `> ${ DismissIcon } ` ] : {
105
- color : get ( 'semanticColors.icon.primaryInverted ')
105
+ color : getSemanticValue ( 'foreground-on-background-danger ')
106
106
}
107
107
}
108
108
}
@@ -144,4 +144,4 @@ const Tag: FC<PropsWithChildren<TagProps>> = ({
144
144
</ TagWrapper >
145
145
) ;
146
146
147
- export { Tag , TagProps } ;
147
+ export { Tag , TagProps } ;
0 commit comments