Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add background elevation semantic tokens #33

Closed
wants to merge 4 commits into from

Conversation

janogarcia
Copy link
Contributor

A much simpler, cleaner implementation of background elevation semantic tokens than #32. It also doesn't introduce any breaking changes for engineers.


This PR adds the necessary architecture for supporting semantics tokens per theme. This is required for scenarios where we can't rely on 1:1/symmetrical mappings of tokens across themes, as briefly explained in PR28.

Copy link
Contributor

@germain-gg germain-gg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tokens look good to me!

However style-dictionary has issues generating the platform packages.
The names are clashing and the build needs to be fixed.

Tracked as part of element-hq/compound#88

@janogarcia
Copy link
Contributor Author

@gsouquet So we need to change this due to some Style Dictionary limitations. Also, related W3C DTCG spec issue. I'm on it.

@janogarcia
Copy link
Contributor Author

Closing it in favor of #36

@janogarcia janogarcia closed this Apr 15, 2023
@janogarcia janogarcia deleted the janogarcia/background-elevation branch April 19, 2023 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants