Skip to content

Commit ac99b73

Browse files
committed
Put fonts in own variable
1 parent e28b9da commit ac99b73

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/LinkDotNet.Blog.Web/wwwroot/css/basic.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
--white: #ffffff;
1414
--wild-sand: #f4f4f4;
1515

16+
/* Fonts */
17+
--default-font: 'Quicksand';
18+
--code-font: 'JetBrains Mono';
19+
1620
/* Usages - this colors have to be defined in every theme */
1721
--active-link: var(--big-stone);
1822
--disabled-link: var(--pewter);
@@ -57,7 +61,7 @@ body {
5761
background-image: linear-gradient(to bottom, var(--background-gradient-start) 40%, var(--background-gradient-end));
5862
background-repeat: no-repeat;
5963
background-attachment: fixed;
60-
font-family: 'Quicksand', sans-serif;
64+
font-family: var(--default-font), sans-serif;
6165
min-height: 100vh;
6266
text-rendering: optimizeSpeed;
6367
line-height: 1.5;
@@ -155,7 +159,7 @@ body::-webkit-scrollbar {
155159
}
156160

157161
code {
158-
font-family: 'JetBrains Mono', cursive;
162+
font-family: var(--code-font), cursive;
159163
}
160164

161165
/* Template defined css */

0 commit comments

Comments
 (0)