chore: change vitepress theme color to blue

This commit is contained in:
Sagi 2022-10-13 23:54:55 +08:00
parent 70f5fa0cbc
commit dfb29ce52f
1 changed files with 19 additions and 10 deletions

View File

@ -76,6 +76,15 @@
--vp-c-red-dimm-1: rgba(237, 60, 80, 0.5); --vp-c-red-dimm-1: rgba(237, 60, 80, 0.5);
--vp-c-red-dimm-2: rgba(237, 60, 80, 0.25); --vp-c-red-dimm-2: rgba(237, 60, 80, 0.25);
--vp-c-red-dimm-3: rgba(237, 60, 80, 0.05); --vp-c-red-dimm-3: rgba(237, 60, 80, 0.05);
--vp-c-blue: #3662FF;
--vp-c-blue-light: #488afc;
--vp-c-blue-lighter: #2096fd;
--vp-c-blue-dark: #234de5;
--vp-c-blue-darker: #113acd;
--vp-c-blue-dimm-1: rgba(54,98,255, 0.5);
--vp-c-blue-dimm-2: rgba(54,98,255, 0.25);
--vp-c-blue-dimm-3: rgba(54,98,255, 0.05);
} }
/** /**
@ -106,11 +115,11 @@
--vp-c-text-code: var(--vp-c-indigo-soft); --vp-c-text-code: var(--vp-c-indigo-soft);
--vp-c-brand: var(--vp-c-green); --vp-c-brand: var(--vp-c-blue);
--vp-c-brand-light: var(--vp-c-green-light); --vp-c-brand-light: var(--vp-c-blue-light);
--vp-c-brand-lighter: var(--vp-c-green-lighter); --vp-c-brand-lighter: var(--vp-c-blue-lighter);
--vp-c-brand-dark: var(--vp-c-green-dark); --vp-c-brand-dark: var(--vp-c-blue-dark);
--vp-c-brand-darker: var(--vp-c-green-darker); --vp-c-brand-darker: var(--vp-c-blue-darker);
--vp-c-sponsor: #fd1d7c; --vp-c-sponsor: #fd1d7c;
} }
@ -287,9 +296,9 @@
--vp-custom-block-info-bg: var(--vp-c-white-soft); --vp-custom-block-info-bg: var(--vp-c-white-soft);
--vp-custom-block-info-code-bg: var(--vp-c-gray-light-4); --vp-custom-block-info-code-bg: var(--vp-c-gray-light-4);
--vp-custom-block-tip-border: var(--vp-c-green-dimm-1); --vp-custom-block-tip-border: var(--vp-c-blue-dimm-1);
--vp-custom-block-tip-text: var(--vp-c-green-darker); --vp-custom-block-tip-text: var(--vp-c-blue-darker);
--vp-custom-block-tip-bg: var(--vp-c-green-dimm-3); --vp-custom-block-tip-bg: var(--vp-c-blue-dimm-3);
--vp-custom-block-tip-code-bg: var(--vp-custom-block-tip-bg); --vp-custom-block-tip-code-bg: var(--vp-custom-block-tip-bg);
--vp-custom-block-warning-border: var(--vp-c-yellow-dimm-1); --vp-custom-block-warning-border: var(--vp-c-yellow-dimm-1);
@ -313,8 +322,8 @@
--vp-custom-block-info-bg: var(--vp-c-black-mute); --vp-custom-block-info-bg: var(--vp-c-black-mute);
--vp-custom-block-info-code-bg: var(--vp-c-gray-dark-4); --vp-custom-block-info-code-bg: var(--vp-c-gray-dark-4);
--vp-custom-block-tip-border: var(--vp-c-green-dimm-2); --vp-custom-block-tip-border: var(--vp-c-blue-dimm-2);
--vp-custom-block-tip-text: var(--vp-c-green-light); --vp-custom-block-tip-text: var(--vp-c-blue-light);
--vp-custom-block-warning-border: var(--vp-c-yellow-dimm-2); --vp-custom-block-warning-border: var(--vp-c-yellow-dimm-2);
--vp-custom-block-warning-text: var(--vp-c-yellow-light); --vp-custom-block-warning-text: var(--vp-c-yellow-light);