Fix incorrect CSS fallback values

This commit is contained in:
George Gevoian 2022-09-08 14:30:46 -07:00
parent c9c46d337b
commit 965cf7e076
2 changed files with 4 additions and 4 deletions

View File

@ -559,11 +559,11 @@ export const theme = {
widgetPickerPrimaryBg: new CustomProp('theme-widget-picker-primary-bg', undefined, 'white'), widgetPickerPrimaryBg: new CustomProp('theme-widget-picker-primary-bg', undefined, 'white'),
widgetPickerSecondaryBg: new CustomProp('theme-widget-picker-secondary-bg', undefined, widgetPickerSecondaryBg: new CustomProp('theme-widget-picker-secondary-bg', undefined,
colors.lightGrey), colors.lightGrey),
widgetPickerItemFg: new CustomProp('theme-widget-picker-item-fg', undefined, colors.lightGrey), widgetPickerItemFg: new CustomProp('theme-widget-picker-item-fg', undefined, 'unset'),
widgetPickerItemSelectedBg: new CustomProp('theme-widget-picker-item-selected-bg', undefined, widgetPickerItemSelectedBg: new CustomProp('theme-widget-picker-item-selected-bg', undefined,
colors.lightGrey), colors.mediumGrey),
widgetPickerItemDisabledBg: new CustomProp('theme-widget-picker-item-disabled-bg', undefined, widgetPickerItemDisabledBg: new CustomProp('theme-widget-picker-item-disabled-bg', undefined,
colors.lightGrey), colors.mediumGrey),
widgetPickerIcon: new CustomProp('theme-widget-picker-icon', undefined, colors.slate), widgetPickerIcon: new CustomProp('theme-widget-picker-icon', undefined, colors.slate),
widgetPickerPrimaryIcon: new CustomProp('theme-widget-picker-primary-icon', undefined, widgetPickerPrimaryIcon: new CustomProp('theme-widget-picker-primary-icon', undefined,
colors.lightGreen), colors.lightGreen),

View File

@ -329,7 +329,7 @@ export const GristLight: ThemeColors = {
/* Page Widget Picker */ /* Page Widget Picker */
'widget-picker-primary-bg': 'white', 'widget-picker-primary-bg': 'white',
'widget-picker-secondary-bg': '#F7F7F7', 'widget-picker-secondary-bg': '#F7F7F7',
'widget-picker-item-fg': 'black', 'widget-picker-item-fg': 'unset',
'widget-picker-item-selected-bg': 'rgba(217,217,217,0.6)', 'widget-picker-item-selected-bg': 'rgba(217,217,217,0.6)',
'widget-picker-item-disabled-bg': 'rgba(217,217,217,0.6)', 'widget-picker-item-disabled-bg': 'rgba(217,217,217,0.6)',
'widget-picker-icon': '#929299', 'widget-picker-icon': '#929299',