Skip to content

Commit

Permalink
Export a variable to let users to custom the font family of code (jek…
Browse files Browse the repository at this point in the history
…yll#462)

Merge pull request 462
  • Loading branch information
hszhakka authored Feb 13, 2020
1 parent 63650f1 commit 28ca1ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions _sass/minima/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ blockquote {
*/
pre,
code {
font-family: $code-font-family;
font-size: 0.9375em;
border: 1px solid $brand-color-light;
border-radius: 3px;
Expand Down
1 change: 1 addition & 0 deletions _sass/minima/initialize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Define defaults for each variable.

$base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Segoe UI Symbol", "Segoe UI Emoji", "Apple Color Emoji", Roboto, Helvetica, Arial, sans-serif !default;
$code-font-family: "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
$base-font-size: 16px !default;
$base-font-weight: 400 !default;
$small-font-size: $base-font-size * 0.875 !default;
Expand Down

0 comments on commit 28ca1ec

Please sign in to comment.