replace code font
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/src/assets/fonts/JetBrainsMono-Regular.woff
Normal file
BIN
docs/src/assets/fonts/JetBrainsMono-Regular.woff
Normal file
Binary file not shown.
BIN
docs/src/assets/fonts/JetBrainsMono-Regular.woff2
Normal file
BIN
docs/src/assets/fonts/JetBrainsMono-Regular.woff2
Normal file
Binary file not shown.
@@ -47,6 +47,7 @@ body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
line-height: 1.7;
|
||||
font-feature-settings: 'cv05' 1;
|
||||
background-color: $colorLightGrey;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@@ -170,11 +170,11 @@
|
||||
// }
|
||||
|
||||
@font-face {
|
||||
font-family: 'Fira Code';
|
||||
font-family: 'JetBrainsMono';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src:
|
||||
url("~@/assets/fonts/FiraCode-Medium.woff2") format("woff2"),
|
||||
url("~@/assets/fonts/FiraCode-Medium.woff") format("woff"),
|
||||
url("~@/assets/fonts/JetBrainsMono-Regular.woff2") format("woff2"),
|
||||
url("~@/assets/fonts/JetBrainsMono-Regular.woff") format("woff"),
|
||||
;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ code[class*="language-"], pre[class*="language-"] {
|
||||
hyphens: none;
|
||||
color: inherit;
|
||||
text-shadow: none;
|
||||
font-family: 'Fira Code', monospace;
|
||||
font-family: 'JetBrainsMono', monospace;
|
||||
font-size: 1em;
|
||||
line-height: 1.8;
|
||||
tab-size: 2;
|
||||
|
||||
Reference in New Issue
Block a user