Skip to content

Commit

Permalink
Add BM
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Sep 4, 2023
1 parent fde1c2a commit 6c4c0b3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@font-face {
font-family: "BerkeleyMono";
src: local("Berkeley Mono"),
url("https://assets.hynek.me/bm/BerkeleyMono-Regular.woff2") format("woff2"),
url("https://assets.hynek.me/bm/BerkeleyMono-Italic.woff2") format("woff2"),
url("https://assets.hynek.me/bm/BerkeleyMono-BoldItalic.woff2") format("woff2"),
url("https://assets.hynek.me/bm/BerkeleyMono-Bold.woff2") format("woff2");
font-display: swap;
}

:root {
--md-code-font: "BerkeleyMono";
}
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ theme:
icon: material/weather-sunny
name: Switch to dark mode

extra_css:
- stylesheets/extra.css

repo_url: https://github.com/hynek/doc2dash
repo_name: hynek/doc2dash
edit_uri: blob/main/docs
Expand Down

0 comments on commit 6c4c0b3

Please sign in to comment.