From 9421adb96e5303bd9c3ea15c47ae4dcada19601b Mon Sep 17 00:00:00 2001 From: ak <140048181+arkxfly@users.noreply.github.com> Date: Fri, 6 Oct 2023 17:30:21 +0800 Subject: [PATCH 1/3] Use `Twemoji Mozilla` font to display national flags C:\Program Files\Mozilla Firefox\fonts\TwemojiMozilla.ttf --- src/assets/styles/index.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 2fdcc9e70..c9c9152e2 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -1,7 +1,7 @@ body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", - "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", + "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Twemoji Mozilla", sans-serif; -webkit-font-smoothing: antialiased; From 8aa1827075e56b5d3d60ee3783a21246a42e768a Mon Sep 17 00:00:00 2001 From: ak <140048181+arkxfly@users.noreply.github.com> Date: Sun, 8 Oct 2023 00:04:10 +0800 Subject: [PATCH 2/3] Update _theme.tsx --- src/pages/_theme.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/_theme.tsx b/src/pages/_theme.tsx index 37ce63e53..ae37f4480 100644 --- a/src/pages/_theme.tsx +++ b/src/pages/_theme.tsx @@ -8,7 +8,7 @@ export const defaultTheme = { error_color: "#d32f2f", warning_color: "#ed6c02", success_color: "#2e7d32", - font_family: `"Roboto", "Helvetica", "Arial", sans-serif`, + font_family: `"Twemoji Mozilla", "Roboto", "Helvetica", "Arial", sans-serif`, }; // dark mode From c7d8974e9de966a73c0e4514b6ba8df0344b5756 Mon Sep 17 00:00:00 2001 From: ak <140048181+arkxfly@users.noreply.github.com> Date: Sun, 8 Oct 2023 00:04:27 +0800 Subject: [PATCH 3/3] Update index.scss --- src/assets/styles/index.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index c9c9152e2..2fdcc9e70 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -1,7 +1,7 @@ body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", - "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Twemoji Mozilla", + "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased;