summaryrefslogtreecommitdiffhomepage
path: root/src/app.css
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-22 16:03:06 +0900
committerAdam Malczewski <[email protected]>2026-06-22 16:03:06 +0900
commit56c6ed01f12d94439065258f8d0c3a46d4efd58d (patch)
tree9561f1fe0c892f3f80ac4fad282910be2f8434d8 /src/app.css
parent1b514ed6ac12008c616b10bfe0e9654857612b26 (diff)
downloaddispatch-web-56c6ed01f12d94439065258f8d0c3a46d4efd58d.tar.gz
dispatch-web-56c6ed01f12d94439065258f8d0c3a46d4efd58d.zip
feat: switch theme from dracula to monokai (custom)
Replace dracula with a custom monokai theme (from dachinat/daisyui-themes, with modifications: all -content colors set to black, base-300 changed to #3b3a3a). Dracula is unloaded; monokai is the sole bundled theme and default. Also adds .env.development (dev ports 24203/24205) and .env.production (arch ports 24991/24990) so Vite uses the correct backend per mode. Excludes src/themes/ from biome (third-party CSS). 683 tests green.
Diffstat (limited to 'src/app.css')
-rw-r--r--src/app.css11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/app.css b/src/app.css
index 2c30b5f..4c59d90 100644
--- a/src/app.css
+++ b/src/app.css
@@ -2,11 +2,14 @@
/* Syntax-highlight theme for fenced code blocks in rendered Markdown. */
@import "highlight.js/styles/atom-one-dark.min.css";
-/* DaisyUI v5 — enable the plugin AND bundle the dracula theme (set as default,
- applied via <html data-theme="dracula">). Themes not listed here are NOT
- bundled, so dracula must be named explicitly, not merely referenced. */
+/* Custom monokai theme — must be imported BEFORE the @plugin block. */
+@import "./themes/monokai.css";
+
+/* DaisyUI v5 — enable the plugin AND bundle the monokai theme (set as default,
+ applied via <html data-theme="monokai">). Themes not listed here are NOT
+ bundled, so monokai must be named explicitly, not merely referenced. */
@plugin "daisyui" {
- themes: dracula --default;
+ themes: monokai --default;
}
/* Rendered-Markdown (assistant messages) typography — scoped to .markdown-body