|
3 | 3 | --fonts-proportional: -apple-system, "Segoe UI", system-ui, "Roboto", "Helvetica Neue", "Arial"; |
4 | 4 | --fonts-monospace: "SFMono-Regular", "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 | 10 | /* backgrounds */ |
7 | 11 | --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>'); |
8 | 12 | --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>'); |
|
211 | 215 | h4, |
212 | 216 | h5, |
213 | 217 | h6 { |
214 | | - font-weight: 600; |
| 218 | + font-weight: var(--font-weight-bold); |
215 | 219 | } |
216 | 220 |
|
217 | 221 | body { |
@@ -1750,7 +1754,7 @@ img.ui.avatar, |
1750 | 1754 | } |
1751 | 1755 |
|
1752 | 1756 | .scrolling.menu .item.selected { |
1753 | | - font-weight: 600 !important; |
| 1757 | + font-weight: var(--font-weight-bold) !important; |
1754 | 1758 | } |
1755 | 1759 |
|
1756 | 1760 | .ui.dropdown .scrolling.menu { |
@@ -2732,7 +2736,7 @@ table th[data-sortt-desc] .svg { |
2732 | 2736 | .ellipsis-button { |
2733 | 2737 | padding: 0 5px 8px !important; |
2734 | 2738 | display: inline-block !important; |
2735 | | - font-weight: 600 !important; |
| 2739 | + font-weight: var(--font-weight-bold) !important; |
2736 | 2740 | line-height: 6px !important; |
2737 | 2741 | vertical-align: middle !important; |
2738 | 2742 | } |
|
0 commit comments