github BuilderIO/agent-native @agent-native/core@0.140.0

latest releases: clips-nightly-v0.1.514-0, v0.1.150-nightly.437, clips-nightly-v0.1.513-0...
3 months ago

Minor Changes

  • 0c105dd: Brand Kits can store a design system's own named tokens, not just the seven color roles.

    BrandKitData.tokens holds { 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 into primary/secondary/accent. A new @agent-native/core/brand-kit/tokens subpath exports the pure helpers: normalizeBrandKitTokens (which reports rejected entries rather than silently storing a subset), parseBrandKitTokensFromCss, resolveBrandKitTokens, brandKitRoleTokens, groupBrandKitTokens, classifyBrandKitToken, and the canonical isSafeCssVarName / isSafeCssTokenValue predicates.

    Kits with no stored tokens fall back to the names their customCSS declares, so existing Brand Kits gain named tokens without a migration.

Don't miss a new agent-native release

NewReleases is sending notifications on new releases.