v0.4.0 — Pluggable style profiles + 3 new community brands
Pre-release
Pre-release
What's new
Added
- Pluggable style profiles. Style references are now formal, validated, pluggable extensions:
- Profile format spec at
references/style-references/_PROFILE_FORMAT.md(v1.0): required YAML frontmatter + required body sections (## Tokens,## Patterns,## Don'ts). - Bring-your-own profile: users can now say "modernize this UI using
./our-brand.md" and ui-modernizer will load any local Markdown file conforming to the spec. - Validation script
scripts/validate-profile.mjs— runs in CI on every PR. - Listing script
scripts/list-profiles.mjs— JSON or pretty table of every available profile.
- Profile format spec at
- 3 new built-in profiles:
notion— warm, calm, generous whitespace.raycast— dark-first, dense, command-bar energy.apple— premium pill buttons, soft shadows, glass.
- New reference:
references/profile-pluggability.md— full override hierarchy (brand color > profile > design-system default), resolution rules, contribution workflow.
Changed
- All 4 existing built-in profiles (
linear,vercel,stripe,shadcn) — added required frontmatter and re-shaped to include## Tokens,## Patterns,## Don'tssections.shadcnprofile
expanded with explicit pattern snippets. SKILL.mdSection 3 — formal "Style profiles" sub-section with resolution table and validation step.- README — "Pick a vibe" code block now lists all 7 profiles + bring-your-own syntax. "Contributing" rewritten around the new 4-step profile flow.
- CI workflow — added profile validation step.
新增
- 可插拔风格 profile。风格参考升级为正式的、可验证的、可插拔扩展:
- 格式规范 v1.0 位于
references/style-references/_PROFILE_FORMAT.md:必填 YAML frontmatter + 必填章节。 - 用户自带 profile:用户可以说 "modernize this UI using
./our-brand.md",ui-modernizer 会加载任意符合规范的本地 Markdown 文件。 - 校验脚本
scripts/validate-profile.mjs—— CI 每次 PR 运行。 - 列表脚本
scripts/list-profiles.mjs—— JSON 或可读表格列出所有 profile。
- 格式规范 v1.0 位于
- 3 个新增内置 profile:
notion、raycast、apple。 - 新增参考文档:
references/profile-pluggability.md—— 完整 override 优先级、解析规则、贡献流程。
改动
- 4 个老 profile(
linear、vercel、stripe、shadcn)补齐 frontmatter,改造为## Tokens/## Patterns/## Don'ts结构。 SKILL.md第 3 节"Style profiles"小节正式化,含解析表。- README "Pick a vibe" 列出全部 7 个 profile + 自带语法;"Contributing" 改为新流程。
- CI workflow 加入 profile 校验步骤。