Skip to content

docs(brand): DESIGN.md house-style layer + AI-guide wiring#88

Merged
kiyeonjeon21 merged 1 commit into
mainfrom
docs/design-md-brand
Jun 22, 2026
Merged

docs(brand): DESIGN.md house-style layer + AI-guide wiring#88
kiyeonjeon21 merged 1 commit into
mainfrom
docs/design-md-brand

Conversation

@kiyeonjeon21

Copy link
Copy Markdown
Owner

Phase 0 of a design-layer roadmap. Docs only, no engine change (golden-safe).

Why

reframe has no shared brand layer, so every scene re-declares its own palette (gradient-demo.ts:14, annual-report.ts:18, …) and the AI generator invents a fresh one each time it writes a scene. Research surfaced the DESIGN.md convention (machine-readable tokens + rationale that coding agents read to stay on-brand) and the W3C design-tokens spec (which now includes a motion category).

What

  • DESIGN.md at the repo root, naming the de-facto values already used across the scenes as canonical: primary accent #FF4D00, secondary #00C2A8, bg #0A0C14, fg #FFFFFF, the Inter type scale, a Balanced motion tone (easeOutCubic base, easeOutBack entrances, energy 0.5), and the bgm/sfx palette. Motion-first, since reframe's brand spans easing/duration/energy and sound, not just color/type.
  • docs/guides/edsl-guide.md gets a compact "Brand / house style" section (printed by reframe guide, bundled in npm) so generated scenes follow the brand.
  • plugin/skills/reframe/SKILL.md gets a house-style fallback note; a user-supplied brief always overrides.
  • plugin 0.1.110.1.12 (required by the SKILL.md edit).

Out of scope (later phases)

Phase 1 = a theme() tokens-in-code layer + refactor scenes to use it. Phase 2 = an IR-level SceneIR.design field, overlay-addressable, with render --theme and per-brand batch. Every token in DESIGN.md is traceable to a real source (e.g. titles.ts:113 for the #FF4D00 lowerThird default), no invented values.

Verification

  • reframe guide prints the new Brand section; typecheck clean; a frame still renders (engine unchanged); no em-dash, no commercial-product name in the doc.

Note: the skill reaches marketplace users on push; an npm/Agent-SDK consumer loading the bundled skill would pick this up on the next reframe-video publish (optional).

🤖 Generated with Claude Code

reframe had no shared brand layer, so every scene re-declared its own palette
and the AI generator invented a fresh one each time. Add DESIGN.md at the root
(the design-tokens convention coding agents read), naming the de-facto values
already used across the scenes as canonical: primary accent #FF4D00, secondary
#00C2A8, bg #0A0C14, fg #FFFFFF, Inter type scale, and a Balanced motion tone
(easeOutCubic base, easeOutBack entrances, energy 0.5), plus an audio palette.
Motion-first, since reframe's brand spans easing/duration/energy and sound,
not just color and type.

Wire it into the generation surface so generated scenes follow it: a compact
"Brand / house style" section in the eDSL guide (printed by `reframe guide`,
bundled in npm) and a house-style fallback note in the plugin skill. A
user-supplied brief always overrides the defaults.

Docs only, no engine change (golden-safe). This is Phase 0 of a design-layer
roadmap; a theme()/token-in-code layer and an IR-level overlay-addressable
theme are deliberate later phases.

Bumps the plugin to 0.1.12 (the SKILL.md edit requires it).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jun 22, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
reframe 🟢 Ready View Preview Jun 22, 2026, 12:48 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@kiyeonjeon21 kiyeonjeon21 merged commit 11a74a1 into main Jun 22, 2026
2 checks passed
@kiyeonjeon21 kiyeonjeon21 deleted the docs/design-md-brand branch June 22, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant