update: フォントの追加

This commit is contained in:
mai 2024-05-06 15:16:32 +00:00 committed by hijiki
parent 4e774832da
commit aa03bcb471

View File

@ -74,6 +74,26 @@ export const fontList = {
fontFamily: 'DotGothic16', fontFamily: 'DotGothic16',
importUrl: 'https://fonts.googleapis.com/css2?family=DotGothic16&display=swap', importUrl: 'https://fonts.googleapis.com/css2?family=DotGothic16&display=swap',
}, },
'hachi-maru-pop-regular': {
name: 'Hachi Maru Pop',
fontFamily: 'Hachi Maru Pop',
importUrl: 'https://fonts.googleapis.com/css2?family=Hachi+Maru+Pop&display=swap',
},
'stick-regular': {
name: 'Stick',
fontFamily: 'Stick',
importUrl: 'https://fonts.googleapis.com/css2?family=Stick&display=swap',
},
'tsukimi-rounded-regular': {
name: 'Tsukimi Rounded',
fontFamily: 'Tsukimi Rounded',
importUrl: 'https://fonts.googleapis.com/css2?family=Tsukimi+Rounded&display=swap',
},
'yusei-magic-regular': {
name: 'Yusei Magic',
fontFamily: 'Yusei Magic',
importUrl: 'https://fonts.googleapis.com/css2?family=Yusei+Magic&display=swap',
},
}; };
export function applyFont(fontname: null | string) { export function applyFont(fontname: null | string) {