|
19 | 19 | * https://unifyned.com/colors.html extends the above
|
20 | 20 | * https://chromatichq.com/insights/understanding-and-using-hsl-your-css gives calculations for the color wheel
|
21 | 21 | *
|
22 |
| - * @version: 2024-12-30 |
| 22 | + * @version: 2025-04-28 |
23 | 23 | * @author: Julian Knight (TotallyInformation)
|
24 | 24 | * @license: Apache 2.0
|
25 | 25 | * @created: 2022-05-02
|
|
52 | 52 | * NOTE: no space between : and text!
|
53 | 53 | */
|
54 | 54 | --uib-css: uib-brand;
|
| 55 | + |
| 56 | + /* For nicer emoji's use this as the font-family */ |
| 57 | + --emoji-fonts: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "Twemoji Mozilla", "EmojiOne Color", "Android Emoji"; |
| 58 | + |
55 | 59 | /* Sans-serif is much easier to read on-screen */
|
56 |
| - /* --font-family: sans-serif; */ |
57 |
| - --font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; |
| 60 | + /* Update 2025-04-28 to use https://github.com/system-fonts/modern-font-stacks - incl better emoji's as well */ |
| 61 | + --font-family: system-ui, sans-serif, var(--emoji-fonts); |
| 62 | + --code-font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace, var(--emoji-fonts); |
| 63 | + --cursive-font-family: 'Segoe Print', 'Bradley Hand', Chilanka, TSCu_Comic, casual, cursive, var(--emoji-fonts); |
58 | 64 |
|
59 | 65 | --brand-hue: 200;
|
60 | 66 | --text-hue: var(--brand-hue);
|
|
84 | 90 | /* For the .grid-fit class, the minimum child element size */
|
85 | 91 | --grid-fit-min: 15rem;
|
86 | 92 |
|
87 |
| - /* For nicer emoji's use this as the font-family */ |
88 |
| - --emoji-fonts: "Twemoji Mozilla", "Apple Color Emoji", "Segoe UI Emoji", |
89 |
| - "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", |
90 |
| - sans-serif; |
91 |
| - |
92 | 93 | /*#region --- Brand --- */
|
93 | 94 | --brand: hsl(
|
94 | 95 | var(--brand-hue)
|
|
0 commit comments