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

Add CSS variables for font weight

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 17.3.0-rc-1
    • 17.2.0
    • Flamingo Skin
    • None
    • Unknown

    Description

      Discussed on https://github.com/xwiki/xwiki-platform/pull/3873 and https://forum.xwiki.org/t/css-best-practice-dont-hard-code-font-weights/14490

      The LESS set of variables didn't include any standard value for font-weight. It only provided specific values for some elements (used in XWiki Bootswatch themes). However in a lot of cases we couldn't rely on those. That's why we want to introduce standard variables in the CSS system. This way, we won't have to hard code font-weights anymore (improves consistency and maintainability).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: