From 3c856f93ed3d1362a8b6190d9ce44b2939fca717 Mon Sep 17 00:00:00 2001 From: frosty Date: Sun, 10 May 2026 00:00:08 -0400 Subject: feat(wip): load themes dynamically from static/themes/*.css --- static/themes/dark.css | 10 ++++++++++ static/themes/light.css | 10 ++++++++++ static/themes/system.css | 22 ++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 static/themes/dark.css create mode 100644 static/themes/light.css create mode 100644 static/themes/system.css (limited to 'static/themes') diff --git a/static/themes/dark.css b/static/themes/dark.css new file mode 100644 index 0000000..246aabe --- /dev/null +++ b/static/themes/dark.css @@ -0,0 +1,10 @@ +:root { + --bg-main: #121212; + --bg-card: #1e1e1e; + --border: #333333; + --text-primary: #ffffff; + --text-secondary: #a0a0a0; + --text-muted: #d1d1d1; + --accent: #e2e2e2; + --accent-glow: rgba(255,255,255,0.1); +} diff --git a/static/themes/light.css b/static/themes/light.css new file mode 100644 index 0000000..1c69377 --- /dev/null +++ b/static/themes/light.css @@ -0,0 +1,10 @@ +:root { + --bg-main: #ffffff; + --bg-card: #f8f9fa; + --border: #e0e0e0; + --text-primary: #1a1a1a; + --text-secondary: #5f6368; + --text-muted: #757575; + --accent: #202124; + --accent-glow: rgba(0,0,0,0.05); +} diff --git a/static/themes/system.css b/static/themes/system.css new file mode 100644 index 0000000..f9c52cf --- /dev/null +++ b/static/themes/system.css @@ -0,0 +1,22 @@ +:root { + --bg-main: #ffffff; + --bg-card: #f8f9fa; + --border: #e0e0e0; + --text-primary: #1a1a1a; + --text-secondary: #5f6368; + --text-muted: #757575; + --accent: #202124; + --accent-glow: rgba(0,0,0,0.05); +} +@media (prefers-color-scheme: dark) { + :root { + --bg-main: #121212; + --bg-card: #1e1e1e; + --border: #333333; + --text-primary: #ffffff; + --text-secondary: #a0a0a0; + --text-muted: #d1d1d1; + --accent: #e2e2e2; + --accent-glow: rgba(255,255,255,0.1); + } +} \ No newline at end of file -- cgit v1.3 From b8fd03344d1550cce1d13c753c400d00c2c11b97 Mon Sep 17 00:00:00 2001 From: indium114 <156162907+indium114@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:56:47 +0200 Subject: feat(themes): add catppuccin mocha theme --- static/themes/catppuccin mocha.css | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 static/themes/catppuccin mocha.css (limited to 'static/themes') diff --git a/static/themes/catppuccin mocha.css b/static/themes/catppuccin mocha.css new file mode 100644 index 0000000..c2d5ea0 --- /dev/null +++ b/static/themes/catppuccin mocha.css @@ -0,0 +1,10 @@ +:root { + --bg-main: #181825; + --bg-card: #1e1e2e; + --border: #313244; + --text-primary: #cdd6f4; + --text-secondary: #a6adc8; + --text-muted: #6c7086; + --accent: #cba6f7; + --accent-glow: rgba(255,255,255,0.1); +} -- cgit v1.3