From a2c8bd8a91616cfd15b6056379379a4229a9f835 Mon Sep 17 00:00:00 2001 From: camera-2018 <2907618001@qq.com> Date: Sat, 15 Apr 2023 13:12:54 +0800 Subject: [PATCH] feat: color --- .vitepress/theme/style.css | 22 ++++++++++++---------- index.md | 4 ++-- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.vitepress/theme/style.css b/.vitepress/theme/style.css index 9ebec97..53b5b27 100644 --- a/.vitepress/theme/style.css +++ b/.vitepress/theme/style.css @@ -9,12 +9,12 @@ * -------------------------------------------------------------------------- */ :root { - --vp-c-brand: #646cff; - --vp-c-brand-light: #747bff; - --vp-c-brand-lighter: #9499ff; - --vp-c-brand-lightest: #bcc0ff; - --vp-c-brand-dark: #535bf2; - --vp-c-brand-darker: #454ce1; + --vp-c-brand: #0dadc4; + --vp-c-brand-light: #1A9CED; + --vp-c-brand-lighter: #1CA8FF; + --vp-c-brand-lightest: #5EB2E6; + --vp-c-brand-dark: #0B52BF; + --vp-c-brand-darker: #015F8F; --vp-c-brand-dimm: rgba(100, 108, 255, 0.08); } @@ -47,14 +47,16 @@ --vp-home-hero-name-color: transparent; --vp-home-hero-name-background: -webkit-linear-gradient( 120deg, - #bd34fe 30%, - #41d1ff + #08BAB6, + #1994E1, + #0B52BF ); --vp-home-hero-image-background-image: linear-gradient( -45deg, - #bd34fe 50%, - #47caff 50% + #08BAB6 50%, + #1994E1 50%, + #0B52BF 50% ); --vp-home-hero-image-filter: blur(40px); } diff --git a/index.md b/index.md index c4fb9fd..af62c18 100644 --- a/index.md +++ b/index.md @@ -7,8 +7,8 @@ hero: text: HDU计算机科学讲义 # tagline: My great project tagline image: - src: https://picxyxsw.oss-cn-hangzhou.aliyuncs.com/kita.gif - alt: 暂时的占位图 + src: hdu-cs-wiki.svg + alt: HDU-CS-WIKI actions: - theme: brand text: 开始