Skip to content

Commit

Permalink
feat: change doc font
Browse files Browse the repository at this point in the history
  • Loading branch information
skifli authored Nov 29, 2023
1 parent e2961e5 commit 872c4ab
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@import url('https://fonts.googleapis.com/css2?family=Fira+Code&family=Noto+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk&display=swap');

:root {
/* Typography */
--vp-font-family-base: "Space Grotesk", sans-serif;

/* Code Snippet font */
--vp-font-family-mono: "Fira Code", monospace;
}
5 changes: 5 additions & 0 deletions docs/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import "./custom.css";

import DefaultTheme from "vitepress/theme";

export default DefaultTheme;

0 comments on commit 872c4ab

Please sign in to comment.