diff --git a/assets/css/style.css b/assets/css/style.css index 149038a..94d8555 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -3,4 +3,20 @@ main > p > strong { background-clip: border-box; background-clip: text; color: transparent; -} \ No newline at end of file +} + +:root[data-color-scheme="dark"] main > p > strong { + background: linear-gradient(to right, #FEAC5E, #C779D0, #4BC0C8); + background-clip: border-box; + background-clip: text; + color: transparent; +} + +@media (prefers-color-scheme: dark) { + :root[data-color-scheme="auto"] main > p > strong { + background: linear-gradient(to right, #FEAC5E, #C779D0, #4BC0C8); + background-clip: border-box; + background-clip: text; + color: transparent; + } +} diff --git a/config.toml b/config.toml index 9fbc191..d58f2af 100644 --- a/config.toml +++ b/config.toml @@ -16,7 +16,7 @@ summaryLength = 0 unsafe= true [params] - mode = "light" + colorScheme = "auto" customCSS = ["/css/style.css"] favicon = "/icons/favicon.ico" socialBanner = "/icons/banner.png" diff --git a/themes/rocinante b/themes/rocinante index 3cd8b30..138a3f5 160000 --- a/themes/rocinante +++ b/themes/rocinante @@ -1 +1 @@ -Subproject commit 3cd8b3019f14a4baba7a4e61929c05765d10c1c2 +Subproject commit 138a3f5fed6dbedffb40992b5517abc07743df5a