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

Restore foreground color rules #2153

Merged
merged 2 commits into from
Jun 19, 2020
Merged

Conversation

kjellr
Copy link
Contributor

@kjellr kjellr commented Jun 18, 2020

#1966 and #1944 made some changes to foreground color rules when a preset background color was selected. This led to existing sites changing appearance, even when custom colors were not active.

This PR restores some of those rules, in order to restore the previous appearance. It also modifies the custom color rules to properly override these changes.

If this looks right, we should apply these same changes to Varia as well as to Coutoire and Alves. I can spin up PRs for those after this one lands.

Screenshot

The following screenshots were taken with the Rivington default homepage.

Before (Default Colors)

kjellreigstad wordpress com_ (6)

After (Default Colors)

kjellreigstad wordpress com_ (2)


Before (Custom Colors)

kjellreigstad wordpress com_ (5)

After (Custom Colors)

kjellreigstad wordpress com_ (7)

@kjellr kjellr added the [Type] Bug Something isn't working label Jun 18, 2020
@kjellr kjellr requested review from ianstewart and allancole June 18, 2020 22:07
@kjellr kjellr self-assigned this Jun 18, 2020
@ianstewart
Copy link
Contributor

I tested a patch on my sandbox that fixes this …

image

And it's now working as expected.

@kjellr
Copy link
Contributor Author

kjellr commented Jun 19, 2020

Thank you! This is deployed, and I'll work on fixing up Varia, Coutoire, and Alves too.

@kjellr kjellr merged commit b0cf868 into master Jun 19, 2020
@kjellr kjellr deleted the rivington/fix-foreground-colors branch June 19, 2020 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants