From f0a521f5b8019e83eb2b6cfc4733b642305e78a6 Mon Sep 17 00:00:00 2001 From: Dubzer Date: Mon, 4 Mar 2024 04:35:40 +0300 Subject: [PATCH] feat: improve theming (#3032) Add color-scheme and dark scrollbar styles --- web/src/css/global.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/src/css/global.css b/web/src/css/global.css index ae89cae7..b1043f89 100644 --- a/web/src/css/global.css +++ b/web/src/css/global.css @@ -5,3 +5,10 @@ body { #root { @apply relative w-full min-h-full; } +html.dark { + color-scheme: dark; + scrollbar-color: hsla(0, 0%, 100%, .4) hsla(0, 0%, 100%, .029); +} +html.light { + color-scheme: light; +} \ No newline at end of file