Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
}

:root {
/* MUI's default Latin fonts first, then Japanese */
--font-family:
"Roboto", "Helvetica", "Arial", "Noto Sans JP", "Hiragino Sans",
"Yu Gothic UI", Meiryo, sans-serif;
--latin-fonts: "Roboto", "Helvetica", "Arial";
--japanese-fonts: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", Meiryo;
--font-family: var(--latin-fonts), var(--japanese-fonts), sans-serif;
font-family: var(--font-family);

/* Keep in sync with the colors in style.ts */
Expand All @@ -25,6 +24,11 @@
--color-tutorial-background: #fff3e0;
}

/* Chrome skips some characters of a split font placed after an installed one */
:root:lang(ja) {
--font-family: var(--japanese-fonts), var(--latin-fonts), sans-serif;
}

:root,
body,
#root {
Expand Down
Loading