From e419de07a43270db2a43c89f9215088e5d489d8b Mon Sep 17 00:00:00 2001 From: wukko Date: Thu, 3 Oct 2024 11:57:18 +0600 Subject: [PATCH] web/layout: fix text selection color --- web/src/routes/+layout.svelte | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte index edc364c1..ce5e0c02 100644 --- a/web/src/routes/+layout.svelte +++ b/web/src/routes/+layout.svelte @@ -501,6 +501,11 @@ padding-top: 0; } + :global(::selection) { + color: var(--primary); + background: var(--secondary); + } + @media screen and (max-width: 535px) { :global(.long-text-noto), :global(.long-text-noto *:not(h1, h2, h3, h4, h5, h6)) {