22https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/vars.css
33 */
44
5- /* Layouts */
5+ /* Layouts */
66
77/*
88 :root {
@@ -17,11 +17,11 @@ https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/var
1717/* Fonts */
1818
1919@font-face {
20- font-family : JuliaMono-Regular;
21- src : url ("https://cdn.jsdelivr.net/gh/cormullion/juliamono/webfonts/JuliaMono-Regular.woff2" );
20+ font-family : JuliaMono-Regular;
21+ src : url ("https://cdn.jsdelivr.net/gh/cormullion/juliamono/webfonts/JuliaMono-Regular.woff2" );
2222}
2323
24- : root {
24+ : root {
2525 /* Typography */
2626 --vp-font-family-base : "Barlow" , "Inter var experimental" , "Inter var" ,
2727 -apple-system, BlinkMacSystemFont, "Segoe UI" , Roboto, Oxygen, Ubuntu,
@@ -50,7 +50,7 @@ This is pretty bad for Julia folks reading even though copy+paste retains the sa
5050}
5151
5252/* If you want to apply this globally to all monospace text: */
53- pre , code {
53+ pre code {
5454 font-family : "JuliaMono-Light" , monospace;
5555 font-feature-settings : "calt" off;
5656}
@@ -63,16 +63,24 @@ pre, code {
6363 --julia-red : # CB3C33 ;
6464 --julia-green : # 389826 ;
6565
66- --vp-c-brand : # 389826 ;
66+ /* --vp-c-brand: #389826;
6767 --vp-c-brand-light: #3dd027;
6868 --vp-c-brand-lighter: #9499ff;
6969 --vp-c-brand-lightest: #bcc0ff;
7070 --vp-c-brand-dark: #535bf2;
7171 --vp-c-brand-darker: #454ce1;
72+ --vp-c-brand-dimm: #212425; */
73+
74+ --vp-c-brand : # 074f73 ;
75+ --vp-c-brand-light : # 086b9d ;
76+ --vp-c-brand-lighter : # 2795cc ;
77+ --vp-c-brand-lightest : # 7dc5ea ;
78+ --vp-c-brand-dark : # 535bf2 ;
79+ --vp-c-brand-darker : # 454ce1 ;
7280 --vp-c-brand-dimm : # 212425 ;
7381}
7482
75- /* Component: Button */
83+ /* Component: Button */
7684
7785: root {
7886 --vp-button-brand-border : var (--vp-c-brand-light );
@@ -90,18 +98,14 @@ pre, code {
9098
9199: root {
92100 --vp-home-hero-name-color : transparent;
93- --vp-home-hero-name-background : -webkit-linear-gradient (
94- 120deg ,
95- # 9558B2 30% ,
96- # CB3C33
97- );
98-
99- --vp-home-hero-image-background-image : linear-gradient (
100- -45deg ,
101- # 9558B2 30% ,
102- # 389826 30% ,
103- # CB3C33
104- );
101+ --vp-home-hero-name-background : -webkit-linear-gradient (120deg ,
102+ # 074f73 30% ,
103+ # 389826 );
104+
105+ --vp-home-hero-image-background-image : linear-gradient (-45deg ,
106+ # ffffff,
107+ # 074f73 20% ,
108+ # ffffff );
105109 --vp-home-hero-image-filter : blur (40px );
106110}
107111
@@ -124,38 +128,38 @@ pre, code {
124128 --vp-custom-block-tip-text : var (--vp-c-brand-lightest );
125129 --vp-custom-block-tip-bg : var (--vp-c-brand-dimm );
126130
127- /* // Tweak the color palette for blacks and dark grays */
128- --vp-c-black : hsl (220 20% 9% );
129- --vp-c-black-pure : hsl (220 , 24% , 4% );
130- --vp-c-black-soft : hsl (220 16% 13% );
131- --vp-c-black-mute : hsl (220 14% 17% );
132- --vp-c-gray : hsl (220 8% 56% );
133- --vp-c-gray-dark-1 : hsl (220 10% 39% );
134- --vp-c-gray-dark-2 : hsl (220 12% 28% );
135- --vp-c-gray-dark-3 : hsl (220 12% 23% );
136- --vp-c-gray-dark-4 : hsl (220 14% 17% );
137- --vp-c-gray-dark-5 : hsl (220 16% 13% );
138-
139- /* // Backgrounds */
140- /* --vp-c-bg: hsl(240, 2%, 11%); */
141- --vp-custom-block-info-bg : hsl (220 14% 17% );
142- /* --vp-c-gutter: hsl(220 20% 9%);
131+ /* // Tweak the color palette for blacks and dark grays */
132+ --vp-c-black : hsl (220 20% 9% );
133+ --vp-c-black-pure : hsl (220 , 24% , 4% );
134+ --vp-c-black-soft : hsl (220 16% 13% );
135+ --vp-c-black-mute : hsl (220 14% 17% );
136+ --vp-c-gray : hsl (220 8% 56% );
137+ --vp-c-gray-dark-1 : hsl (220 10% 39% );
138+ --vp-c-gray-dark-2 : hsl (220 12% 28% );
139+ --vp-c-gray-dark-3 : hsl (220 12% 23% );
140+ --vp-c-gray-dark-4 : hsl (220 14% 17% );
141+ --vp-c-gray-dark-5 : hsl (220 16% 13% );
142+
143+ /* // Backgrounds */
144+ /* --vp-c-bg: hsl(240, 2%, 11%); */
145+ --vp-custom-block-info-bg : hsl (220 14% 17% );
146+ /* --vp-c-gutter: hsl(220 20% 9%);
143147
144148 --vp-c-bg-alt: hsl(220 20% 9%);
145149 --vp-c-bg-soft: hsl(220 14% 17%);
146150 --vp-c-bg-mute: hsl(220 12% 23%);
147151 */
148152}
149153
150- /* Component: Algolia */
154+ /* Component: Algolia */
151155
152156.DocSearch {
153157 --docsearch-primary-color : var (--vp-c-brand ) !important ;
154158}
155159
156160/* Component: MathJax */
157161
158- mjx-container > svg {
162+ mjx-container > svg {
159163 display : block;
160164 margin : auto;
161165}
@@ -169,7 +173,7 @@ mjx-container {
169173 margin : auto 2px -2px ;
170174}
171175
172- mjx-container > svg {
176+ mjx-container > svg {
173177 margin : auto;
174178 display : inline-block;
175179}
@@ -178,27 +182,27 @@ mjx-container > svg {
178182 * Colors links
179183 * -------------------------------------------------------------------------- */
180184
181- : root {
182- --vp-c-brand-1 : # CB3C33 ;
183- --vp-c-brand-2 : # CB3C33 ;
184- --vp-c-brand-3 : # CB3C33 ;
185- --vp-c-sponsor : # ca2971 ;
185+ : root {
186+ --vp-c-brand-1 : # 086b9d ;
187+ --vp-c-brand-2 : # 086b9d ;
188+ --vp-c-brand-3 : # 086b9d ;
189+ --vp-c-sponsor : # 086b9d ;
186190 --vitest-c-sponsor-hover : # c13071 ;
187191}
188192
189193.dark {
190- --vp-c-brand-1 : # 91dd33 ;
191- --vp-c-brand-2 : # 91dd33 ;
192- --vp-c-brand-3 : # 91dd33 ;
193- --vp-c-sponsor : # 91dd33 ;
194- --vitest-c-sponsor-hover : # e51370 ;
194+ --vp-c-brand-1 : # 2795cc ;
195+ --vp-c-brand-2 : # 2795cc ;
196+ --vp-c-brand-3 : # 2795cc ;
197+ --vp-c-sponsor : # 2795cc ;
198+ --vitest-c-sponsor-hover : # CB3C33 ;
195199}
196200
197201/**
198202 * Change images from light to dark theme
199203 * -------------------------------------------------------------------------- */
200204
201- : root : not (.dark ) .dark-only {
205+ : root : not (.dark ) .dark-only {
202206 display : none;
203207}
204208
@@ -211,15 +215,18 @@ mjx-container > svg {
211215.VPDoc .has-aside .content-container {
212216 max-width : 100% !important ;
213217}
218+
214219.aside {
215220 max-width : 200px !important ;
216221 padding-left : 0 !important ;
217222}
223+
218224.VPDoc {
219225 padding-top : 15px !important ;
220226 padding-left : 5px !important ;
221227
222228}
229+
223230/* This one does the right menu */
224231
225232.VPDocOutlineItem li {
@@ -237,7 +244,7 @@ mjx-container > svg {
237244
238245@media (max-width : 960px ) {
239246 .VPDoc {
240- padding-left : 25px !important ;
247+ padding-left : 25px !important ;
241248 }
242249}
243250
@@ -254,13 +261,13 @@ mjx-container > svg {
254261/* Component: Docstring Custom Block */
255262
256263.jldocstring .custom-block {
257- border : 1px solid var (--vp-c-gray-2 );
258- color : var (--vp-c-text-1 )
264+ border : 1px solid var (--vp-c-gray-2 );
265+ color : var (--vp-c-text-1 )
259266}
260267
261268.jldocstring .custom-block summary {
262- font-weight : 700 ;
263- cursor : pointer;
264- user-select : none;
265- margin : 0 0 8px ;
266- }
269+ font-weight : 700 ;
270+ cursor : pointer;
271+ user-select : none;
272+ margin : 0 0 8px ;
273+ }
0 commit comments