chore(component): update button and input border color (#9141)

This commit is contained in:
CatsJuice 2024-12-16 04:16:48 +00:00
parent 0945381d7b
commit 729c37977e
No known key found for this signature in database
GPG Key ID: 1C1E76924FAFDDE4
2 changed files with 5 additions and 5 deletions

View File

@ -127,7 +127,7 @@ export const button = style({
[bgVar]: cssVarV2('button/primary'),
[textVar]: cssVarV2('button/pureWhiteText'),
[iconColorVar]: cssVarV2('button/pureWhiteText'),
[borderColorVar]: cssVarV2('button/innerBlackBorder'),
[borderColorVar]: cssVarV2.layer.insideBorder.blackBorder,
},
},
'&[data-variant="secondary"]': {
@ -135,7 +135,7 @@ export const button = style({
[bgVar]: cssVarV2('button/secondary'),
[textVar]: cssVarV2('text/primary'),
[iconColorVar]: cssVarV2('icon/primary'),
[borderColorVar]: cssVarV2('layer/insideBorder/border'),
[borderColorVar]: cssVarV2.layer.insideBorder.blackBorder,
},
},
'&[data-variant="plain"]': {
@ -152,7 +152,7 @@ export const button = style({
[bgVar]: cssVarV2('button/error'),
[textVar]: cssVarV2('button/pureWhiteText'),
[iconColorVar]: cssVarV2('button/pureWhiteText'),
[borderColorVar]: cssVarV2('button/innerBlackBorder'),
[borderColorVar]: cssVarV2.layer.insideBorder.blackBorder,
},
},
'&[data-variant="success"]': {
@ -160,7 +160,7 @@ export const button = style({
[bgVar]: cssVarV2('button/success'),
[textVar]: cssVarV2('button/pureWhiteText'),
[iconColorVar]: cssVarV2('button/pureWhiteText'),
[borderColorVar]: cssVarV2('button/innerBlackBorder'),
[borderColorVar]: cssVarV2.layer.insideBorder.blackBorder,
},
},

View File

@ -42,7 +42,7 @@ export const inputWrapper = style({
borderColor: cssVar('warningColor'),
},
'&.default': {
borderColor: cssVar('borderColor'),
borderColor: cssVarV2.layer.insideBorder.blackBorder,
},
'&.default:is(:focus-within, :focus, :focus-visible)': {
borderColor: cssVarV2('button/primary'),