modify font

This commit is contained in:
Kaz Saita(raspi4) 2024-03-21 13:29:42 +09:00
parent c37c78eae4
commit 1c4ec62ac1
3 changed files with 5 additions and 3 deletions

View file

@ -18,8 +18,8 @@ const config: QuartzConfig = {
theme: {
cdnCaching: true,
typography: {
header: "Noto Serif JP",
body: "Noto Serif JP",
header: "BIZ UDPGothic",
body: "BIZ UDMincho",
code: "Noto Mono",
},
colors: {

View file

@ -34,6 +34,8 @@ export default (() => {
<>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=BIZ+UDPGothic&family=BIZ+UDPMincho&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=BIZ+UDMincho&family=BIZ+UDPGothic&family=BIZ+UDPMincho&display=swap" rel="stylesheet" />
</>
)}
{css.map((href) => (

View file

@ -7,7 +7,7 @@ $header-font-size-base : $default-font-size * 1.2;
$header-font-size-h6 : $default-font-size * 1.2;
$header-line-height : 120%;
$header-font-family: "Bahnschrift", "Helvetica Neue", "Helvetica", "Noto Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
$header-font-family: "Bahnschrift", "BIZ UDPGothic", "Helvetica Neue", "Helvetica", "Noto Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
$body-font-family: "Times New Roman", "BIZ UDPMincho", "Noto Serif", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
$pre-font-family: "Noto Mono", monospace;