mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-30 07:51:51 +03:00
chore(component): update button and input border color (#9141)
This commit is contained in:
parent
0945381d7b
commit
729c37977e
@ -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,
|
||||
},
|
||||
},
|
||||
|
||||
|
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user