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.
uicomponents/extension/distribution.css uses the color theme Velocity variables in two ways:
- A Velocity condition on headerBackgroundImage picks the background of the wizard header: the header image of the color theme when there is one, header.png otherwise.
- borderColor is used for a border.
We should replace both with CSS variables. The header image needs care: --xwiki-page-header-bg-image is set to an empty string when the color theme has no image, so a plain var() fallback to header.png never applies.
Visible change: none expected.
Attachments
Issue Links
- relates to
-
XWIKI-25649 Use CSS variables instead of color theme Velocity variables in the Solr search stylesheet
-
- Closed
-