diff options
Diffstat (limited to '.vitepress')
| -rw-r--r-- | .vitepress/theme/index.mjs | 1 | ||||
| -rw-r--r-- | .vitepress/theme/style.css | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/.vitepress/theme/index.mjs b/.vitepress/theme/index.mjs index 46c34c7..82140c5 100644 --- a/.vitepress/theme/index.mjs +++ b/.vitepress/theme/index.mjs @@ -1,4 +1,5 @@ import {default as VPLTheme} from '@lando/vitepress-theme-default-plus'; import './admonitions.css'; +import './style.css'; export default VPLTheme;
\ No newline at end of file diff --git a/.vitepress/theme/style.css b/.vitepress/theme/style.css new file mode 100644 index 0000000..ae24cf7 --- /dev/null +++ b/.vitepress/theme/style.css @@ -0,0 +1,32 @@ +:root { + --lc-brand-h: 205; + --lc-brand-s: 82%; + + --lc-brand-1: hsl(var(--lc-brand-h) var(--lc-brand-s) 42%); + --lc-brand-2: hsl(var(--lc-brand-h) var(--lc-brand-s) 50%); + --lc-brand-3: hsl(var(--lc-brand-h) var(--lc-brand-s) 50%); + --lc-brand-soft: hsl(var(--lc-brand-h) var(--lc-brand-s) 50% / 0.14); + --lc-brand-hard: hsl(var(--lc-brand-h) var(--lc-brand-s) 32%); + --lc-brand-soft-hex: hsl(var(--lc-brand-h) var(--lc-brand-s) 96%); +} + +:root { + --vp-c-brand-1: var(--lc-brand-1) !important; + --vp-c-brand-2: var(--lc-brand-2) !important; + --vp-c-brand-3: var(--lc-brand-3) !important; + --vp-c-brand-soft: var(--lc-brand-soft) !important; + --vp-c-brand-hard: var(--lc-brand-hard) !important; + --vp-c-brand-soft-hex: var(--lc-brand-soft-hex) !important; + + --vp-c-brand: var(--vp-c-brand-1) !important; + --vp-c-sponsor: var(--lc-brand-3) !important; +} + +.dark { + --lc-brand-1: hsl(var(--lc-brand-h) var(--lc-brand-s) 62%); + --lc-brand-2: hsl(var(--lc-brand-h) var(--lc-brand-s) 68%); + --lc-brand-3: hsl(var(--lc-brand-h) var(--lc-brand-s) 56%); + --lc-brand-soft: hsl(var(--lc-brand-h) var(--lc-brand-s) 60% / 0.18); + --lc-brand-hard: hsl(var(--lc-brand-h) var(--lc-brand-s) 72%); + --lc-brand-soft-hex: hsl(var(--lc-brand-h) var(--lc-brand-s) 18%); +} |
