This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-c36be0e3-0d30-41c1-81f9-7ee8c22a14a8 XWIKI-24394 Open

Use standard values for font weight CSS variables

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-644a39b9-d8e8-4192-9df7-76b660b046d5 Thiago Krieck created this issue on 20/May/26 19:39
 
Summary: Use standard values for font weight CSS variables
Issue Type: cid:jira-generated-image-avatar-c36be0e3-0d30-41c1-81f9-7ee8c22a14a8 Bug
Affects Versions: 18.4.0-rc-1
Assignee: Unassigned
Components: Flamingo Skin
Created: 20/May/26 19:39
Labels: consistency
Priority: cid:jira-generated-image-static-trivial-1618e488-53d7-4ede-9c0a-11e0065a1f22 Trivial
Reporter: Thiago Krieck
Description:

The current CSS variables in XWiki for bolder text are the following:

--font-weight-semibold: 700;

--font-weight-bold: 900;

However, the standard definition for semibold styles in font families is to have it at 600. While 700 is for bold properly and 900 is called a black style (meaning, even bolder).

This is affecting design proposals and implementations that use the semibold styles. 

For customizations that use fonts that don't have any semibold style in their family, the next value is used by default, so we don't have a risk of "bolder" text appearing as "regular".

Documentation explaining all values and browser behavior.

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@font-face/font-weight

 
 

1 update

 
cid:jira-generated-image-avatar-644a39b9-d8e8-4192-9df7-76b660b046d5 Changes by Thiago Krieck on 20/May/26 19:39
 
Assignee: Thiago Krieck