From eeea1c6b53fb479e48bce090e120e67fc1b8543c Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Sun, 1 Nov 2020 00:03:18 +1100 Subject: [PATCH] make ctrl+f popover shadow less extreme --- repo/core/client.js | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/repo/core/client.js b/repo/core/client.js index 46142a8..28d5f73 100644 --- a/repo/core/client.js +++ b/repo/core/client.js @@ -117,22 +117,20 @@ module.exports = (store, __exports) => { ? 'dark' : 'light', 'colors': { - 'white': getStyle(`--theme--option_active-color`), - 'blue': getStyle(`--theme--option_active-background`), + 'white': getStyle('--theme--option_active-color'), + 'blue': getStyle('--theme--option_active-background'), }, 'borderRadius': 3, - 'textColor': getStyle(`--theme--text`), - 'popoverBackgroundColor': getStyle(`--theme--card`), - 'popoverBoxShadow': `0 0 0 1px ${getStyle( - `--theme--overlay` - )}, 0 3px 6px ${getStyle(`--theme--overlay`)}`, + 'textColor': getStyle('--theme--text'), + 'popoverBackgroundColor': getStyle('--theme--card'), + 'popoverBoxShadow': getStyle('--theme--box-shadow_strong'), 'inputBoxShadow': `box-shadow: ${getStyle( `--theme--primary` )} 0px 0px 0px 1px inset, ${getStyle( `--theme--primary_hover` )} 0px 0px 0px 2px !important`, - 'inputBackgroundColor': getStyle(`--theme--main`), - 'dividerColor': getStyle(`--theme--table-border`), + 'inputBackgroundColor': getStyle('--theme--main'), + 'dividerColor': getStyle('--theme--table-border'), 'shadowOpacity': 0.2, }); }