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
commit1df0831551a06496294ea40f9001bf3a86f1bc09 (patch)
tree539aae543c94e0c366d372307a62b54ed9160050 /src/app.css
parent0c7e7ceae36930e87fc30993f18e30cf54888295 (diff)
downloaddispatch-web-1df0831551a06496294ea40f9001bf3a86f1bc09.tar.gz
dispatch-web-1df0831551a06496294ea40f9001bf3a86f1bc09.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