From 90c438c4562793eb09358f9d1a050d2267f4fca5 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Sun, 7 Jun 2026 01:53:47 +0900 Subject: 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: - 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. --- package.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package.json') diff --git a/package.json b/package.json index 1ed3b3f..735e278 100644 --- a/package.json +++ b/package.json @@ -25,14 +25,17 @@ "devDependencies": { "@biomejs/biome": "^2.4.16", "@sveltejs/vite-plugin-svelte": "^5.0.0", + "@tailwindcss/vite": "^4.3.0", "@testing-library/jest-dom": "^6.6.0", "@testing-library/svelte": "^5.2.0", "@testing-library/user-event": "^14.6.1", "@tsconfig/svelte": "^5.0.0", + "daisyui": "^5.5.20", "fake-indexeddb": "^6.0.0", "jsdom": "^25.0.0", "svelte": "^5.0.0", "svelte-check": "^4.0.0", + "tailwindcss": "^4.3.0", "typescript": "^5.7.0", "vite": "^6.0.0", "vitest": "^3.0.0" -- cgit v1.2.3