-
Notifications
You must be signed in to change notification settings - Fork 0
theme.json v1 schema and validator #5
Copy link
Copy link
Closed
Labels
area:theme-systemTheme runtime + SDKTheme runtime + SDKphase:P3-themesPhase 3 — ThemesPhase 3 — Themespriority:P0Critical — blocks the phaseCritical — blocks the phaseskill:goGo programmingGo programmingskill:tsTypeScriptTypeScripttype:featNew feature or implementation taskNew feature or implementation task
Milestone
Metadata
Metadata
Assignees
Labels
area:theme-systemTheme runtime + SDKTheme runtime + SDKphase:P3-themesPhase 3 — ThemesPhase 3 — Themespriority:P0Critical — blocks the phaseCritical — blocks the phaseskill:goGo programmingGo programmingskill:tsTypeScriptTypeScripttype:featNew feature or implementation taskNew feature or implementation task
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
Define the canonical
theme.jsonv1 JSON Schema and ship a validator used at install time, in CI, and in the admin theme installer. The schema must coversettings(color, typography, spacing, layout, border, shadow, blocks),styles,supports,patterns,customTemplates, andtemplateParts. Output is published athttps://gonext.dev/schemas/theme.json/v1.Design reference
theme.jsonSpecification)theme.json)Acceptance criteria
spacing.spacingScale(operator, increment, steps, mediumStep, unit)fontSizes[].fluid.min/max)gonext theme validate ./my-theme/theme.jsonreturns non-zero on failure with readable diagnosticsDependencies
none
Complexity
M