Opened 12 years ago
Closed 12 years ago
#30192 closed enhancement (wontfix)
Twenty Fifteen: use (and calculate) hex colors instead of opacity/rgba
| Reported by: | celloexpressions | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Bundled Theme | Version: | 4.1 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: |
Description
Using opacity and rgba colors for text colors to facilitate secondary colors and colorschemes is a bit hacky, and results in inconsistent results. It also makes it difficult to understand the color patterns of the theme at a first glance, which is important for anyone looking to make customizations or a child theme. We can just as easily calculate the alternate colors dynamically when generating the colorschemes, and cache the resulting css rather than running it on every load.
I have a patch for this in my head, although I probably won't have time to write it out for a couple days. I'm also back and forth on whether it's worth making this change given our timeline, but I think it'll make the theme easier to work with and let us clean up some code.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Also see #30166.