Skip to content

Commit

Permalink
feat(CSS): Add JetBrains Mono font import and set it as base font family
Browse files Browse the repository at this point in the history
This commit adds an `@import` statement to import the 'JetBrains Mono' font from Google Fonts. It also sets the imported font as the base font family for the project by updating the `--ifm-font-family-base` variable in the `:root` selector. This change aims to improve the overall typography and readability of the website, especially for code snippets and content-centric sections.
  • Loading branch information
BillChirico committed Nov 8, 2023
1 parent 8d6e98b commit 804b11e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* work well for content-centric websites.
*/

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono&display=swap');

/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #2e8555;
Expand All @@ -15,6 +17,7 @@
--ifm-color-primary-lightest: #3cad6e;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
--ifm-font-family-base: 'JetBrains Mono';
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
Expand Down

0 comments on commit 804b11e

Please sign in to comment.