Skip to content

Commit

Permalink
chore(docs): customize vitepress theme to use green colors
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkdev98 committed Aug 9, 2023
1 parent e20f0c4 commit ba082d3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
:root {
--vp-c-brand: var(--vp-c-green);
--vp-c-brand-light: var(--vp-c-green-light);
--vp-c-brand-lighter: var(--vp-c-green-lighter);
--vp-c-brand-lightest: var(--vp-c-green-lightest);
--vp-c-brand-dark: var(--vp-c-green-dark);
--vp-c-brand-darker: var(--vp-c-green-darker);
--vp-c-brand-darkest: var(--vp-c-green-darkest);
--vp-c-brand-dimm-1: var(--vp-c-green-dimm-1);
--vp-c-brand-dimm-2: var(--vp-c-green-dimm-2);
--vp-c-brand-dimm-3: var(--vp-c-green-dimm-3);
}
4 changes: 4 additions & 0 deletions docs/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import DefaultTheme from "vitepress/theme";
import "./custom.css";

export default DefaultTheme;

0 comments on commit ba082d3

Please sign in to comment.