-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
taketoday
committed
Apr 8, 2024
1 parent
4e21ce1
commit 5588478
Showing
4 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* start custom scss snippet */ | ||
|
||
/* jetbrains-mono-300 - latin */ | ||
@font-face { | ||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ | ||
font-family: 'JetBrains Mono'; | ||
font-style: normal; | ||
font-weight: 300; | ||
src: url('../fonts/jetbrains-mono-v18-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ | ||
} | ||
/* jetbrains-mono-regular - latin */ | ||
@font-face { | ||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ | ||
font-family: 'JetBrains Mono'; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: url('../fonts/jetbrains-mono-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ | ||
} | ||
|
||
body { | ||
/* 更改正文字体 */ | ||
font-family: 'JetBrains Mono', Times, Menlo, Monaco, Consolas, Andale Mono, lucida console, Courier New, monospace; | ||
font-size: 1.2rem; | ||
} | ||
|
||
code { | ||
/* 更改code字体 */ | ||
font-family: 'JetBrains Mono', Times, Menlo, Monaco, Consolas, Andale Mono, lucida console, Courier New, monospace; | ||
font-size: 1.05rem; | ||
} | ||
|
||
/* end custom scss snippet */ |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters