[wp-trac] [WordPress Trac] #30234: Twenty Fifteen: Add a check if the custom color is the default of the chosen color scheme.
WordPress Trac
noreply at wordpress.org
Sun Nov 2 20:22:03 UTC 2014
#30234: Twenty Fifteen: Add a check if the custom color is the default of the
chosen color scheme.
---------------------------+-----------------------------
Reporter: iamtakashi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: trunk
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
Currently, `twentyfifteen_header_background_color_css()` and
`twentyfifteen_sidebar_text_color_css()` only check if the value is the
same as the default color of the default color scheme `#ffffff`,
`#333333`. This causes duplicated styles in the head when the color scheme
is not the default. Also this breaks if you choose `#ffffff` for the
sidebar color even your color scheme is dark, for example.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30234>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list