Skip to content

Commit

Permalink
Merge pull request #155 from Bisaloo/font-variable-syntax-highlighting
Browse files Browse the repository at this point in the history
Load Sass variables early and use mono_font variable
  • Loading branch information
froggleston authored Oct 31, 2024
2 parents 68b8cef + 68d800b commit eb621a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/stylesheets/styles.css.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "bootstrap/scss/bootstrap.scss";
@import "syntax-highlighting";
@import "variables";
@import "syntax-highlighting";
@import "header";
@import "callouts";
@import "codeblocks";
Expand Down
4 changes: 2 additions & 2 deletions source/stylesheets/syntax-highlighting.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pre .img img, pre .r-plt img {
}

code {
font-family: 'Source Code Pro', monospace;
font-family: $mono_font, monospace;
color: #000;
}

Expand All @@ -21,7 +21,7 @@ p > code {
/* Links ---------------------------------------------------- */

code a:any-link {
font-family: 'Source Code Pro', monospace;
font-family: $mono_font, monospace;
border-radius: 4px;
text-decoration: underline;
text-decoration-color: $gray-400;
Expand Down

0 comments on commit eb621a7

Please sign in to comment.