-
Notifications
You must be signed in to change notification settings - Fork 10
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
[WB-1849] Rework action semantic color tokens #2428
base: main
Are you sure you want to change the base?
Conversation
…tions to use a new structure. Every `action` now includes `default`, `hover` and `press` states, and each state includes `border`, `background` and `foreground` tokens.
🦋 Changeset detectedLatest commit: a036e68 The changes in this PR will be included in the next version bump. This PR includes changesets to release 23 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
GeraldRequired Reviewers
Don't want to be involved in this pull request? Comment |
npm Snapshot: Published🎉 Good news!! We've packaged up the latest commit from this PR (bc4b80b) and published all packages with changesets to npm. You can install the packages in webapp by running: ./services/static/dev/tools/deploy_wonder_blocks.js --tag="PR2428" Packages can also be installed manually by running: yarn add @khanacademy/wonder-blocks-<package-name>@PR2428 |
Size Change: +153 B (+0.16%) Total Size: 96.6 kB
ℹ️ View Unchanged
|
A new build was pushed to Chromatic! 🚀https://5e1bf4b385e3fb0020b7073c-ynptnqxkbs.chromatic.com/ Chromatic results:
|
Summary:
Reworked
semanticColor
actions to use a new structure. Everyaction
nowincludes
default
,hover
andpress
states, and each state includesborder
,background
andforeground
tokens.By doing this change, we'll offer a more consistent and predictable styling
direction for our interactive components.
Issue: https://khanacademy.atlassian.net/browse/WB-1849
Test plan:
Navigate to
/?path=/docs/foundations-using-color--docs
and check that theAction
section includes all the new tokens and the structure is readable andmakes sense.