aboutsummaryrefslogtreecommitdiff
path: root/.vitepress/theme/style.css
diff options
context:
space:
mode:
authorFangcat_Dev <fangcat_dev@outlook.com>2026-11-07 08:48:10 +0000
committerFangcat_Dev <fangcat_dev@outlook.com>2026-11-07 08:48:10 +0000
commit90bf06aa9d5a64350c5a494216dc557072eacad3 (patch)
treec08eb4b440820352ead6a8681039ae8149512698 /.vitepress/theme/style.css
parentci: fix names (diff)
fix: color & avatarHEADmain
Diffstat (limited to '.vitepress/theme/style.css')
-rw-r--r--.vitepress/theme/style.css32
1 files changed, 32 insertions, 0 deletions
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%);
+}