Skip to content

Commit

Permalink
changed code font to Fira, thinner
Browse files Browse the repository at this point in the history
  • Loading branch information
devleaks committed Jul 3, 2024
1 parent 39c8da4 commit fdbccf4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/.theme/assets/css/dracula-colors.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/
.md-typeset strong {
color: RGB(255, 184, 108);
font-weight: lighter;
}
.md-typeset em {
color: RGB(80, 250, 123);
Expand Down
6 changes: 5 additions & 1 deletion docs/.theme/assets/css/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@
aside, body, input {
font-family: var(--md-text-font-family);
font-variation-settings: "wght" var(--font-variation-weight),"ital" var(--font-variation-italic),"SRFF" var(--font-variation-serif);
}
}
@font-face {
font-family: "Fira Mono";
src: url("../fonts/FiraMono-Regular.woff2") format('woff2');
}
Binary file added docs/.theme/assets/fonts/FiraMono-Regular.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ theme:
accent: orange # accent color
font:
text: Roboto
code: Roboto Mono
code: Fira Mono
features:
- announce.dismiss
- navigation.tabs
Expand Down

0 comments on commit fdbccf4

Please sign in to comment.