@@ -64,11 +64,13 @@ export function DocSearch(props: DocSearchProps) {
6464 onClick = { onOpen }
6565 innerFocusRing
6666 sx = { {
67- borderRadius : [ BorderRadius . FULL , null , null , BorderRadius . S ] ,
68- '&:focus-visible' : { outline : [ 'none' , null , null , `${ BorderWidth [ '4px' ] } solid ${ theme . colors ! . Purple16 } ` ] } ,
67+ borderRadius : [ BorderRadius . FULL , null , null , null , BorderRadius . S ] ,
68+ '&:focus-visible' : {
69+ outline : [ 'none' , null , null , null , `${ BorderWidth [ '4px' ] } solid ${ theme . colors . Purple16 } ` ] ,
70+ } ,
6971 } }
7072 >
71- < Responsive . Multiple as = "span" cases = { [ 'mobile' , null , null , 'desktop' ] } >
73+ < Responsive . Multiple as = "span" cases = { [ 'mobile' , null , null , null , 'desktop' ] } >
7274 { ( caseName ) => {
7375 switch ( caseName ) {
7476 case 'mobile' :
@@ -158,17 +160,17 @@ export function DocSearch(props: DocSearchProps) {
158160 styles = { {
159161 html : {
160162 '--docsearch-spacing' : '0 !important' ,
161- '--docsearch-container-background' : `${ theme . colors ! . Midnight88 } !important` ,
163+ '--docsearch-container-background' : `${ theme . colors . Midnight88 } !important` ,
162164 '--docsearch-modal-width' : 'min(calc(100vw - 32px), 840px) !important' ,
163- '--docsearch-modal-background' : `${ theme . colors ! . Tooltip } !important` ,
165+ '--docsearch-modal-background' : `${ theme . colors . Tooltip } !important` ,
164166 '--docsearch-modal-shadow' : 'none !important' ,
165167 '--docsearch-searchbox-height' : [ '64px !important' , null , '96px !important' ] ,
166168 '--docsearch-searchbox-focus-background' : 'transparent !important' ,
167169 '--docsearch-searchbox-shadow' : 'none !important' ,
168170 '--docsearch-hit-background' : 'transparent !important' ,
169- '--docsearch-hit-color' : `${ theme . colors ! . White88 } !important` ,
170- '--docsearch-hit-active-color' : `${ theme . colors ! . White } !important` ,
171- '--docsearch-highlight-color' : `${ theme . colors ! . Purple } !important` ,
171+ '--docsearch-hit-color' : `${ theme . colors . White88 } !important` ,
172+ '--docsearch-hit-active-color' : `${ theme . colors . White } !important` ,
173+ '--docsearch-highlight-color' : `${ theme . colors . Purple } !important` ,
172174 } ,
173175 '.DocSearch-Container' : {
174176 animation : `${ animationFadeIn } 150ms ease-in-out` ,
0 commit comments