@@ -61,7 +61,6 @@ export default {
61
61
black : defaultColor . GREY_100 ,
62
62
white : defaultColor . WHITE ,
63
63
'white-darken' : theme ( 'colors.white-darken' ) ,
64
- link : defaultColor . TEXT_LINK ,
65
64
background : defaultColor . BACKGROUND ,
66
65
border : theme ( 'colors.grey.20' ) ,
67
66
brand : theme ( 'colors.brand' ) ,
@@ -112,6 +111,7 @@ export default {
112
111
'white-darken' : darkenColor ( defaultColor . WHITE ) ,
113
112
main : defaultColor . MAIN ,
114
113
'main-darken' : darkenColor ( defaultColor . MAIN ) ,
114
+ link : defaultColor . TEXT_LINK ,
115
115
brand : defaultColor . BRAND ,
116
116
outline : defaultColor . OUTLINE ,
117
117
danger : defaultColor . DANGER ,
@@ -185,7 +185,9 @@ export default {
185
185
white : theme ( 'colors.white' ) ,
186
186
'white-darken' : theme ( 'colors.white-darken' ) ,
187
187
disabled : theme ( 'colors.grey.30' ) ,
188
- link : defaultColor . TEXT_LINK ,
188
+ link : theme ( 'colors.link' ) ,
189
+ // ACTION_BACKGROUND とコントラスト比 4.5 を達成するために調整
190
+ 'link-darken' : darkenColor ( theme ( 'colors.link' ) , 0.062 ) ,
189
191
grey : theme ( 'colors.grey.65' ) ,
190
192
danger : theme ( 'colors.danger' ) ,
191
193
'color-inherit' : 'inherit' ,
@@ -212,6 +214,7 @@ export default {
212
214
disabled : theme ( 'colors.grey.20 / 50%' ) ,
213
215
darken : darkenColor ( theme ( 'colors.grey.20' ) ) ,
214
216
'high-contrast' : theme ( 'colors.grey.100' ) ,
217
+ link : theme ( 'colors.link' ) ,
215
218
} ) ,
216
219
strokeWidth : {
217
220
'0.5' : '0.5' ,
0 commit comments