Minor Changes
-
0c105dd: Brand Kits can store a design system's own named tokens, not just the seven color roles.
BrandKitData.tokensholds{ name, cssVar, value, type, group?, source? }entries so an imported system keeps the vocabulary its team actually uses (interactive-01,md-sys-color-primary-container) instead of being squashed intoprimary/secondary/accent. A new@agent-native/core/brand-kit/tokenssubpath exports the pure helpers:normalizeBrandKitTokens(which reports rejected entries rather than silently storing a subset),parseBrandKitTokensFromCss,resolveBrandKitTokens,brandKitRoleTokens,groupBrandKitTokens,classifyBrandKitToken, and the canonicalisSafeCssVarName/isSafeCssTokenValuepredicates.Kits with no stored
tokensfall back to the names theircustomCSSdeclares, so existing Brand Kits gain named tokens without a migration.