1919
2020/* Light Mode */
2121: root {
22- --vp-c-bg : oklch ( 98.7 % .026 102.212 ) ;
23- --vp-c-bg-alt : oklch ( 98.7 % .026 102.212 ) ;
24- --vp-c-bg-soft : oklch ( 98.7 % .026 102.212 );
25- --vp-c-bg-elv : oklch ( 98.7 % .026 102.212 ) ;
26- --vp-c-bg-mute : # f0f0f0 ;
22+ --vp-c-bg : transparent ;
23+ --vp-c-bg-alt : transparent ;
24+ --vp-c-bg-soft : rgba ( 255 , 255 , 255 , 0.3 );
25+ --vp-c-bg-elv : transparent ;
26+ --vp-c-bg-mute : rgba ( 240 , 240 , 240 , 0.4 ) ;
2727 --vp-c-text-1 : # 000 ;
2828 --vp-c-text-2 : # 000 ;
2929 --vp-c-text-3 : # 000 ;
3535 --vp-shadow-3 : none;
3636 --vp-shadow-4 : none;
3737 --vp-shadow-5 : none;
38- --vp-home-hero-name-background : oklch ( 98.7 % .026 102.212 ) ;
38+ --vp-home-hero-name-background : transparent ;
3939 --vp-home-hero-name-color : # 000 ;
40- --vp-sidebar-bg-color : oklch ( 98.7 % .026 102.212 );
41- --vp-nav-bg-color : oklch ( 98.7 % .026 102.212 );
42- --vp-local-nav-bg-color : oklch ( 98.7 % .026 102.212 );
40+ --vp-sidebar-bg-color : rgba ( 255 , 255 , 255 , 0.5 );
41+ --vp-nav-bg-color : rgba ( 255 , 255 , 255 , 0.7 );
42+ --vp-local-nav-bg-color : rgba ( 255 , 255 , 255 , 0.7 );
4343 --vp-c-default-1 : # 000 ;
4444 --vp-c-default-2 : # 000 ;
4545 --vp-c-default-3 : # 000 ;
46- --vp-c-default-soft : oklch ( 98.7 % .026 102.212 ) ;
47- --vp-button-alt-bg : oklch ( 98.7 % .026 102.212 );
46+ --vp-c-default-soft : transparent ;
47+ --vp-button-alt-bg : rgba ( 255 , 255 , 255 , 0.5 );
4848 --vp-button-alt-text : # 000 ;
49- --vp-c-neutral : oklch ( 98.7 % .026 102.212 ) ;
49+ --vp-c-neutral : transparent ;
5050 --vp-c-neutral-inverse : # 000 ;
5151 --vp-c-brand : # 5b21b6 ;
5252}
5353
5454/* Dark Mode */
5555.dark {
56- --vp-c-bg : # 181636 ;
57- --vp-c-bg-alt : # 181636 ;
58- --vp-c-bg-soft : # 181636 ;
59- --vp-c-bg-elv : # 181636 ;
60- --vp-c-bg-mute : # 2a2550 ;
56+ --vp-c-bg : transparent ;
57+ --vp-c-bg-alt : transparent ;
58+ --vp-c-bg-soft : rgba ( 24 , 22 , 54 , 0.3 ) ;
59+ --vp-c-bg-elv : transparent ;
60+ --vp-c-bg-mute : rgba ( 42 , 37 , 80 , 0.4 ) ;
6161 --vp-c-text-1 : # fafafa ;
6262 --vp-c-text-2 : # fafafa ;
6363 --vp-c-text-3 : # fafafa ;
6969 --vp-shadow-3 : none;
7070 --vp-shadow-4 : none;
7171 --vp-shadow-5 : none;
72- --vp-home-hero-name-background : # 181636 ;
72+ --vp-home-hero-name-background : transparent ;
7373 --vp-home-hero-name-color : # fafafa ;
74- --vp-sidebar-bg-color : # 181636 ;
75- --vp-nav-bg-color : # 181636 ;
76- --vp-local-nav-bg-color : # 181636 ;
74+ --vp-sidebar-bg-color : rgba ( 24 , 22 , 54 , 0.5 ) ;
75+ --vp-nav-bg-color : rgba ( 24 , 22 , 54 , 0.7 ) ;
76+ --vp-local-nav-bg-color : rgba ( 24 , 22 , 54 , 0.7 ) ;
7777 --vp-c-default-1 : # fafafa ;
7878 --vp-c-default-2 : # fafafa ;
7979 --vp-c-default-3 : # fafafa ;
80- --vp-c-default-soft : # 181636 ;
81- --vp-button-alt-bg : # 181636 ;
80+ --vp-c-default-soft : transparent ;
81+ --vp-button-alt-bg : rgba ( 24 , 22 , 54 , 0.5 ) ;
8282 --vp-button-alt-text : # fafafa ;
83- --vp-c-neutral : # 181636 ;
83+ --vp-c-neutral : transparent ;
8484 --vp-c-neutral-inverse : # fafafa ;
8585 --vp-c-brand : # 8b5cf6 ;
8686}
@@ -127,7 +127,6 @@ html.dark .VPButton.alt:hover {
127127}
128128
129129/* Direct element styles for Light Mode */
130- html : not (.dark ) body ,
131130html : not (.dark ) # app ,
132131html : not (.dark ) .Layout ,
133132html : not (.dark ) .VPNav ,
@@ -144,7 +143,7 @@ html:not(.dark) div[class*="Vp"],
144143html : not (.dark ) .divider ,
145144html : not (.dark ) aside ,
146145html : not (.dark ) main {
147- background-color : oklch ( 98.7 % .026 102.212 ) !important ;
146+ background-color : transparent !important ;
148147 color : # 000 !important ;
149148}
150149
@@ -173,7 +172,6 @@ html:not(.dark) .VPSidebar {
173172}
174173
175174/* Direct element styles for Dark Mode */
176- html .dark body ,
177175html .dark # app ,
178176html .dark .Layout ,
179177html .dark .VPNav ,
@@ -190,7 +188,7 @@ html.dark div[class*="Vp"],
190188html .dark .divider ,
191189html .dark aside ,
192190html .dark main {
193- background-color : # 181636 !important ;
191+ background-color : transparent !important ;
194192 color : # fafafa !important ;
195193}
196194
@@ -302,11 +300,81 @@ img[src*="arch-layers"] {
302300
303301.VPFeature {
304302 border : none;
305- background-color : color-mix (in srgb , var ( --vp-c-bg-soft ) 98 % , # 000 ) !important ;
303+ background-color : rgba ( 255 , 255 , 255 , 0.2 ) !important ;
306304}
307305
308306html .dark .VPFeature {
309- background-color : color-mix (in srgb, var (--vp-c-bg-soft ) 98% , # fff ) !important ;
307+ background-color : rgba (24 , 22 , 54 , 0.2 ) !important ;
308+ }
309+
310+ .box {
311+ border : 1px solid var (--vp-c-brand-1 ) !important ;
312+ border-radius : 12px !important ;
313+ }
314+
315+ html : not (.dark ) .VPNavBar ,
316+ html : not (.dark ) .VPNavBar .container ,
317+ html : not (.dark ) .VPNavBar .content ,
318+ html : not (.dark ) .VPNavBar .wrapper ,
319+ html : not (.dark ) .VPNavBar .title ,
320+ html : not (.dark ) .VPNavBar .divider {
321+ background-color : oklch (98.7% .026 102.212 ) !important ;
322+ }
323+
324+ html : not (.dark ) .VPNavBar * : not (.VPSwitchAppearance ): not (.VPSwitch ): not (.check ): not ([class *= "switch" ]): not (svg ): not (path ): not (circle ) {
325+ color : # 000 !important ;
326+ }
327+
328+ html : not (.dark ) .VPNavBar svg ,
329+ html : not (.dark ) .VPNavBar path {
330+ fill : # 000 !important ;
331+ }
332+
333+ html .dark .VPNavBar ,
334+ html .dark .VPNavBar .container ,
335+ html .dark .VPNavBar .content ,
336+ html .dark .VPNavBar .wrapper ,
337+ html .dark .VPNavBar .title ,
338+ html .dark .VPNavBar .divider {
339+ background-color : # 181636 !important ;
340+ }
341+
342+ html .dark .VPNavBar * : not (.VPSwitchAppearance ): not (.VPSwitch ): not (.check ): not ([class *= "switch" ]): not (svg ): not (path ): not (circle ) {
343+ color : # fafafa !important ;
344+ }
345+
346+ html .dark .VPNavBar svg ,
347+ html .dark .VPNavBar path {
348+ fill : # fafafa !important ;
349+ }
350+
351+ .curtain {
352+ background-color : transparent !important ;
353+ }
354+
355+ /* Dark/Light Mode Toggle sichtbar machen */
356+ html : not (.dark ) .VPSwitchAppearance ,
357+ html : not (.dark ) .VPSwitch ,
358+ html : not (.dark ) .VPSwitchAppearance * ,
359+ html : not (.dark ) .VPSwitch * {
360+ background-color : transparent !important ;
361+ color : # 000 !important ;
362+ }
363+
364+ html .dark .VPSwitchAppearance ,
365+ html .dark .VPSwitch ,
366+ html .dark .VPSwitchAppearance * ,
367+ html .dark .VPSwitch * {
368+ background-color : transparent !important ;
369+ color : # fafafa !important ;
370+ }
371+
372+ html : not (.dark ) .VPSwitch .check {
373+ background-color : # 000 !important ;
374+ }
375+
376+ html .dark .VPSwitch .check {
377+ background-color : # fafafa !important ;
310378}
311379
312380
@@ -534,3 +602,70 @@ html.dark .VPFeature {
534602 display : table;
535603 }
536604}
605+
606+ /* Body background colors */
607+ body {
608+ background-color : oklch (98.7% .026 102.212 );
609+ }
610+
611+ html .dark body {
612+ background-color : # 181636 ;
613+ }
614+
615+ /* Search elements should have backgrounds */
616+ html : not (.dark ) .VPNavBarSearch ,
617+ html : not (.dark ) .VPNavBarSearch * ,
618+ html : not (.dark ) .DocSearch ,
619+ html : not (.dark ) .DocSearch * ,
620+ html : not (.dark ) .VPLocalSearchBox ,
621+ html : not (.dark ) .VPLocalSearchBox * ,
622+ html : not (.dark ) [class *= "search" ],
623+ html : not (.dark ) [class *= "search" ] * ,
624+ html : not (.dark ) .DocSearch-Modal ,
625+ html : not (.dark ) .DocSearch-Modal * ,
626+ html : not (.dark ) .DocSearch-Form ,
627+ html : not (.dark ) .DocSearch-Input ,
628+ html : not (.dark ) .local-search ,
629+ html : not (.dark ) .local-search * {
630+ background-color : oklch (98.7% .026 102.212 ) !important ;
631+ color : # 000 !important ;
632+ }
633+
634+ html .dark .VPNavBarSearch ,
635+ html .dark .VPNavBarSearch * ,
636+ html .dark .DocSearch ,
637+ html .dark .DocSearch * ,
638+ html .dark .VPLocalSearchBox ,
639+ html .dark .VPLocalSearchBox * ,
640+ html .dark [class *= "search" ],
641+ html .dark [class *= "search" ] * ,
642+ html .dark .DocSearch-Modal ,
643+ html .dark .DocSearch-Modal * ,
644+ html .dark .DocSearch-Form ,
645+ html .dark .DocSearch-Input ,
646+ html .dark .local-search ,
647+ html .dark .local-search * {
648+ background-color : # 181636 !important ;
649+ color : # fafafa !important ;
650+ }
651+
652+ /* Background images for light and dark mode */
653+ body : before {
654+ content : "" ;
655+ opacity : .2 ;
656+ pointer-events : none;
657+ z-index : -1 ;
658+ background-image : url (/bg-light.svg);
659+ background-position : 100% 100% ;
660+ background-repeat : no-repeat;
661+ background-size : 84vh ;
662+ width : 100% ;
663+ height : 100% ;
664+ position : fixed;
665+ top : 0 ;
666+ right : 0 ;
667+ }
668+
669+ .dark body : before {
670+ background-image : url (/bg-dark.svg);
671+ }
0 commit comments