From f61690ea2c4b5142c470dbe288446afadae11dbc Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 3 Apr 2022 16:20:55 -0400 Subject: Theme updates (#2105) * Change siteColor to siteTheme * Fix potential null exception * Simplify * Update display theme assignment * Add a data-browser-theme attribute * Add "browser" option for theme * Create ThemeController * Add theme-controller.js to relevant pages * Use ThemeController * Simplify * Fix 'light' being used instead of 'default' * Update the settings values to more accurately reflect their usage * Change default site theme in display.js * Remove async * Restore async for consistency --- ext/css/popup-outer.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext/css/popup-outer.css') diff --git a/ext/css/popup-outer.css b/ext/css/popup-outer.css index 119a6b90..e020a956 100644 --- a/ext/css/popup-outer.css +++ b/ext/css/popup-outer.css @@ -31,8 +31,7 @@ iframe.yomichan-popup[data-theme=dark] { background-color: #1e1e1e; border-color: #666666; } -iframe.yomichan-popup[data-outer-theme=dark], -iframe.yomichan-popup[data-outer-theme=auto][data-site-color=dark] { +iframe.yomichan-popup[data-outer-theme=dark] { box-shadow: 0 0 10em rgba(255, 255, 255, 0.5); } iframe.yomichan-popup[data-popup-display-mode=full-width] { -- cgit v1.2.3