Skip to content

Commit

Permalink
update code font and dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Sep 1, 2024
1 parent 8abc83b commit cc822bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Binary file added .vitepress/theme/fonts/CascadiaMono.ttf
Binary file not shown.
Binary file removed .vitepress/theme/fonts/SourceCodePro-Regular.ttf
Binary file not shown.
9 changes: 4 additions & 5 deletions .vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
* -------------------------------------------------------------------------- */

@font-face {
font-family: SourceCodePro;
src: url(fonts/SourceCodePro-Regular.ttf);
font-family: CascadiaMono;
src: url(fonts/CascadiaMono.ttf);
}

:root {
--vp-font-family-mono: SourceCodePro;
--vp-font-family-mono: CascadiaMono;
}

/**
Expand Down Expand Up @@ -47,8 +47,7 @@

.dark {
--vp-code-block-bg: #161618;
--vp-c-bg: #000000;
--vp-c-bg-alt: rgb(9, 9, 10);
--vp-c-bg: #19191e;
--vp-code-line-number-color: rgb(165, 165, 165);
--vp-code-block-divider-color: rgb(56, 56, 56);
}
Expand Down

0 comments on commit cc822bb

Please sign in to comment.