From 2f9fb87819cb39c0879fd197aa9ae1e3c6587e5b Mon Sep 17 00:00:00 2001 From: zengjia Date: Tue, 29 Aug 2023 14:28:10 +0800 Subject: [PATCH] docs: update --- .vitepress/theme/styles/vars.css | 10 ++++------ src/download-client.md | 2 +- src/public/svg/tianyi-drive.svg | 9 +++++++++ 3 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 src/public/svg/tianyi-drive.svg diff --git a/.vitepress/theme/styles/vars.css b/.vitepress/theme/styles/vars.css index 6314eaff9..42e0d2d62 100644 --- a/.vitepress/theme/styles/vars.css +++ b/.vitepress/theme/styles/vars.css @@ -2,12 +2,11 @@ * Colors * -------------------------------------------------------------------------- */ - :root { --vp-c-indigo-1: #60bf90; --vp-c-indigo-2: #3aa374; --vp-c-indigo-3: #008858; - --vp-c-indigo-soft: rgba(0, 108, 69 .16); + --vp-c-indigo-soft: rgba(0, 108, 69 0.16); --vp-font-family-base: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', miui, 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif; @@ -27,8 +26,7 @@ --nav-c-bg: rgba(255, 255, 255, 0.7); - --vp-button-brand-text: rgba(255, 255, 245, .86); - + --vp-button-brand-text: rgba(255, 255, 245, 0.86); } .dark { @@ -58,13 +56,13 @@ :root { --vp-button-brand-border: var(--vp-c-brand-light); - --vp-button-brand-text: var(--vp-button-brand-text)); + --vp-button-brand-text: var(--vp-button-brand-text); --vp-button-brand-bg: var(--vp-c-brand); --vp-button-brand-hover-border: var(--vp-c-brand-light); --vp-button-brand-hover-text: var(--vp-c-white); --vp-button-brand-hover-bg: var(--vp-c-brand-light); --vp-button-brand-active-border: var(--vp-c-brand-light); - --vp-button-brand-active-text:var(--vp-c-white); + --vp-button-brand-active-text: var(--vp-c-white); --vp-button-brand-active-bg: var(--vp-button-brand-bg); } diff --git a/src/download-client.md b/src/download-client.md index fe8990bba..73ac80c5f 100644 --- a/src/download-client.md +++ b/src/download-client.md @@ -44,7 +44,7 @@ const downloadMethod = [ }, { name: '夸克网盘', target: '_black', link: 'https://pan.quark.cn/s/fe8bb34c77bc', icon: '/svg/quark-drive.svg' }, - { name: '天翼云盘(访问码:exn0)', target: '_black', link: 'https://cloud.189.cn/t/YF7Fj2zIRVbi', icon: '/svg/TianYi-drive.svg' + { name: '天翼云盘',secondary: '访问码:exn0', target: '_black', link: 'https://cloud.189.cn/t/YF7Fj2zIRVbi', icon: '/svg/tianyi-drive.svg' }, { name: 'Google Drive', target: '_black', link: 'https://drive.google.com/drive/folders/1ade5zOu14oMIJlwaJd0qf-S_xdH9pkSa?usp=sharing', icon: 'i-logos-google-drive' } ] diff --git a/src/public/svg/tianyi-drive.svg b/src/public/svg/tianyi-drive.svg new file mode 100644 index 000000000..bf111d622 --- /dev/null +++ b/src/public/svg/tianyi-drive.svg @@ -0,0 +1,9 @@ + + + + Layer 1 + + +