diff options
| author | Adam Malczewski <[email protected]> | 2026-06-07 14:07:12 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-07 14:07:12 +0900 |
| commit | 7769c61faea446d4bd2ae6d400314aa433d405e8 (patch) | |
| tree | 1fde782399f0014cfdbf822662ba9a673f81892a /.dispatch/rules | |
| parent | 4d107d45cc1c559551538603e8a51730d3372fc1 (diff) | |
| download | dispatch-web-7769c61faea446d4bd2ae6d400314aa433d405e8.tar.gz dispatch-web-7769c61faea446d4bd2ae6d400314aa433d405e8.zip | |
docs(harness): add frontend-styling rule + parallel-build verify caveat
- add .dispatch/rules/frontend-styling.md (DaisyUI v5 + dracula; thin components)
- package-agent: verify section explains whole-project svelte-check under
parallel builds (judge only YOUR files)
Diffstat (limited to '.dispatch/rules')
| -rw-r--r-- | .dispatch/rules/frontend-styling.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.dispatch/rules/frontend-styling.md b/.dispatch/rules/frontend-styling.md new file mode 100644 index 0000000..e123619 --- /dev/null +++ b/.dispatch/rules/frontend-styling.md @@ -0,0 +1,12 @@ +# Rule: styling is DaisyUI v5 + the dracula theme (UI units only) + +The global stylesheet already enables **DaisyUI v5** with the **dracula** theme +(`data-theme` on `<html>`). Do NOT add or change theme config, re-import Tailwind/DaisyUI, +or hand-roll a design system — just apply DaisyUI / Tailwind utility classes in your +`.svelte` files (e.g. `select`, `textarea`, `btn btn-primary`, `tabs`, `chat chat-start` / +`chat-end` + `chat-bubble`). + +Keep components THIN: a `.svelte` file wires props/events to pure logic and applies classes +— it holds NO business logic (that stays in `logic/` / the reducer). Render plain semantic +HTML decorated with classes. biome lints `.ts`/`.js` only; `.svelte` correctness is +`svelte-check`'s job. |
