From 7a6be16e737f6c02fce8526b9fcd4fa7e83e571d Mon Sep 17 00:00:00 2001 From: NoriDev Date: Fri, 22 Sep 2023 22:35:59 +0900 Subject: [PATCH] change fonts --- packages/frontend/src/style.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/style.scss b/packages/frontend/src/style.scss index be88f42078..384bce9fcc 100644 --- a/packages/frontend/src/style.scss +++ b/packages/frontend/src/style.scss @@ -27,7 +27,8 @@ $default-font: "Pretendard JP", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Hiragino Sans", "Apple SD Gothic Neo", Meiryo, "Noto Sans JP", "Noto Sans KR", "Malgun Gothic", Osaka, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif; $system-font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", Roboto, "Noto Sans KR", "Segoe UI", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif; -$monospace-font: "JetBrains Mono", "Pretendard JP", Pretendard, Fira code, Fira Mono, Consolas, Menlo, Courier, monospace !important; +$monospace-font: "Pretendard JP", Pretendard, "JetBrains Mono", Fira code, Fira Mono, Consolas, Menlo, Courier, monospace !important; +$code-monospace-font: "JetBrains Mono", "Pretendard JP", Pretendard, Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace !important; :root { --radius: 12px; @@ -501,7 +502,7 @@ hr { code[class*="language-"], pre[class*="language-"] { - font-family: $monospace-font + font-family: $code-monospace-font } .prism-editor__textarea:focus {