custom fonts

This commit is contained in:
pa
2026-01-17 19:42:55 +09:00
committed by Natsumi
parent f7a214951d
commit 5e5abc1141
29 changed files with 251 additions and 153 deletions
+21
View File
@@ -0,0 +1,21 @@
const APP_FONT_DEFAULT_KEY = 'noto_sans';
const APP_FONT_CONFIG = Object.freeze({
inter: {
cssName: "'Inter'",
link: null
},
noto_sans: {
cssName: "'Noto Sans Variable'",
link: null
},
harmonyos_sans: {
cssName: "'HarmonyOS Sans'",
cssImport:
"@import url('https://fonts.cdnfonts.com/css/harmonyos-sans');"
}
});
const APP_FONT_FAMILIES = Object.freeze(Object.keys(APP_FONT_CONFIG));
export { APP_FONT_CONFIG, APP_FONT_DEFAULT_KEY, APP_FONT_FAMILIES };
+1
View File
@@ -8,6 +8,7 @@ export * from './instance';
export * from './world';
export * from './moderation';
export * from './themes';
export * from './fonts';
export * from './link';
export * from './ui';
export * from './accessType';