Skip to content

Commit

Permalink
Merge pull request #5 from Rias500/master
Browse files Browse the repository at this point in the history
Include SFMono as monospace font
  • Loading branch information
dennisfrank authored Feb 15, 2019
2 parents 9576b6b + 008d8fb commit da26d3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ $base-color-light: #f3f3f4;

:root {
--font-family: "Lato-Regular", "Helvetica Neue", Helvetica, "Segoe UI", -apple-system, BlinkMacSystemFont, Tahoma, Arial, sans-serif;
--font-family-mono: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
--message-max-width: 50rem;
--avatar-border-radius: 3px;
--sidebar-icon-width: 35px;
Expand Down
4 changes: 4 additions & 0 deletions src/components/code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@
background: var(--code-block-bg-color);
color: var(--code-block-color);
}

code {
font-family: var(--font-family-mono) !important;
}

0 comments on commit da26d3c

Please sign in to comment.