This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
Theme color: Use dynamic variable from user preferences #4558
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.
Partially addresses #4544
Colors for buttons and various other core Gutenberg elements should get wp-admin theme colors.
Detailed test instructions:
3. Change to a new color scheme.
4. See the new colors reflected.
Note
There are still some instances of colors being overriden where they shouldn't be (breadcrumbs?), some colors need to be tweaked (date range picker), and areas where overrides need to be placed (OBW). I'd like to follow up with those fixes, this PR is just the mechanism for getting G2 colors shown.
Instead of darken, lighten I used
color
function. See https://github.com/postcss/postcss-color-function#notes-for-former-sass-usersChangelog Note: