replace code font

This commit is contained in:
Philipp Kühn
2020-04-18 17:20:18 +02:00
parent 3df9d6dffc
commit 173accaa52
13 changed files with 5 additions and 4 deletions

View File

@@ -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%;
}

View File

@@ -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"),
;
}

View File

@@ -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;