Opened 11 years ago
Closed 11 years ago
#30234 closed defect (bug) (fixed)
Twenty Fifteen: Add a check if the custom color is the default of the chosen color scheme.
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.1 | Priority: | normal |
| Severity: | normal | Version: | 4.1 |
| Component: | Bundled Theme | Keywords: | has-patch commit |
| Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Add a check if the custom color is the default of chosen color scheme.