From c10e2ce2ef99342f916d9c48feb5f91bb2c09eaf Mon Sep 17 00:00:00 2001 From: Gabriel Cozma Date: Sat, 16 Mar 2024 11:50:44 +0200 Subject: [PATCH] feat: Add dark mode styling to title element --- pages/.vitepress/custom.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pages/.vitepress/custom.scss b/pages/.vitepress/custom.scss index a9bf889..85edf2b 100644 --- a/pages/.vitepress/custom.scss +++ b/pages/.vitepress/custom.scss @@ -17,6 +17,12 @@ $color-accent: #D16014; //D62839 #title { margin: 0px; color: var(--color-accent); + + @media (prefers-color-scheme: dark) { + background: linear-gradient(95deg, #ff8330 32.27%, #f4bd98 68.51%); + background-clip: text; + -webkit-text-fill-color: transparent; + } } #aeolus,