mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Fix control-border CSS regression (#388)
This commit is contained in:
parent
cabac3d9d8
commit
77e85c132c
@ -33,9 +33,8 @@ export const cssButton = styled('button', `
|
||||
color: ${theme.controlFg};
|
||||
--icon-color: ${theme.controlFg};
|
||||
|
||||
border: ${vars.controlBorder};
|
||||
border: ${theme.controlBorder};
|
||||
border-radius: ${vars.controlBorderRadius};
|
||||
border-color: ${theme.controlBorder};
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
|
@ -359,7 +359,7 @@ export const theme = {
|
||||
controlDisabledBg: new CustomProp('theme-control-disabled-bg', undefined, colors.slate),
|
||||
controlPrimaryDisabled: new CustomProp('theme-control-primary-disabled', undefined,
|
||||
colors.inactiveCursor),
|
||||
controlBorder: new CustomProp('theme-control-border', undefined, '#11B683'),
|
||||
controlBorder: new CustomProp('theme-control-border', undefined, vars.controlBorder),
|
||||
|
||||
/* Checkboxes */
|
||||
checkboxBg: new CustomProp('theme-checkbox-bg', undefined, colors.light),
|
||||
|
@ -175,7 +175,7 @@ export const GristDark: ThemeColors = {
|
||||
'control-disabled-fg': '#A4A4A4',
|
||||
'control-disabled-bg': '#69697D',
|
||||
'control-primary-disabled': '#5F8C7B',
|
||||
'control-border': '#11B683',
|
||||
'control-border': '1px solid #1DA270',
|
||||
|
||||
/* Checkboxes */
|
||||
'checkbox-bg': '#32323F',
|
||||
|
@ -175,7 +175,7 @@ export const GristLight: ThemeColors = {
|
||||
'control-disabled-fg': '#FFFFFF',
|
||||
'control-disabled-bg': '#929299',
|
||||
'control-primary-disabled': '#A2E1C9',
|
||||
'control-border': '#11B683',
|
||||
'control-border': '1px solid #11B683',
|
||||
|
||||
/* Checkboxes */
|
||||
'checkbox-bg': '#FFFFFF',
|
||||
|
Loading…
Reference in New Issue
Block a user