From 43fae3a9208ffa427732bb9ef244b16bdefb0b41 Mon Sep 17 00:00:00 2001 From: Larvan2 <78135608+Larvan2@users.noreply.github.com> Date: Fri, 29 Dec 2023 12:00:12 +0800 Subject: [PATCH] chore: adjust twemoji --- src/styles/main.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/styles/main.scss b/src/styles/main.scss index 1cba4b483..600482812 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -5,7 +5,8 @@ @font-face { font-family: '_Twemoji Mozilla'; - src: url('../../assets/Twemoji_Mozilla.ttf') format('truetype'); + src: url('../../Twemoji_Mozilla.ttf') format('truetype'); + unicode-range: U+00A9-E007F; } .relative { @@ -64,7 +65,7 @@ :root { --font-mono: 'Roboto Mono', Menlo, monospace; // prettier-ignore - --font-normal: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Source Han Sans", "PingFang SC", "Microsoft YaHei" , "微软雅黑", Arial,"Twemoji Mozilla", "_Twemoji Mozilla","Segoe UI Emoji", "Segoe UI Symbol"; + --font-normal: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Source Han Sans", "PingFang SC", "Microsoft YaHei" , "微软雅黑", Arial,"_Twemoji Mozilla","Twemoji Mozilla", "Segoe UI Emoji", "Segoe UI Symbol"; } body {