mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 14:46:04 +02:00
custom fonts
This commit is contained in:
@@ -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 };
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user