adobe/spectrum-css

The value between Thin and Ultra-Thin are swapped

Closed this issue · 1 comments

--spectrum-global-font-weight-thin: 100;
--spectrum-global-font-weight-ultra-light: 200;

👋🏻 Hey @aaron-david, thanks for reporting this. We've actually begun to migrate away from the custom properties you've mentioned above, and will no longer be supporting (or updating) those older values.

Our new token values are derived from @adobe/spectrum-tokens: https://www.npmjs.com/package/@adobe/spectrum-tokens & you can see what values we'll be supporting by checking that package's JSON here.

With regard to Spectrum CSS and the custom properties we generate out of that, here's an example of what those font weights look like: https://unpkg.com/browse/@spectrum-css/tokens@10.0.0/dist/index.css#L1393