diff options
Diffstat (limited to 'ext/css')
-rw-r--r-- | ext/css/popup-preview.css | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/css/popup-preview.css b/ext/css/popup-preview.css index a72edc65..48a1a091 100644 --- a/ext/css/popup-preview.css +++ b/ext/css/popup-preview.css @@ -26,6 +26,7 @@ --animation-duration: 0s; --example-text-color: #333333; + --background-color: #f8f9fa; } :root[data-loaded=true] { --animation-duration: 0.25s; @@ -33,15 +34,16 @@ :root[data-theme=dark] { --example-text-color: #d4d4d4; + --background-color: #1e1e1e; } html { transition: background-color var(--animation-duration) linear 0s, color var(--animation-duration) linear 0s; - background-color: rgba(255, 255, 255, 0); + background-color: var(--background-color); } html.dark { - background-color: #1e1e1e; + background-color: var(--background-color); } html, body { |