Repository navigation
Let a cover's own overlay settings win over the Dark overlay style - #291
Merged
Merged
Conversation
The stylesheet painted the overlay itself, so a user's overlay colour, dim and gradient never applied. It now only re-points the colour names inside a dark-overlay cover, and steps aside on a cover the editor marks light.
A cover written with the dark-overlay class had no style behind it on a site with no design applied. The theme now registers it once, so every site has it and its colour switch.
The 11 dark colour styles set no inverse-color-scheme, so they took the theme's default of dark. An inverted section on those sites then drew dark form fields and scrollbars on a light background.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Photo covers with the Dark overlay style now keep whatever overlay colour, dim or gradient someone sets on the block. Before, the stylesheet painted over those settings. The style also ships in the theme now, so it's available on every site, not just sites with a design applied.