aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/index.css
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-13 17:29:12 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-13 17:29:12 -0800
commit9c1c131603677371eab0e6b6956481a661f14628 (patch)
tree09b36ae29535512ffe08982282298896c0fc3f72 /frontend/src/index.css
parent988de1e688e4df27a21f62782ecaabf96b819dfe (diff)
downloadneko-9c1c131603677371eab0e6b6956481a661f14628.tar.gz
neko-9c1c131603677371eab0e6b6956481a661f14628.tar.bz2
neko-9c1c131603677371eab0e6b6956481a661f14628.zip
feat(v2/ui): add theme toggle and collapse sidebar by default (NK-gnxc6e, NK-k4y597)
Diffstat (limited to 'frontend/src/index.css')
-rw-r--r--frontend/src/index.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/frontend/src/index.css b/frontend/src/index.css
index 43cdff5..821a259 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -47,6 +47,30 @@ h5,
}
}
+.theme-dark {
+ --bg-color: #24292e;
+ --text-color: #ffffff;
+ --sidebar-bg: #1b1f23;
+ --link-color: rgb(90, 200, 250);
+ background-color: var(--bg-color);
+ color: var(--text-color);
+}
+
+.theme-black {
+ --bg-color: #000000;
+ --text-color: #ffffff;
+ --sidebar-bg: #111111;
+ --link-color: rgb(90, 200, 250);
+ background-color: var(--bg-color);
+ color: var(--text-color);
+}
+
+.theme-dark button,
+.theme-black button {
+ background-color: #333;
+ color: #fff;
+}
+
body {
margin: 0;
min-width: 320px;