3
3
--fonts-proportional : -apple-system, "Segoe UI" , system-ui, Roboto, "Helvetica Neue" , Arial;
4
4
--fonts-monospace : ui-monospace, SFMono-Regular, "SF Mono" , Menlo, Monaco, Consolas, "Liberation Mono" , "Courier New" , monospace, var (--fonts-emoji );
5
5
--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 ;
10
11
/* backgrounds */
11
12
--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>' );
12
13
--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>' );
218
219
h4 ,
219
220
h5 ,
220
221
h6 {
221
- font-weight : var (--font-weight-bold );
222
+ font-weight : var (--font-weight-semibold );
222
223
}
223
224
224
225
body {
@@ -891,7 +892,7 @@ a.label,
891
892
.ui .dropdown .menu .active .item {
892
893
color : var (--color-text );
893
894
background : var (--color-active );
894
- font-weight : normal;
895
+ font-weight : var ( --font-weight- normal) ;
895
896
}
896
897
897
898
/* fix misaligned images in webhook dropdown */
@@ -1436,7 +1437,7 @@ img.ui.avatar,
1436
1437
}
1437
1438
1438
1439
.ui .form .ui .button {
1439
- font-weight : normal;
1440
+ font-weight : var ( --font-weight- normal) ;
1440
1441
}
1441
1442
1442
1443
.ui .floating .label {
@@ -1494,7 +1495,7 @@ img.ui.avatar,
1494
1495
}
1495
1496
1496
1497
.ui .text .normal {
1497
- font-weight : normal;
1498
+ font-weight : var ( --font-weight- normal) ;
1498
1499
}
1499
1500
1500
1501
.ui .text .italic {
@@ -1509,7 +1510,7 @@ img.ui.avatar,
1509
1510
}
1510
1511
1511
1512
.ui .text .thin {
1512
- font-weight : normal;
1513
+ font-weight : var ( --font-weight- normal) ;
1513
1514
}
1514
1515
1515
1516
.ui .text .middle {
@@ -1546,7 +1547,7 @@ img.ui.avatar,
1546
1547
}
1547
1548
1548
1549
.ui .normal .header {
1549
- font-weight : normal;
1550
+ font-weight : var ( --font-weight- normal) ;
1550
1551
}
1551
1552
1552
1553
.ui .form .autofill-dummy {
@@ -1565,7 +1566,7 @@ img.ui.avatar,
1565
1566
font-family : var (--fonts-monospace );
1566
1567
font-size : 13px ;
1567
1568
padding : 6px 10px 4px ;
1568
- font-weight : normal;
1569
+ font-weight : var ( --font-weight- normal) ;
1569
1570
margin : 0 6px ;
1570
1571
}
1571
1572
@@ -1592,7 +1593,7 @@ img.ui.avatar,
1592
1593
1593
1594
.ui .inline .delete-button {
1594
1595
padding : 8px 15px ;
1595
- font-weight : normal;
1596
+ font-weight : var ( --font-weight- normal) ;
1596
1597
}
1597
1598
1598
1599
.ui .background .red {
@@ -1736,7 +1737,7 @@ img.ui.avatar,
1736
1737
}
1737
1738
1738
1739
.scrolling .menu .item .selected {
1739
- font-weight : var (--font-weight-bold ) !important ;
1740
+ font-weight : var (--font-weight-semibold ) !important ;
1740
1741
}
1741
1742
1742
1743
.ui .dropdown .scrolling .menu {
@@ -2486,7 +2487,7 @@ a.ui.basic.label:hover {
2486
2487
2487
2488
.ui .attached .header .right .button {
2488
2489
padding : 8px 10px ;
2489
- font-weight : normal;
2490
+ font-weight : var ( --font-weight- normal) ;
2490
2491
}
2491
2492
2492
2493
/* reduce height of buttons with dropdown icon */
@@ -2534,7 +2535,7 @@ a.ui.basic.label:hover {
2534
2535
padding : 2.75px ;
2535
2536
border-radius : 1em ;
2536
2537
font-size : 11px ;
2537
- font-weight : 700 ;
2538
+ font-weight : var ( --font-weight-semibold ) ;
2538
2539
line-height : .67em ;
2539
2540
}
2540
2541
@@ -2614,7 +2615,7 @@ table th[data-sortt-desc] .svg {
2614
2615
font-size : 1.25em ;
2615
2616
line-height : 1 ;
2616
2617
font-style : normal !important ;
2617
- font-weight : normal !important ;
2618
+ font-weight : var ( --font-weight- normal) !important ;
2618
2619
vertical-align : -0.075em ;
2619
2620
}
2620
2621
@@ -2721,7 +2722,7 @@ table th[data-sortt-desc] .svg {
2721
2722
.ellipsis-button {
2722
2723
padding : 0 5px 8px !important ;
2723
2724
display : inline-block !important ;
2724
- font-weight : var (--font-weight-bold ) !important ;
2725
+ font-weight : var (--font-weight-semibold ) !important ;
2725
2726
line-height : 6px !important ;
2726
2727
vertical-align : middle !important ;
2727
2728
}
0 commit comments