From d9521c58bf9b9fef0c8b1248bf6ce8c69351fc16 Mon Sep 17 00:00:00 2001 From: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Date: Wed, 19 Jun 2024 12:57:21 -0400 Subject: Remove flickering on page loads, reduce flashbangs, fix settings and popup themes applying correctly (#1088) * Pull theme from settings on page load * Make dark mode default * Fix flickering on load * Invert shadow for auto shadow theme * Revert "Make dark mode default" This reverts commit 4cdfc39686a9faa3ce7a620be23025f97816f5f9. * Improve page load times * Fix flicker on load for popup preview without breaking theming when auto is selected * Revert shadow invert --- ext/action-popup.html | 2 +- ext/css/popup-preview.css | 5 ++-- ext/info.html | 2 +- ext/js/display/display.js | 12 ++++++-- ext/js/display/search-main.js | 2 ++ ext/js/pages/action-popup-main.js | 2 ++ ext/js/pages/info-main.js | 32 ++++++++++++---------- ext/js/pages/permissions-main.js | 20 ++++++++------ ext/js/pages/quick-start-guide-main.js | 1 + .../pages/settings/settings-display-controller.js | 11 ++++++-- ext/js/pages/settings/settings-main.js | 13 +++++---- ext/js/pages/welcome-main.js | 20 ++++++++------ ext/permissions.html | 2 +- ext/quick-start-guide.html | 2 +- ext/search.html | 2 +- ext/settings.html | 2 +- ext/welcome.html | 2 +- 17 files changed, 80 insertions(+), 52 deletions(-) (limited to 'ext') diff --git a/ext/action-popup.html b/ext/action-popup.html index bc5bdcb4..e160b0fc 100644 --- a/ext/action-popup.html +++ b/ext/action-popup.html @@ -14,7 +14,7 @@ - +