docs(design): restart dev servers after a Tailwind preset change

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 12:28:02 +02:00
co-authored by Claude Opus 5.5
parent 6f4ab23582
commit fd917797a7
+1
View File
@@ -75,3 +75,4 @@ The manager's own building blocks (until they move to `@xenia/ui`): `Panel`, `Ta
2. `npm test -w @xenia/ui` (contrast in every look) passes. 2. `npm test -w @xenia/ui` (contrast in every look) passes.
3. `node tests/e2e/manager_layout.mjs` passes; look at its screenshots in `tests/e2e/out/manager-layout/`. 3. `node tests/e2e/manager_layout.mjs` passes; look at its screenshots in `tests/e2e/out/manager-layout/`.
4. Live preview while working: `npx vite --port 5184` in `manager_dashboard/` (hot reload, uses the running backend on :8000; touches nothing in Docker). 4. Live preview while working: `npx vite --port 5184` in `manager_dashboard/` (hot reload, uses the running backend on :8000; touches nothing in Docker).
**After a change to `packages/ui/tailwind-preset.js`, restart every running dev server.** Vite reloads CSS and components, but Tailwind reads the preset only at start: a server started before the change never makes the new classes (`p-card`, `text-overline`, `max-w-page` …), and cards lose all their padding.