Skip to content

Conversation

@JonasBa
Copy link
Member

@JonasBa JonasBa commented Dec 10, 2025

In a similar notion as the theme.textColor change, we are migrating away from top level theme properties to the use of semantic tokens.

Going forward, the best way to use this is through the <Container background="primary"/> component or its Flex, Stack or Grid supersets. For dynamic background usages, please continue to use styled with access to theme.tokens.background.primary. In the future, we will provide the primitives for this as well, but we are deferring implemnetation until we see more patterns emerge (if you have thoughts on the API design, please let the design engineering know)

Ref DE-331

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 10, 2025
@linear
Copy link

linear bot commented Dec 10, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants