33 --fonts-proportional : -apple-system, "Segoe UI" , system-ui, Roboto, "Helvetica Neue" , Arial;
44 --fonts-monospace : ui-monospace, SFMono-Regular, "SF Mono" , Menlo, Monaco, Consolas, "Liberation Mono" , "Courier New" , monospace, var (--fonts-emoji );
55 --fonts-emoji : "Apple Color Emoji" , "Segoe UI Emoji" , "Noto Color Emoji" , "Twemoji Mozilla" ;
6- /* "font-weight: bold" starts from 700, some fonts do not provide "bolding" for weight 600. */
7- /* But some users consider "700" is too heavy, so use 601, which is when Segoe UI on Linux */
8- /* starts bolding. */
9- --font-weight-bold : 601 ;
6+ /* font weights - use between 400 and 600 for general purposes */
7+ --font-weight-light : 300 ;
8+ --font-weight-normal : 400 ;
9+ --font-weight-medium : 500 ;
10+ --font-weight-semibold : 600 ;
1011 /* backgrounds */
1112 --checkbox-mask-checked : url ('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1 -1 18 18" width="16" height="16"><path fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path></svg>' );
1213 --checkbox-mask-indeterminate : url ('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M2 7.75A.75.75 0 012.75 7h10a.75.75 0 010 1.5h-10A.75.75 0 012 7.75z"></path></svg>' );
218219h4 ,
219220h5 ,
220221h6 {
221- font-weight : var (--font-weight-bold );
222+ font-weight : var (--font-weight-semibold );
222223}
223224
224225body {
@@ -891,7 +892,7 @@ a.label,
891892.ui .dropdown .menu .active .item {
892893 color : var (--color-text );
893894 background : var (--color-active );
894- font-weight : normal;
895+ font-weight : var ( --font-weight- normal) ;
895896}
896897
897898/* fix misaligned images in webhook dropdown */
@@ -1436,7 +1437,7 @@ img.ui.avatar,
14361437}
14371438
14381439.ui .form .ui .button {
1439- font-weight : normal;
1440+ font-weight : var ( --font-weight- normal) ;
14401441}
14411442
14421443.ui .floating .label {
@@ -1494,7 +1495,7 @@ img.ui.avatar,
14941495}
14951496
14961497.ui .text .normal {
1497- font-weight : normal;
1498+ font-weight : var ( --font-weight- normal) ;
14981499}
14991500
15001501.ui .text .italic {
@@ -1509,7 +1510,7 @@ img.ui.avatar,
15091510}
15101511
15111512.ui .text .thin {
1512- font-weight : normal;
1513+ font-weight : var ( --font-weight- normal) ;
15131514}
15141515
15151516.ui .text .middle {
@@ -1546,7 +1547,7 @@ img.ui.avatar,
15461547}
15471548
15481549.ui .normal .header {
1549- font-weight : normal;
1550+ font-weight : var ( --font-weight- normal) ;
15501551}
15511552
15521553.ui .form .autofill-dummy {
@@ -1565,7 +1566,7 @@ img.ui.avatar,
15651566 font-family : var (--fonts-monospace );
15661567 font-size : 13px ;
15671568 padding : 6px 10px 4px ;
1568- font-weight : normal;
1569+ font-weight : var ( --font-weight- normal) ;
15691570 margin : 0 6px ;
15701571}
15711572
@@ -1592,7 +1593,7 @@ img.ui.avatar,
15921593
15931594.ui .inline .delete-button {
15941595 padding : 8px 15px ;
1595- font-weight : normal;
1596+ font-weight : var ( --font-weight- normal) ;
15961597}
15971598
15981599.ui .background .red {
@@ -1736,7 +1737,7 @@ img.ui.avatar,
17361737}
17371738
17381739.scrolling .menu .item .selected {
1739- font-weight : var (--font-weight-bold ) !important ;
1740+ font-weight : var (--font-weight-semibold ) !important ;
17401741}
17411742
17421743.ui .dropdown .scrolling .menu {
@@ -2486,7 +2487,7 @@ a.ui.basic.label:hover {
24862487
24872488.ui .attached .header .right .button {
24882489 padding : 8px 10px ;
2489- font-weight : normal;
2490+ font-weight : var ( --font-weight- normal) ;
24902491}
24912492
24922493/* reduce height of buttons with dropdown icon */
@@ -2534,7 +2535,7 @@ a.ui.basic.label:hover {
25342535 padding : 2.75px ;
25352536 border-radius : 1em ;
25362537 font-size : 11px ;
2537- font-weight : 700 ;
2538+ font-weight : var ( --font-weight-semibold ) ;
25382539 line-height : .67em ;
25392540}
25402541
@@ -2614,7 +2615,7 @@ table th[data-sortt-desc] .svg {
26142615 font-size : 1.25em ;
26152616 line-height : 1 ;
26162617 font-style : normal !important ;
2617- font-weight : normal !important ;
2618+ font-weight : var ( --font-weight- normal) !important ;
26182619 vertical-align : -0.075em ;
26192620}
26202621
@@ -2721,7 +2722,7 @@ table th[data-sortt-desc] .svg {
27212722.ellipsis-button {
27222723 padding : 0 5px 8px !important ;
27232724 display : inline-block !important ;
2724- font-weight : var (--font-weight-bold ) !important ;
2725+ font-weight : var (--font-weight-semibold ) !important ;
27252726 line-height : 6px !important ;
27262727 vertical-align : middle !important ;
27272728}
0 commit comments