We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36b58a5 commit d577d99Copy full SHA for d577d99
1 file changed
src/libs/theme/fonts.tsx
@@ -36,26 +36,7 @@ export const MonoFont = Roboto_Mono({
36
variable: "--font-mono",
37
});
38
39
-export const JapaneseFont = localFont({
40
- src: [
41
- {
42
- path: "./fonts/NotoSansJP-Regular.otf",
43
- weight: "400",
44
- style: "normal",
45
- },
46
47
- path: "./fonts/NotoSansJP-Medium.otf",
48
- weight: "500",
49
50
51
52
- path: "./fonts/NotoSansJP-Bold.otf",
53
- weight: "600",
54
55
56
- ],
57
- variable: "--font-japanese",
58
-});
+export const JapaneseFont = SecondaryFont;
59
60
export const getLocalizedSecondaryFont = (language: string) =>
61
language === "ja" ? JapaneseFont.className : SecondaryFont.className;
0 commit comments