Skip to content

Conversation

zephraph
Copy link
Contributor

@zephraph zephraph commented Nov 3, 2022

We discussed this today in chat. I had a bit of a misunderstanding about how tokens worked and sort of encouraged the wrong approach. This is my attempt to correct that.

Changes

  • Changes the elevation tokens to be named boxShadow
  • Updates the elevationUtilities to include background-color. This is hard-coded in the generator which probably isn't the best but it works for now. We may be able to eventually use compositional tokens for this.
  • Removes borderRadius tokens from color themes when it only needs to be in the main theme
📦 Published PR as canary version: 0.4.0--canary.14.31cbf49.0

✨ Test out this PR locally via:

npm install @oxide/design-system@0.4.0--canary.14.31cbf49.0
# or 
yarn add @oxide/design-system@0.4.0--canary.14.31cbf49.0

@zephraph zephraph added the minor Increment the minor version when merged label Nov 3, 2022
@benjaminleonard
Copy link
Collaborator

I moved boxShadow into global rather than theme. That way it's with more of it's friends.

@zephraph zephraph merged commit 540253d into master Nov 7, 2022
@zephraph
Copy link
Contributor Author

zephraph commented Nov 7, 2022

🚀 PR was released in v0.4.0 🚀

@benjaminleonard benjaminleonard deleted the add-bg-to-elevation branch December 2, 2024 17:48
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.

2 participants