1+ /* DocSearch Variables */
2+
3+ :root {
4+ --docsearch-primary-color : rgb (84 , 104 , 255 );
5+ --docsearch-text-color : rgb (28 , 30 , 33 );
6+ --docsearch-spacing : 12px ;
7+ --docsearch-icon-stroke-width : 1.4 ;
8+ --docsearch-highlight-color : var (--docsearch-primary-color );
9+ --docsearch-muted-color : rgb (150 , 159 , 175 );
10+ --docsearch-container-background : rgba (101 , 108 , 133 , 0.8 );
11+ --docsearch-logo-color : rgba (84 , 104 , 255 );
12+
13+ /* modal */
14+ --docsearch-modal-width : 560px ;
15+ --docsearch-modal-height : 600px ;
16+ --docsearch-modal-background : rgb (245 , 246 , 247 );
17+ --docsearch-modal-shadow : inset 1px 1px 0 0 rgba (255 , 255 , 255 , 0.5 ), 0 3px 8px 0 rgba (85 , 90 , 100 , 1 );
18+
19+ /* searchbox */
20+ --docsearch-searchbox-height : 56px ;
21+ --docsearch-searchbox-background : rgb (235 , 237 , 240 );
22+ --docsearch-searchbox-focus-background : #fff ;
23+ --docsearch-searchbox-shadow : inset 0 0 0 2px var (--docsearch-primary-color );
24+
25+ /* hit */
26+ --docsearch-hit-height : 56px ;
27+ --docsearch-hit-color : rgb (68 , 73 , 80 );
28+ --docsearch-hit-active-color : #fff ;
29+ --docsearch-hit-background : #fff ;
30+ --docsearch-hit-shadow : 0 1px 3px 0 rgb (212 , 217 , 225 );
31+
32+ /* key */
33+ --docsearch-key-gradient : linear-gradient (-225deg , rgb (213 , 219 , 228 ) 0% , rgb (248 , 248 , 248 ) 100% );
34+ --docsearch-key-shadow : inset 0 -2px 0 0 rgb (205 , 205 , 230 ), inset 0 0 1px 1px #fff , 0 1px 2px 1px rgba (30 , 35 , 90 , 0.4 );
35+ --docsearch-key-pressed-shadow : inset 0 -2px 0 0 #cdcde6 , inset 0 0 1px 1px #fff , 0 1px 1px 0 rgba (30 , 35 , 90 , 0.4 );
36+ /* footer */
37+ --docsearch-footer-height : 44px ;
38+ --docsearch-footer-background : #fff ;
39+ --docsearch-footer-shadow : 0 -1px 0 0 rgb (224 , 227 , 232 ), 0 -3px 6px 0 rgba (69 , 98 , 155 , 0.12 );
40+ }
41+
42+ /* Darkmode */
43+
44+ html [data-bs-theme = " dark" ] {
45+ --docsearch-text-color : rgb (245 , 246 , 247 );
46+ --docsearch-container-background : rgba (9 , 10 , 17 , 0.8 );
47+ --docsearch-modal-background : rgb (21 , 23 , 42 );
48+ --docsearch-modal-shadow : inset 1px 1px 0 0 rgb (44 , 46 , 64 ), 0 3px 8px 0 rgb (0 , 3 , 9 );
49+ --docsearch-searchbox-background : rgb (9 , 10 , 17 );
50+ --docsearch-searchbox-focus-background : #000 ;
51+ --docsearch-hit-color : rgb (190 , 195 , 201 );
52+ --docsearch-hit-shadow : none ;
53+ --docsearch-hit-background : rgb (9 , 10 , 17 );
54+ --docsearch-key-gradient : linear-gradient (-26.5deg , rgb (86 , 88 , 114 ) 0% , rgb (49 , 53 , 91 ) 100% );
55+ --docsearch-key-shadow : inset 0 -2px 0 0 rgb (40 , 45 , 85 ), inset 0 0 1px 1px rgb (81 , 87 , 125 ), 0 2px 2px 0 rgba (3 , 4 , 9 , 0.3 );
56+ --docsearch-key-pressed-shadow : inset 0 -2px 0 0 #282d55 , inset 0 0 1px 1px #51577d , 0 1px 1px 0 #0304094d ;
57+ --docsearch-footer-background : rgb (30 , 33 , 54 );
58+ --docsearch-footer-shadow : inset 0 1px 0 0 rgba (73 , 76 , 106 , 0.5 ), 0 -4px 8px 0 rgba (0 , 0 , 0 , 0.2 );
59+ --docsearch-logo-color : rgb (255 , 255 , 255 );
60+ --docsearch-muted-color : rgb (127 , 132 , 151 );
61+ }
0 commit comments