summaryrefslogtreecommitdiffhomepage
path: root/src/app.css
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-07 01:53:47 +0900
committerAdam Malczewski <[email protected]>2026-06-07 01:53:47 +0900
commit90c438c4562793eb09358f9d1a050d2267f4fca5 (patch)
treecf858fb92464b8e2e459a1b88b76b856bb4dfe46 /src/app.css
parentc0fa581c8ac563c916948f44596ef361817dc580 (diff)
downloaddispatch-web-90c438c4562793eb09358f9d1a050d2267f4fca5.tar.gz
dispatch-web-90c438c4562793eb09358f9d1a050d2267f4fca5.zip
Slice 3 setup: Tailwind v4 + DaisyUI v5 (dracula enabled) + 'tab' vocab
- add tailwindcss@4 + @tailwindcss/vite + daisyui@5; vite tailwind plugin - src/app.css: @import tailwindcss + @plugin daisyui { themes: dracula --default } (theme BUNDLED, not just named); imported in main.ts - index.html: <html data-theme="dracula"> - biome.json: enable css tailwindDirectives so @plugin parses - GLOSSARY: define FE term 'tab' (workspace slot referencing a conversation; holds conversationId + model + title; close = local forget) Verified: dracula tokens bundled in CSS, svelte-check 0/0, vitest 222, biome clean, build ok.
Diffstat (limited to 'src/app.css')
-rw-r--r--src/app.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app.css b/src/app.css
new file mode 100644
index 0000000..37131d3
--- /dev/null
+++ b/src/app.css
@@ -0,0 +1,8 @@
+@import "tailwindcss";
+
+/* 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. */
+@plugin "daisyui" {
+ themes: dracula --default;
+}