Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
17.10.15
-
None
-
Unknown
-
Description
Part of the removal of the color theme Velocity variables ($theme, loaded with colorThemeInit.vm) from the stylesheets of XWiki Standard, following XWIKI-25649. The CSS variables introduced by XWIKI-22667 expose the same colors.
Three places use color theme Velocity variables in a context that needs more than a one to one replacement:
- uicomponents/widgets/notification.css: the four notification colors are stored in a Velocity list and the rules are generated by a Velocity loop.
- print.css of the Flamingo skin: textPrimaryColor is used in the print styles.
- init.vm: highlightColor is used in the inline style of the job log.
We should replace these 6 usages with CSS variables, after checking for each that the CSS variables are available where the style applies, in particular for the print view and the PDF export.
Visible change: none expected beyond small color differences.
Attachments
Issue Links
- relates to
-
XWIKI-25649 Use CSS variables instead of color theme Velocity variables in the Solr search stylesheet
-
- Closed
-