mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
add Noto Sans Hebrew to default font configuration
This commit is contained in:
@@ -133,7 +133,7 @@ export const useAppTheme = (overrideTheme?: AppTheme) => {
|
||||
const root = document.documentElement;
|
||||
root.style.setProperty(
|
||||
'--theme-content-font-family',
|
||||
'dynamic-font, "Noto Sans JP", sans-serif',
|
||||
'dynamic-font, "Noto Sans JP", "Noto Sans Hebrew", sans-serif',
|
||||
);
|
||||
|
||||
if (!textStyleRef.current) {
|
||||
@@ -150,7 +150,7 @@ export const useAppTheme = (overrideTheme?: AppTheme) => {
|
||||
const root = document.documentElement;
|
||||
root.style.setProperty(
|
||||
'--theme-content-font-family',
|
||||
'dynamic-font, "Noto Sans JP", sans-serif',
|
||||
'dynamic-font, "Noto Sans JP", "Noto Sans Hebrew", sans-serif',
|
||||
);
|
||||
|
||||
if (!textStyleRef.current) {
|
||||
@@ -167,7 +167,7 @@ export const useAppTheme = (overrideTheme?: AppTheme) => {
|
||||
const root = document.documentElement;
|
||||
root.style.setProperty(
|
||||
'--theme-content-font-family',
|
||||
`${builtIn}, "Noto Sans JP", sans-serif`,
|
||||
`${builtIn}, "Noto Sans JP", "Noto Sans Hebrew", sans-serif`,
|
||||
);
|
||||
}
|
||||
}, [builtIn, custom, system, type]);
|
||||
|
||||
Reference in New Issue
Block a user