From de7cfc93e69190952293db7f29c35887ed74626b Mon Sep 17 00:00:00 2001 From: eddie <66155195+just-toby@users.noreply.github.com> Date: Thu, 5 Jan 2023 09:20:56 -0800 Subject: [PATCH] fix: theme-aware root element color (#5788) * fix: theme-aware root element color * fix: add comment --- public/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/index.html b/public/index.html index 085391d8d6..2449ffc014 100644 --- a/public/index.html +++ b/public/index.html @@ -76,8 +76,8 @@ -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } + /* Use this to apply network-specific gradient backgrounds, in RadialGradientByChainUpdater.ts */ #background-radial-gradient { - background: linear-gradient(180deg, #202738 0%, #070816 100%); position: fixed; top: 0; left: 0; @@ -97,13 +97,13 @@ @media (prefers-color-scheme: dark) { html { - background-color: #212429; + background: linear-gradient(180deg, #202738 0%, #070816 100%); } } @media (prefers-color-scheme: light) { html { - background-color: #f7f8fa; + background: radial-gradient(100% 100% at 50% 0%, rgba(255, 184, 226, 0.51) 0%, rgba(255, 255, 255, 0) 100%), #FFFFFF } }