Skip to content

Conversation

@benjaminleonard
Copy link
Collaborator

@benjaminleonard benjaminleonard commented Feb 2, 2023

There's a few edge cases where we need to use some of the base colours directly, and IMO not worth adding more complexity to the tokens to serve these. This is most useful on the RFD site and AsciiDoc styling.

This tweak adds classes like: text-theme-800.

Any unused classes should be stripped out of the production build right?

📦 Published PR as canary version: 0.13.0--canary.23.dca80e7.0

✨ Test out this PR locally via:

npm install @oxide/design-system@0.13.0--canary.23.dca80e7.0
# or 
yarn add @oxide/design-system@0.13.0--canary.23.dca80e7.0

@benjaminleonard benjaminleonard added the minor Increment the minor version when merged label Feb 2, 2023
@zephraph
Copy link
Contributor

zephraph commented Feb 2, 2023

Any unused classes should be stripped out of the production build right?

For any changes to the tailwind tokens, yes, those shouldn't impact the output CSS if they're not used. Any changes we add to a generated CSS file would be included in the production output.

@benjaminleonard benjaminleonard changed the base branch from master to p3-color-test July 27, 2023 08:21
@benjaminleonard benjaminleonard merged commit dca80e7 into p3-color-test Jul 27, 2023
@zephraph
Copy link
Contributor

🚀 PR was released in v1.0.0 🚀

@benjaminleonard benjaminleonard deleted the tw-theme-colors branch December 2, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor Increment the minor version when merged released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants