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

color-mode mixin fix for keyboard toggle #1286

Merged
merged 5 commits into from
Mar 31, 2021
Merged

color-mode mixin fix for keyboard toggle #1286

merged 5 commits into from
Mar 31, 2021

Conversation

jonrohan
Copy link
Member

In #1261 I missed fixing the color-mode mixin as well.

The problem is if we're letting the configuration data-color-mode="light" data-light-theme="dark" then we have variables/code added with the mixin that never reaches that selector.

For example:

Before After
image image
image image

/cc @primer/ds-core

@changeset-bot
Copy link

changeset-bot bot commented Mar 30, 2021

🦋 Changeset detected

Latest commit: 1a78bc8

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

This PR includes changesets to release 1 package
Name Type
@primer/css 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

@vercel
Copy link

vercel bot commented Mar 30, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/primer/primer-css/6dcvzuuXmnKXr7x3kzM3HivDq7EH
✅ Preview: https://primer-css-git-colormixin-primer.vercel.app

@vercel vercel bot temporarily deployed to Preview March 30, 2021 20:02 Inactive
@vercel vercel bot temporarily deployed to Preview March 30, 2021 20:07 Inactive
@vercel vercel bot temporarily deployed to Preview March 30, 2021 20:11 Inactive
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.

2 participants