diff options
| author | Fangcat_Dev <fangcat_dev@outlook.com> | 2026-11-07 08:48:10 +0000 |
|---|---|---|
| committer | Fangcat_Dev <fangcat_dev@outlook.com> | 2026-11-07 08:48:10 +0000 |
| commit | 90bf06aa9d5a64350c5a494216dc557072eacad3 (patch) | |
| tree | c08eb4b440820352ead6a8681039ae8149512698 | |
| parent | ci: fix names (diff) | |
Diffstat (limited to '')
| -rw-r--r-- | .vitepress/theme/index.mjs | 1 | ||||
| -rw-r--r-- | .vitepress/theme/style.css | 32 | ||||
| -rw-r--r-- | docs/public/img/LC.png (renamed from docs/img/LC.png) | bin | 59899 -> 59899 bytes |
3 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%); +} diff --git a/docs/img/LC.png b/docs/public/img/LC.png Binary files differindex ecfa1c7..ecfa1c7 100644 --- a/docs/img/LC.png +++ b/docs/public/img/LC.png |
