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 color scheme overrides #4

Merged
merged 1 commit into from
Jan 2, 2020

Conversation

adierkens
Copy link
Collaborator

When a non-default theme is trying to override the color value of a default dark/light theme, the generated classnames to set the css var are wrong.

Since the assumption is that the color-scheme class and the theme class are all on the same element, they need to use a single selector, not the nested one (the space in the current output).

@adierkens adierkens added the patch Increment the patch version when merged label Jan 2, 2020
@tylerkrupicka tylerkrupicka merged commit 5a7b8b8 into intuit:master Jan 2, 2020
@hipstersmoothie
Copy link
Contributor

🚀 PR was released in v1.0.1 🚀

@adierkens adierkens deleted the color-scheme-override branch January 2, 2020 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants