I’m currently upgrading my custom UI app to use design tokens. So far, everything is working well- colors and spacing tokens are applied correctly, and the dark/light mode toggle functions smoothly. However, I’m running into issues specifically with typography tokens.
Confluence has already transitioned to the new theming system, and to avoid constantly adjusting our custom styles, I want to rely on typography tokens to streamline the process.
Here are some screenshots showing how I’ve implemented typography tokens and set the typography theme in the code:
Here screenshots demonstrating how I use the typography tokens in my code and set the typography theme.
After deploying and inspecting the result, it seems the typography token isn’t being recognized:
Am I missing something here, or could this be a bug?
For context, I’m using @atlaskit/tokens@4.8.0
, and according to the documentation, this should be supported: