Documentation
¶
Overview ¶
Command gen emits the web theme artifacts from the single source of truth in package theme. It is invoked via `go generate ./internal/theme/...` (see the //go:generate directive in palette.go).
Two files are generated (both build artifacts, gitignored — never edit by hand):
- web/src/styles/tokens.generated.css : one html[data-theme="<name>"] block of CSS custom properties per theme.
- web/src/composables/themes.generated.ts : the theme registry (id, label, appearance) the picker UI iterates, so the list can't drift either.
Click to show internal directories.
Click to hide internal directories.