Open scottcwilson opened 2 years ago
That depends on whether there's going to be some additional supporting documentation.
Your wish is my command!
This would be a great tool if it can take a .css
template, apply the coloring changes and then output a date-stamped .css
file with the consolidated changes. That way, the template's coloring styling can also be cached (it takes up a fair amount of bandwidth when it's provided in-line, as it is today).
It's not really a tool, just the ability to reference values from the admin page.
One of my pet peeves about the template is that in-line CSS. Let me mull on this a bit, as I'd prefer to have a means to produce a color-customized stylesheet that could be separately loaded and cached.
Do you want a PR that allows you to do things in stylesheets like this:
.foo { background-color: var(--ZCA_SIDEBOX_HEADER_BACKGROUND_COLOR); }
which dynamically sets the color of class foo to whatever the sidebox header background color is set to in Admin > Tools > ZCA Bootstrap Colors?