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

Split stylesheets to fix contrast bug #2174

Merged
merged 1 commit into from
Feb 1, 2017
Merged

Split stylesheets to fix contrast bug #2174

merged 1 commit into from
Feb 1, 2017

Conversation

jpellizzari
Copy link
Contributor

Fixes #2165

The conversion to Sass stylesheets in #2141 introduced a bug where contrast mode did not change. This is a result of Sass not handling re-assigned variables the same way Less does. This PR splits .scss files into a _base.scss and _variables.scss, both of which are used for 'normal' mode. The _contrast-overrides.scss file will be loaded by the contrast.scss file only.

@fbarl Could you take a look please?

@jpellizzari jpellizzari requested a review from fbarl January 31, 2017 23:19
Copy link
Contributor

@fbarl fbarl left a comment

Choose a reason for hiding this comment

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

Works well and LGTM!

@fbarl fbarl merged commit ceacc27 into master Feb 1, 2017
@jpellizzari jpellizzari deleted the 2165-contrast branch February 1, 2017 17:26
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