33 * https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/vars.css
44 */
55
6+ /**
7+ * Brand Palette
8+ * -------------------------------------------------------------------------- */
9+
10+ : root {
11+ /* Primary Brand Color */
12+ --primary-brand : # 4CD8FA ;
13+
14+ /* Cool Gray Scale - Darkest to Lightest */
15+ --cool-gray-900 : # 0A0C13 ;
16+ --cool-gray-800 : # 0D0F16 ;
17+ --cool-gray-700 : # 11131C ;
18+ --cool-gray-600 : # 131721 ;
19+ --cool-gray-500 : # 161B27 ;
20+ --cool-gray-400 : # 40444E ;
21+ --cool-gray-300 : # 6D6F77 ;
22+ --cool-gray-200 : # 9B9DA1 ;
23+ --cool-gray-100 : # C7C8CB ;
24+ --cool-gray-50 : # E8E8E9 ;
25+ }
26+
627/**
728 * Colors
829 *
4465 * -------------------------------------------------------------------------- */
4566
4667: root {
47- --vp-c-default-1 : var (--vp-c- gray-1 );
48- --vp-c-default-2 : var (--vp-c- gray-2 );
49- --vp-c-default-3 : var (--vp-c- gray-3 );
50- --vp-c-default-soft : var (--vp-c- gray-soft );
68+ --vp-c-default-1 : var (--cool- gray-100 );
69+ --vp-c-default-2 : var (--cool- gray-200 );
70+ --vp-c-default-3 : var (--cool- gray-300 );
71+ --vp-c-default-soft : var (--cool- gray-800 );
5172
52- --vp-c-black : # 161619 ;
73+ --vp-c-black : var ( --cool-gray-900 ) ;
5374
54- --vp-c-brand-1 : # 00b4e1 ;
55- --vp-c-brand-2 : # 0a96c3 ;
56- --vp-c-brand-3 : # 006587 ;
57- --vp-c-brand-soft : var ( --vp-c-indigo-soft );
75+ --vp-c-brand-1 : var ( --primary-brand ) ;
76+ --vp-c-brand-2 : # 3DB5D9 ;
77+ --vp-c-brand-3 : # 2A7996 ;
78+ --vp-c-brand-soft : rgba ( 76 , 216 , 250 , 0.14 );
5879
59- --vp-c-text-1 : # D6D6D6 ;
80+ --vp-c-text-1 : var (--cool-gray-50 );
81+ --vp-c-text-2 : var (--cool-gray-300 );
6082
6183 --vp-c-tip-1 : var (--vp-c-brand-1 );
6284 --vp-c-tip-2 : var (--vp-c-brand-2 );
134156
135157: root {
136158 --vp-button-brand-border : transparent;
137- --vp-button-brand-text : var (--vp-c-white );
159+ --vp-button-brand-text : var (--cool-gray-900 );
138160 --vp-button-brand-bg : var (--vp-c-brand-2 );
139161 --vp-button-brand-hover-border : transparent;
140- --vp-button-brand-hover-text : var (--vp-c-white );
162+ --vp-button-brand-hover-text : var (--cool-gray-900 );
141163 --vp-button-brand-hover-bg : var (--vp-c-brand-1 );
142164 --vp-button-brand-active-border : transparent;
143- --vp-button-brand-active-text : var (--vp-c-white );
165+ --vp-button-brand-active-text : var (--cool-gray-900 );
144166 --vp-button-brand-active-bg : var (--vp-c-brand-3 );
167+
168+ --vp-button-alt-border : transparent;
169+ --vp-button-alt-text : var (--cool-gray-50 );
170+ --vp-button-alt-bg : var (--cool-gray-400 );
171+ --vp-button-alt-hover-border : transparent;
172+ --vp-button-alt-hover-text : var (--cool-gray-50 );
173+ --vp-button-alt-hover-bg : var (--cool-gray-300 );
174+ --vp-button-alt-active-border : transparent;
175+ --vp-button-alt-active-text : var (--cool-gray-50 );
176+ --vp-button-alt-active-bg : var (--cool-gray-500 );
145177}
146178
147179/**
151183: root {
152184 --vp-home-hero-name-color : transparent;
153185
154- --vp-home-hero-name-background : # ffffff ;
186+ --vp-home-hero-name-background : var ( --cool-gray-50 ) ;
155187
156- --vp-home-hero-image-background-image : linear-gradient (
157- -45deg ,
158- # 00b4e1 50% ,
159- # 47caff 50%
160- );
188+ --vp-home-hero-image-background-image : linear-gradient (-45deg ,
189+ var (--primary-brand ) 50% ,
190+ # 6FE3FF 50% );
161191 --vp-home-hero-image-filter : blur (44px );
162192}
163193
194+ .VPHero .name {
195+ font-family : var (--vp-font-family-mono );
196+ font-size : 32px ;
197+ }
198+
199+ .VPHero .tagline {
200+ font-size : 16px ;
201+ }
202+
203+ @media (min-width : 640px ) {
204+ .VPHero .name {
205+ font-size : 40px ;
206+ }
207+
208+ .VPHero .tagline {
209+ font-size : 20px ;
210+ }
211+ }
212+
213+ @media (min-width : 960px ) {
214+ .VPHero .name {
215+ font-size : 48px ;
216+ }
217+
218+ .VPHero .tagline {
219+ font-size : 24px ;
220+ }
221+ }
222+
164223@media (min-width : 640px ) {
165224 : root {
166225 --vp-home-hero-image-filter : blur (56px );
179238
180239: root {
181240 --vp-custom-block-tip-border : transparent;
182- --vp-custom-block-tip-text : var (--vp-c-text-1 );
183- --vp-custom-block-tip-bg : var ( --vp-c-brand-soft ) ;
184- --vp-custom-block-tip-code-bg : var ( --vp-c-brand-soft ) ;
241+ --vp-custom-block-tip-text : var (--cool-gray-50 );
242+ --vp-custom-block-tip-bg : # 002c22 ;
243+ --vp-custom-block-tip-code-bg : # 002c22 ;
185244}
186245
187246/**
191250.DocSearch {
192251 --docsearch-primary-color : var (--vp-c-brand-1 ) !important ;
193252}
253+
254+ /**
255+ * Component: Background Colors
256+ * -------------------------------------------------------------------------- */
257+
258+ .dark {
259+ --vp-c-bg : var (--cool-gray-700 );
260+ --vp-c-bg-alt : var (--cool-gray-800 );
261+ --vp-c-bg-elv : var (--cool-gray-500 );
262+ --vp-c-bg-soft : var (--cool-gray-500 );
263+ }
0 commit comments