Shared design tokens, presets, and Astro components for klokie sites.
jordsang— Arbetarorkestern visual identity (warm earth, folk poster soul)klokie— Klokie default (dark, neon orange accent)
package.json:
{
"dependencies": {
"@klokie/theme": "file:../klokie-theme"
}
}astro.config.ts consumer or layout:
---
import BaseLayout from "@klokie/theme/layouts/BaseLayout.astro";
import { jordsang } from "@klokie/theme";
import "@klokie/theme/tokens/jordsang.css";
---
<BaseLayout title="Site" preset={jordsang}>
...
</BaseLayout>- New file in
src/tokens/<name>.csswith:root { --primary: ...; } - New file in
src/presets/<name>.tsexporting aThemePreset - Re-export from
src/index.ts - Add the export entry to
package.jsonexports
For now this package owns the tokens. The pptx-generator brand tokens at
vault/.claude/skills/pptx-generator/brands/klokie/colors_and_type.css should
eventually import from here; until then accept duplication.