Skip to content

Commit

Permalink
Update default font
Browse files Browse the repository at this point in the history
  • Loading branch information
mithredate committed Jul 5, 2024
1 parent 2fe8ac1 commit 7a8951c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@
--vp-button-brand-active-bg: var(--vp-button-brand-bg);
}

/* .vitepress/theme/custom.css */
:root {
--font-serif: 'Merriweather', georgia, serif;
--font-sans-serif: 'Source Sans Pro', arial, sans-serif;
--font-monospace: 'Source Code Pro', monospace;
--vp-font-family-base: var(--font-sans-serif); /* normal text font */
--vp-font-family-mono: var(--font-monospace); /* code font */
}

/**
* Component: Home
* -------------------------------------------------------------------------- */
Expand Down

2 comments on commit 7a8951c

@alies-dev
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @mithredate
note, we had a npm package with our custom theme for vuepress. On migration to vitepress I simply didn't have resources to port it to vitepress. But now, with AI you can try to do it

@alies-dev
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.