Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25762

Use CSS variables instead of color theme Velocity variables in the distribution wizard stylesheet

    XMLWordPrintable

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

          Activity

            People

              Unassigned Unassigned
              Lucas C Charpentier Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: