Skip to content

Commit 0b04bfb

Browse files
committed
use dummy emoji font name
1 parent 388f957 commit 0b04bfb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

web_src/css/base.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
/* fonts */
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);
5-
/* "Twemoji Mozilla" emoji font is widely used by browsers like Firefox, Pale Moon, and it is more likely up-to-dated than the system emoji font */
6-
--fonts-emoji: "Twemoji Mozilla", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
5+
/* GitHub explicitly sets font names like: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla";
6+
Actually "Twemoji Mozilla" emoji font is widely used by browsers like Firefox, Pale Moon, and it is more likely up-to-dated than the system emoji font.
7+
So not setting emoji font seems to be the best choice, here we just use a non-existing dummy font name and let browsers choose. */
8+
--fonts-emoji: "-emoji-fallback";
79
/* font weights - use between 400 and 600 for general purposes. Avoid 700 as it is perceived too bold */
810
--font-weight-light: 300;
911
--font-weight-normal: 400;

0 commit comments

Comments
 (0)