-
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(scss): importing of styles #1653
fix(scss): importing of styles #1653
Conversation
20a5b4c
to
cd82126
Compare
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.
change is ok, just wanted to make sure of unintended regression
@@ -63,7 +63,7 @@ const createPageStyleSheet = (repoName, primaryColor, secondaryColor) => { | |||
|
|||
// EditHomepage: hero button - secondary color | |||
customStyleSheet.insertRule( | |||
`.is-secondary { background-color: ${secondaryColor} !important;}`, | |||
`.is-secondary { background-color: ${secondaryColor} !important; color: #fff !important;}`, |
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.
can i check where you got this from?
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.
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.
We should check the scss file itself to see the condition.
This also requires an additional class bp-button
so the conditions aren't exactly the same
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.
This pull request has been stale for more than 30 days! Could someone please take a look at it @isomerpages/iso-engineers |
2 similar comments
This pull request has been stale for more than 30 days! Could someone please take a look at it @isomerpages/iso-engineers |
This pull request has been stale for more than 30 days! Could someone please take a look at it @isomerpages/iso-engineers |
Problem
Text colors are the same for preview + staging sites
is-Secondary change is abit scary, after doing a string search on
.is-secondary
noted that this is used for.bp-button
.bp-sec
input
textarea
select
file
help
bp-notification
navbar
bp-hero
nav bar + incols was ok
the search bar in the staging site looked alright + the files not used in blueprint.scss
For reference, in
blueprint.scss
has the following rules:Testing plan