Skip to content

Commit

Permalink
l10n: add Japanese font
Browse files Browse the repository at this point in the history
  • Loading branch information
f-matano44 committed Nov 8, 2023
1 parent 21da06e commit 3ceb679
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion assets/scss/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,17 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
:root {
--sys-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Droid Sans", "Helvetica Neue";
--zh-font-family: "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei";
--cjk-font-family: "Source Han Sans", "Noto Sans CJK";
--ja-font-family: "Hiragino Kaku Gothic ProN", "Meiryo", "Noto Sans CJK JP";

--base-font-family: "Lato", var(--sys-font-family), var(--zh-font-family), sans-serif;
--base-font-family: "Lato", var(--sys-font-family), var(--zh-font-family), var(--cjk-font-family), sans-serif;
--code-font-family: Menlo, Monaco, Consolas, "Courier New", var(--zh-font-family), monospace;
}

:lang(ja) {
--base-font-family: "Lato", var(--sys-font-family), var(--ja-font-family), var(--cjk-font-family), sans-serif;
}

/*
* Card style
*/
Expand Down

0 comments on commit 3ceb679

Please sign in to comment.