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(scss): importing of styles #1653

Merged

Conversation

kishore03109
Copy link
Contributor

@kishore03109 kishore03109 commented Nov 6, 2023

Problem

Text colors are the same for preview + staging sites
Screenshot 2023-11-06 at 4 52 29 PM

Screenshot 2023-11-06 at 4 52 15 PM

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:

Screenshot 2023-11-10 at 4 28 03 PM

Testing plan

@kishore03109 kishore03109 force-pushed the IS-631-Button-text-in-hero-banner-lacks-contrast branch from 20a5b4c to cd82126 Compare November 6, 2023 08:51
Copy link
Contributor

@seaerchin seaerchin left a 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;}`,
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Screenshot 2023-11-09 at 1 06 21 PM
hmm am worried about regression too, got it from this line here. is this sound?

Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

to be clear thats from the live site, the one in our preview is here!
Screenshot 2023-11-10 at 4 20 51 PM

@mergify mergify bot requested a review from a team January 4, 2024 09:57
Copy link

mergify bot commented Jan 4, 2024

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
Copy link

mergify bot commented Feb 3, 2024

This pull request has been stale for more than 30 days! Could someone please take a look at it @isomerpages/iso-engineers

Copy link

mergify bot commented Mar 4, 2024

This pull request has been stale for more than 30 days! Could someone please take a look at it @isomerpages/iso-engineers

@kishore03109 kishore03109 merged commit c7bb586 into develop Mar 13, 2024
6 checks passed
@mergify mergify bot deleted the IS-631-Button-text-in-hero-banner-lacks-contrast branch March 13, 2024 07:16
@dcshzj dcshzj mentioned this pull request Mar 14, 2024
3 tasks
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