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
This issue was briefly discussed in Slack in connection with implementing different behavior for the Sky Nav at different breakpoints...
Background
Our design tokens live in centralized yaml files that are consumed by The Patterns. At the time of writing this, we are importing them into scss files. But we do not (yet) reference them directly in client-facing JavaScripts.
Ability to reference a design token variable in a client-facing JavaScript file
a solution for how to useem values in a JavascriptContext*
* This may be trickier than it sounds, because we're currently using fluid font sizes that scale up/down proportionally to the viewport width. So it's not as simple as multiplying by the font-size (integer) of the relevant breakpoint
The text was updated successfully, but these errors were encountered:
Related to: #718
This issue was briefly discussed in Slack in connection with implementing different behavior for the Sky Nav at different breakpoints...
Background
Our design tokens live in centralized yaml files that are consumed by The Patterns. At the time of writing this, we are importing them into
scss
files. But we do not (yet) reference them directly in client-facing JavaScripts.The tool we are currently using for abstracting tokens is Theo. However, Tyler expressed interest in this alternative as well: https://amzn.github.io/style-dictionary/#/
Def of Done
a solution for how to useem
values in a JavascriptContext** This may be trickier than it sounds, because we're currently using fluid font sizes that scale up/down proportionally to the viewport width. So it's not as simple as multiplying by the font-size (integer) of the relevant breakpoint
The text was updated successfully, but these errors were encountered: