Skip to content

Commit

Permalink
Use Lato as text font
Browse files Browse the repository at this point in the history
  • Loading branch information
nanxstats committed Jan 11, 2025
1 parent 3f3f8f1 commit 860ea31
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 17 deletions.
Binary file removed docs/assets/InventionVF_Italics_W_Wght.woff2
Binary file not shown.
Binary file removed docs/assets/InventionVF_W_Wght.woff2
Binary file not shown.
17 changes: 0 additions & 17 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,11 @@
--md-accent-fg-color--transparent: hsla(220, 76%, 61%, 0.1);
--md-accent-bg-color: hsla(0, 0%, 100%, 1);
--md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7);
--md-text-font: "Invention";
--md-code-font: "IBM Plex Mono";
}

/* Typography */

@font-face {
font-display: swap;
font-family: "Invention";
src: url("../assets/InventionVF_W_Wght.woff2") format("woff2");
font-weight: 300 700;
font-style: normal;
}

@font-face {
font-display: swap;
font-family: "Invention";
src: url("../assets/InventionVF_Italics_W_Wght.woff2") format("woff2");
font-weight: 300 700;
font-style: italic;
}

@font-face {
font-display: swap;
font-family: "IBM Plex Mono";
Expand Down
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ markdown_extensions:

theme:
name: material
font:
text: Lato
logo: assets/logo.png
favicon: assets/favicon.png
icon:
Expand Down

0 comments on commit 860ea31

Please sign in to comment.