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
fix(design-system): drop Progress's component-scoped custom property (#664)
The Progress fill used a component-private `--ul-progress-fill` custom
property, re-pointed per `data-level` to map the three bands onto existing
tokens. It's the only place the design system *declares* a `--ul-*` custom
property outside `:root`, which claude.ai/design's `check_design_system`
flags as a mis-scoped token.
Thread the per-level color through `color` / `currentColor` instead: one
source of truth still feeds both the fill and the dither cap, the render is
unchanged, and no custom property is declared on a component selector. Add a
`.design-sync/NOTES.md` convention so future syncs don't reintroduce the
pattern or "fix" the finding by hoisting to `:root` (which the per-instance
value can't support).
0 commit comments