kuzenbo-theme-runtime
1
总安装量
1
周安装量
#76306
全站排名
安装命令
npx skills add https://github.com/kuzenbodev/kuzenbo --skill kuzenbo-theme-runtime
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
kimi-cli
1
codex
1
Skill 文档
Kuzenbo Theme Runtime
Use this skill for external app code that consumes the stable public package @kuzenbo/theme@0.0.6.
Runtime Setup
- Install:
npm install @kuzenbo/theme next-themes
- Load one prebuilt theme stylesheet at app root:
import "@kuzenbo/theme/prebuilt/kuzenbo.css";
- Add bootstrap + provider in root layout:
import { ThemeBootstrapScript, ThemeProvider } from "@kuzenbo/theme";
<ThemeBootstrapScript />
<ThemeProvider>{children}</ThemeProvider>
Theme Workflow
- Pick a prebuilt theme from
references/prebuilt-themes.md. - Use semantic tokens from
references/theme-token-families.mdinstead of hardcoded colors/z-index values. - Override tokens in CSS (
:root,.dark, or scoped container) for customization. - Use runtime helpers from
references/theme-runtime-api.mdonly when custom bootstrap behavior is required.
Guardrails
- Keep theme CSS import and provider wiring in every Kuzenbo UI runtime.
- Avoid raw palette classes when a semantic token exists.
- Prefer
cursor-clickableand z-index tokens instead of ad-hoc cursor/z-index literals. - Keep imports on the public surface (
@kuzenbo/theme,@kuzenbo/theme/theme-provider,@kuzenbo/theme/prebuilt/*.css).
References
references/prebuilt-themes.mdreferences/theme-runtime-api.mdreferences/theme-token-families.md