Allow minor customizations in default theme
Hi, in 8.1 we have a customer that would like to have a different font.
They like all the changes, but they would like just a different font.
As this case, there can be many cases where a minor change is requested, and the actual approach is to create and maintain in sync a full theme with all the icons and zul files.
The proposed change is to allow creating a fragment for the default theme with just the changes.
The change is really simple, just add this line at the end of theme.css.dsp:
That file doesn't exist in core, but is intended to create fragments with minor customizations.
We tested with this simple plugin:
and it worked fine.
For reference the file theme/default/css/fragment/custom.css.dsp in the fragment just contains these lines:
Updated the attached example
hi , will try it out. perhaps just a timing issue.
Sharing here my attempt to make a conditional include, but unfortunately didn't work:
I noticed the following message in the log every time you land on the login Page (at startup and when you logout)
21:19:38.347===========> InterpreterServlet.error: Not found: /theme/default/css/fragment/custom.css.dsp