mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-09 15:09:02 +00:00
make ctrl+f popover shadow less extreme
This commit is contained in:
parent
6a326a12be
commit
eeea1c6b53
@ -117,22 +117,20 @@ module.exports = (store, __exports) => {
|
|||||||
? 'dark'
|
? 'dark'
|
||||||
: 'light',
|
: 'light',
|
||||||
'colors': {
|
'colors': {
|
||||||
'white': getStyle(`--theme--option_active-color`),
|
'white': getStyle('--theme--option_active-color'),
|
||||||
'blue': getStyle(`--theme--option_active-background`),
|
'blue': getStyle('--theme--option_active-background'),
|
||||||
},
|
},
|
||||||
'borderRadius': 3,
|
'borderRadius': 3,
|
||||||
'textColor': getStyle(`--theme--text`),
|
'textColor': getStyle('--theme--text'),
|
||||||
'popoverBackgroundColor': getStyle(`--theme--card`),
|
'popoverBackgroundColor': getStyle('--theme--card'),
|
||||||
'popoverBoxShadow': `0 0 0 1px ${getStyle(
|
'popoverBoxShadow': getStyle('--theme--box-shadow_strong'),
|
||||||
`--theme--overlay`
|
|
||||||
)}, 0 3px 6px ${getStyle(`--theme--overlay`)}`,
|
|
||||||
'inputBoxShadow': `box-shadow: ${getStyle(
|
'inputBoxShadow': `box-shadow: ${getStyle(
|
||||||
`--theme--primary`
|
`--theme--primary`
|
||||||
)} 0px 0px 0px 1px inset, ${getStyle(
|
)} 0px 0px 0px 1px inset, ${getStyle(
|
||||||
`--theme--primary_hover`
|
`--theme--primary_hover`
|
||||||
)} 0px 0px 0px 2px !important`,
|
)} 0px 0px 0px 2px !important`,
|
||||||
'inputBackgroundColor': getStyle(`--theme--main`),
|
'inputBackgroundColor': getStyle('--theme--main'),
|
||||||
'dividerColor': getStyle(`--theme--table-border`),
|
'dividerColor': getStyle('--theme--table-border'),
|
||||||
'shadowOpacity': 0.2,
|
'shadowOpacity': 0.2,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user