This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-3fb6730b-95b8-41b4-8213-67b6b2dc06bb XWIKI-23060 Open

Add CSS variables for font weight

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-6c363266-80f3-495a-b3d9-2f8411854b3e Charpentier Lucas created this issue on 02/Apr/25 16:35
 
Summary: Add CSS variables for font weight
Issue Type: cid:jira-generated-image-avatar-3fb6730b-95b8-41b4-8213-67b6b2dc06bb Improvement
Affects Versions: 17.2.0
Assignee: Unassigned
Components: Flamingo Skin
Created: 02/Apr/25 16:35
Priority: cid:jira-generated-image-static-major-f7600dc9-34d5-47f7-8d80-55525d72a57d Major
Reporter: Charpentier Lucas
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).

 
 

1 update

 
cid:jira-generated-image-avatar-6c363266-80f3-495a-b3d9-2f8411854b3e Changes by Charpentier Lucas on 02/Apr/25 16:36
 
Assignee: Charpentier Lucas