Skip to content

Commit

Permalink
fix(code blocks): update font css variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinperaza committed Dec 9, 2022
1 parent 301c18e commit e647346
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/css/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ p {

code {
border: 1px solid rgba(0, 0, 0, 0.1);
font-family: "Source Code Pro";
color: var(--ifm-font-color-base);
font-weight: 500;
}
2 changes: 2 additions & 0 deletions src/css/ifm-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
"Noto Color Emoji";

--ifm-font-family-monospace: "Source Code Pro";

--ifm-heading-color: #1d2032;
--ifm-heading-font-weight: 500;
--ifm-heading-line-height: 110%;
Expand Down

1 comment on commit e647346

@vercel
Copy link

@vercel vercel bot commented on e647346 Dec 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.