From f4862e4ec9406dce037164b92eb0c6668128d64e Mon Sep 17 00:00:00 2001 From: mai <74494945+chan-mai@users.noreply.github.com> Date: Mon, 6 May 2024 15:04:17 +0000 Subject: [PATCH] =?UTF-8?q?update:=20=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/scripts/font.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/scripts/font.ts b/packages/frontend/src/scripts/font.ts index 0e9b95def2..d397b34087 100644 --- a/packages/frontend/src/scripts/font.ts +++ b/packages/frontend/src/scripts/font.ts @@ -95,9 +95,8 @@ export function applyFont(fontname: null | string) { style.innerHTML = ` @import url('${font.importUrl}'); - body * { - font-family: '${font.fontFamily}', sans-serif !important; - font-weight: 400; + body { + font-family: '${font.fontFamily}', 'Hiragino Maru Gothic Pro', 'BIZ UDGothic', Roboto, HelveticaNeue, Arial, sans-serif !important; font-style: normal; } `;