From d7c01e2d47c5cc3d6ebbeaff131eda644644f442 Mon Sep 17 00:00:00 2001 From: mai <74494945+chan-mai@users.noreply.github.com> Date: Mon, 6 May 2024 10:20:16 +0000 Subject: [PATCH] =?UTF-8?q?update:=20=E3=83=95=E3=82=A9=E3=83=B3=E3=83=88?= =?UTF-8?q?=E3=81=AE=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/scripts/font.ts | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/scripts/font.ts b/packages/frontend/src/scripts/font.ts index 713a163037..210e5922c8 100644 --- a/packages/frontend/src/scripts/font.ts +++ b/packages/frontend/src/scripts/font.ts @@ -34,11 +34,36 @@ export const fontList = { fontFamily: 'Klee One', importUrl: 'https://fonts.googleapis.com/css2?family=Klee+One&display=swap', }, + 'kosugi-maru': { + name: 'Kosugi Maru', + fontFamily: 'Kosugi Maru', + importUrl: 'https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap', + }, + 'kosugi': { + name: 'Kosugi', + fontFamily: 'Kosugi', + importUrl: 'https://fonts.googleapis.com/css2?family=Kosugi&display=swap', + }, + 'kiwi-maru': { + name: 'Kiwi Maru', + fontFamily: 'Kiwi Maru', + importUrl: 'https://fonts.googleapis.com/css2?family=Kiwi+Maru&display=swap', + }, 'zen-maru-gothic': { name: 'Zen Maru Gothic', fontFamily: 'Zen Maru Gothic', importUrl: 'https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap', }, + 'zen-kaku-gothic-new': { + name: 'Zen Kaku Gothic New', + fontFamily: 'Zen Kaku Gothic New', + importUrl: 'https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New&display=swap', + }, + 'zen-kurenaido': { + name: 'Zen Kurenaido', + fontFamily: 'Zen Kurenaido', + importUrl: 'https://fonts.googleapis.com/css2?family=Zen+Kurenaido&display=swap', + }, 'kaisei-decol': { name: 'Kaisei Decol', fontFamily: 'Kaisei Decol', @@ -52,7 +77,6 @@ export const fontList = { }; export function applyFont(fontname: null | string) { - console.log('called'); let style = document.getElementById('custom-font'); if (!fontname) {