You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SOFT-3870: resolve swatch display through @kadence/helpers KadenceColorOutput
The pop color controls painted their swatch tiles and the selected-value preview
straight from the raw swatch value, so only a literal hex (or the hardcoded
palette1..9 slugs) rendered. Delegate the final display resolution to
`KadenceColorOutput`, which routes through the `kadence.helpers.colorValue`
filter: a token reference resolves to its `var(--kb-token--<id>)`, a palette slug
to its `var(--global-*)`, and a literal (hex/rgba/var) is returned unchanged
(idempotent). This lets a consumer store a token-referencing value on a swatch
and have it render correctly in the control, without this package knowing about
any token vocabulary.
0 commit comments