From 20f663e654a118b90d96523a1ebbca73ab191e80 Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Fri, 11 Oct 2024 11:49:58 -0700 Subject: [PATCH] feat: Glowing links in dark mode --- src/routes/+layout.svelte | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 7b2e80b..ee365b8 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -107,6 +107,11 @@ gap: 20px; } } + @media (prefers-color-scheme: dark) { + :global(a), :global(button) { + text-shadow: 0 0 5px theme('colors.eucalyptus.400'); + } + } main { width: min(100vw, max(50vw, 100vh)); grid-area: content;