View Issue Details

IDProjectCategoryView StatusLast Update
0004160Composrthemewizardpublic2021-03-15 18:46
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status closedResolutionwon't fix 
Product Version 
Fixed in Version 
Summary0004160: Rework Theme Wizard to use CSS color equations
DescriptionCSS is getting support for calculating colors at run-time:

https://www.w3.org/TR/2020/WD-css-color-5-20200303/

This means we don't need to do it in Tempcode anymore.

I also wonder if it is possible for the image manipulations we do to be done in CSS now, or for those images to be CSS-generated to start with. Probably not in all cases, but worth investigating.

Of course we need to wait for browsers to implement the new CSS functionality.
TagsNo tags attached.
Time estimation (hours)32
Sponsorship open

Activities

Chris Graham

2021-03-15 18:46

administrator   ~0007015

Now that the colours are moved out to _colours.css, there's no worry about unnecessary overriding done by the Theme Wizard. And pre-computing is more flexible (we're not limiting to CSS spec) and performant.

Less images are overridden by the Theme Wizard. I don't think it's good to try and re-tint them in CSS. Not performant, and makes it harder for the user to tweak them themselves.

Issue History

Date Modified Username Field Change
2020-03-03 12:52 Chris Graham New Issue
2021-03-15 18:46 Chris Graham Assigned To => Chris Graham
2021-03-15 18:46 Chris Graham Status non-assigned => closed
2021-03-15 18:46 Chris Graham Resolution open => won't fix
2021-03-15 18:46 Chris Graham Note Added: 0007015