diff options
| author | frosty <gabriel@bwaaa.monster> | 2026-05-10 00:00:08 -0400 |
|---|---|---|
| committer | frosty <gabriel@bwaaa.monster> | 2026-05-10 00:00:08 -0400 |
| commit | 3c856f93ed3d1362a8b6190d9ce44b2939fca717 (patch) | |
| tree | f98a84d341b7b1739b573441e29cd366e04ea7b4 /static/themes | |
| parent | ba6dae676a5c268d6b4265d26b9556ba1cfa6923 (diff) | |
| download | omnisearch-3c856f93ed3d1362a8b6190d9ce44b2939fca717.tar.gz | |
feat(wip): load themes dynamically from static/themes/*.css
Diffstat (limited to 'static/themes')
| -rw-r--r-- | static/themes/dark.css | 10 | ||||
| -rw-r--r-- | static/themes/light.css | 10 | ||||
| -rw-r--r-- | static/themes/system.css | 22 |
3 files changed, 42 insertions, 0 deletions
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 |
