-
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
Fix icon color on secondary and tertiary buttons (hover) #2297
Conversation
🦋 Changeset detectedLatest commit: 24109b6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 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 (5f611b2) 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="PR2297" Packages can also be installed manually by running: yarn add @khanacademy/wonder-blocks-<package-name>@PR2297 |
Size Change: +4 B (0%) Total Size: 96 kB
ℹ️ View Unchanged
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2297 +/- ##
==========================================
+ Coverage 94.50% 95.84% +1.33%
==========================================
Files 254 254
Lines 30477 30479 +2
Branches 1719 2460 +741
==========================================
+ Hits 28803 29212 +409
+ Misses 1669 1256 -413
- Partials 5 11 +6
... and 44 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
A new build was pushed to Chromatic! 🚀https://5e1bf4b385e3fb0020b7073c-ydmgxcemue.chromatic.com/ Chromatic results:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice fix! 😄
Summary:
While working on some other changes, I noticed that the icon color on secondary
and tertiary buttons was not being set correctly. This PR fixes that issue by
setting the icon color to the same color as the text.
Issue: XXX-XXXX
Test plan:
Navigate to /?path=/story/packages-button--icon
Hover over the secondary and tertiary buttons
Verify that the icon color on secondary and tertiary buttons is the same as the
text color
BEFORE
Screen.Recording.2024-08-22.at.1.05.24.PM.mov
AFTER
Screen.Recording.2024-08-22.at.1.10.19.PM.mov