Summary
Upgrade the existing accent-color override to a full design-token system: a JSON theme file (validated against a JSON schema) that drives every color, radius, shadow, and font in the widget via CSS custom properties.
Motivation
Clients want to match their brand precisely, not just pick an accent. A schema-validated theme file also enables the playground site to act as a visual theme editor.
Acceptance Criteria
Summary
Upgrade the existing accent-color override to a full design-token system: a JSON theme file (validated against a JSON schema) that drives every color, radius, shadow, and font in the widget via CSS custom properties.
Motivation
Clients want to match their brand precisely, not just pick an accent. A schema-validated theme file also enables the playground site to act as a visual theme editor.
Acceptance Criteria
--cl-color-accent,--cl-color-surface,--cl-radius-md,--cl-shadow-elevated, etc.)https://claudius.dev/schema/theme.v1.jsontheme: ClaudiusTheme | stringprop accepts either an object or a URL to a theme JSON filedefault,minimal,playful,corporateaccentColor-only API