diff --git a/CLAUDE.md b/CLAUDE.md index ba3e31c..efff3b1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -54,8 +54,20 @@ Prefer separate, human-readable `.html` files over inlined HTML strings in Go. E - Do not inline JS in templates or merge unrelated features into one file - `ALT+SHIFT` is the modifier for all keyboard shortcuts — do not introduce others - Editor toolbar buttons use `data-action` + `data-key`; adding `data-key` auto-registers the shortcut -- Prefer generic, descriptive CSS classes (`btn`, `btn-small`, `muted`, `danger`) over element-specific names (`save-button`, `cancel-button`, `form-name-input`). Use a modifier + base class pattern (`btn btn-small`) rather than one-off classes that duplicate shared styles. -- Where possible, re-use existing CSS classes + +### CSS / HTML — Pico CSS + +[Pico CSS](https://picocss.com) is the styling framework. Strictly stay within it. + +- Do not add other CSS frameworks, utility libraries, or icon fonts. +- Prefer pico's **class-less semantic HTML**: `