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

Fix item color to not depend on inherit #1470

Merged
merged 2 commits into from
Sep 28, 2021
Merged

Conversation

pksjce
Copy link
Collaborator

@pksjce pksjce commented Sep 28, 2021

In #1466, we ran into an issue with dropdown menu items inheriting colors wrongly instead of picking up the theme colors.
I could not reproduce it in the storybooks, but look at original issue here

You can look at the reproduction here too
https://codesandbox.io/s/upbeat-moore-8mot8?file=/src/App.tsx

Screenshot (16)

  • Added/updated tests
  • Added/updated documentation
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Questions

  1. Need help to bump primer/react version.
  2. Not sure why I can't reproduce this in storybooks.

@pksjce pksjce requested review from a team and dgreif September 28, 2021 07:27
@changeset-bot
Copy link

changeset-bot bot commented Sep 28, 2021

🦋 Changeset detected

Latest commit: c0835f5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/components Patch

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

@github-actions
Copy link
Contributor

github-actions bot commented Sep 28, 2021

size-limit report 📦

Path Size
dist/browser.esm.js 51.71 KB (+0.01% 🔺)
dist/browser.umd.js 52 KB (+0.01% 🔺)

Copy link
Member

@siddharthkp siddharthkp left a comment

Choose a reason for hiding this comment

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

This is perfect! ✨

Copy link
Contributor

@colebemis colebemis left a comment

Choose a reason for hiding this comment

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

Woo 🎉

@colebemis colebemis merged commit f2e29a0 into main Sep 28, 2021
@colebemis colebemis deleted the issue/1433-item-color branch September 28, 2021 16:25
@primer-css primer-css mentioned this pull request Sep 28, 2021
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.

3 participants