Skip to content

Commit ee5db8a

Browse files
committed
ADD : [config] discus(댓글 기능) 추가
1 parent 91edc4f commit ee5db8a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

_sass/abstracts/_variables.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ $code-dot-gap: 0.5rem !default;
2525
$code-icon-width: 1.75rem !default;
2626

2727
/* fonts */
28+
@import url("https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard-dynamic-subset.min.css");
29+
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
2830

29-
$font-family-base: 'Source Sans Pro', 'Microsoft Yahei', sans-serif !default;
30-
$font-family-heading: Lato, 'Microsoft Yahei', sans-serif !default;
31+
$font-family-base: 'Pretendard', 'Source Sans Pro', 'Microsoft Yahei', sans-serif !default;
32+
$font-family-heading: 'Pretendard', Lato, 'Microsoft Yahei', sans-serif !default;
33+
$code-font-family: 'Roboto Mono', 'Pretendard', monospace !default;

_sass/base/_syntax.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
.highlighter-rouge {
77
color: var(--highlighter-rouge-color);
8+
font-family: v.$code-font-family; /* 추가한 부분 */
89
margin-top: 0.5rem;
910
margin-bottom: 1.2em; /* Override BS Inline-code style */
1011
}
@@ -23,6 +24,7 @@
2324
pre {
2425
margin-bottom: 0;
2526
font-size: v.$code-font-size;
27+
font-family: v.$code-font-family; /* 추가한 부분 */
2628
line-height: 1.4rem;
2729
word-wrap: normal; /* Fixed Safari overflow-x */
2830
}

0 commit comments

Comments
 (0)