From 1712dc89483a485a8c00be1b419e6d743ccd66df Mon Sep 17 00:00:00 2001 From: wukko Date: Sun, 14 Jul 2024 20:42:32 +0600 Subject: [PATCH] web: switch main body color depending on theme --- web/src/app.html | 12 +++++++++++- web/src/routes/+layout.svelte | 4 ++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/web/src/app.html b/web/src/app.html index c1d1520e..4ea139fc 100644 --- a/web/src/app.html +++ b/web/src/app.html @@ -17,7 +17,17 @@ %sveltekit.head% - + +
%sveltekit.body%
diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte index 22cd0663..16422d82 100644 --- a/web/src/routes/+layout.svelte +++ b/web/src/routes/+layout.svelte @@ -135,6 +135,10 @@ overscroll-behavior-y: none; } + :global(body) { + background-color: var(--secondary); + } + #cobalt { position: fixed; height: 100%;