[wp-trac] [WordPress Trac] #45928: Twenty Nineteen: Add a filter to the $primay_color variable
WordPress Trac
noreply at wordpress.org
Thu Jan 10 22:21:51 UTC 2019
#45928: Twenty Nineteen: Add a filter to the $primay_color variable
-------------------------+-------------------------------------
Reporter: allancole | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: has-patch needs-testing
Focuses: |
-------------------------+-------------------------------------
There should be a filter added to the `$primary_color` variable, so that
child-themes and plugins can override the built-in default primary color
if they choose. Currently, saturation, lightness, and selected text-color
can all be filtered. Once the primary color is also filterable, it’ll
allow for child themes and plugins to fully customize the color dynamics
in the theme.
See: https://core.trac.wordpress.org/browser/trunk/src/wp-
content/themes/twentynineteen/inc/color-patterns.php#L15
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45928>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list