@@ -61,7 +61,7 @@ export const CommonHeader = ({
6161 "landing-md:backdrop-blur-[12px]" ,
6262 "z-[-1]" ,
6363 ! isLanding &&
64- "bg-gray-0 bg-opacity-80 dark:bg-zinc-900 dark:bg-opacity-80" ,
64+ "bg-white bg-opacity-80 dark:bg-zinc-900 dark:bg-opacity-80" ,
6565 isLanding && "bg-zinc-900 bg-opacity-80" ,
6666 "pointer-events-none" ,
6767 className ,
@@ -92,17 +92,17 @@ export const CommonHeader = ({
9292 < Link to = "/" onContextMenu = { openFigma } >
9393 < RefineCoreLogoIcon
9494 className = { clsx (
95- ! isLanding && "text-gray -900 dark:text-gray-0 " ,
96- isLanding && "text-gray-0 " ,
95+ ! isLanding && "text-zinc -900 dark:text-white " ,
96+ isLanding && "text-white " ,
9797 ) }
9898 />
9999 </ Link >
100100 </ div >
101101 < button
102102 type = "button"
103103 className = { clsx (
104- ! isLanding && "text-gray -900 dark:text-gray-0 " ,
105- isLanding && "text-gray-0 " ,
104+ ! isLanding && "text-zinc -900 dark:text-white " ,
105+ isLanding && "text-white " ,
106106 "block landing-md:hidden" ,
107107 ) }
108108 onClick = { ( ) => setIsModalOpen ( true ) }
@@ -226,8 +226,8 @@ const NavLinksDesktop = ({
226226 className = { clsx (
227227 "whitespace-nowrap" ,
228228 ! isLanding &&
229- "text-gray -900 dark:text-gray-0 hover:text-gray -900 dark:hover:text-gray-0 " ,
230- isLanding && "text-gray-0 hover:text-gray-0 " ,
229+ "text-zinc -900 dark:text-white hover:text-zinc -900 dark:hover:text-white " ,
230+ isLanding && "text-white hover:text-white " ,
231231 "hover:no-underline" ,
232232 "transition-colors" ,
233233 ) }
@@ -240,7 +240,7 @@ const NavLinksDesktop = ({
240240 className = { clsx (
241241 "h-6" ,
242242 "w-[1px]" ,
243- ! isLanding && "bg-gray -300 dark:bg-zinc-600" ,
243+ ! isLanding && "bg-zinc -300 dark:bg-zinc-600" ,
244244 isLanding && "bg-zinc-600" ,
245245 ) }
246246 />
@@ -250,8 +250,8 @@ const NavLinksDesktop = ({
250250 className = { clsx (
251251 "whitespace-nowrap" ,
252252 ! isLanding &&
253- "text-gray -900 dark:text-gray-0 hover:text-gray -900 dark:hover:text-gray-0 " ,
254- isLanding && "text-gray-0 hover:text-gray-0 " ,
253+ "text-zinc -900 dark:text-white hover:text-zinc -900 dark:hover:text-white " ,
254+ isLanding && "text-white hover:text-white " ,
255255 "hover:no-underline" ,
256256 "transition-colors" ,
257257 ) }
@@ -295,7 +295,7 @@ const MobileMenuModal = ({
295295 "fixed" ,
296296 "inset-0" ,
297297 "z-[999]" ,
298- ! isLanding && "bg-gray-0 dark:bg-zinc-900" ,
298+ ! isLanding && "bg-white dark:bg-zinc-900" ,
299299 isLanding && "bg-zinc-900" ,
300300 "flex" ,
301301 "flex-col" ,
@@ -310,15 +310,15 @@ const MobileMenuModal = ({
310310 "px-4" ,
311311 "h-16" ,
312312 "border-b" ,
313- ! isLanding && "border-gray -200 dark:border-zinc-700" ,
313+ ! isLanding && "border-zinc -200 dark:border-zinc-700" ,
314314 isLanding && "border-zinc-700" ,
315315 ) }
316316 >
317317 < Link to = "/" onClick = { onClose } >
318318 < RefineCoreLogoIcon
319319 className = { clsx (
320- ! isLanding && "text-gray -900 dark:text-white" ,
321- isLanding && "text-gray-0 " ,
320+ ! isLanding && "text-zinc -900 dark:text-white" ,
321+ isLanding && "text-white " ,
322322 ) }
323323 />
324324 </ Link >
@@ -329,8 +329,8 @@ const MobileMenuModal = ({
329329 "flex" ,
330330 "items-center" ,
331331 "gap-2" ,
332- ! isLanding && "text-gray -900 dark:text-white" ,
333- isLanding && "text-gray-0 " ,
332+ ! isLanding && "text-zinc -900 dark:text-white" ,
333+ isLanding && "text-white " ,
334334 "text-sm" ,
335335 "font-normal" ,
336336 ) }
@@ -378,9 +378,9 @@ const MobileMenuModal = ({
378378 "px-4" ,
379379 "py-3.5" ,
380380 ! isLanding &&
381- "bg-gray -100 dark:bg-zinc-800 hover:bg-gray -200 dark:hover:bg-zinc-700 rounded-lg text-gray -900 dark:text-white" ,
381+ "bg-zinc -100 dark:bg-zinc-800 hover:bg-zinc -200 dark:hover:bg-zinc-700 rounded-lg text-zinc -900 dark:text-white" ,
382382 isLanding &&
383- "bg-zinc-800 hover:bg-zinc-700 rounded-lg text-gray-0 " ,
383+ "bg-zinc-800 hover:bg-zinc-700 rounded-lg text-white " ,
384384 "text-sm" ,
385385 "font-normal" ,
386386 "hover:no-underline" ,
@@ -396,7 +396,7 @@ const MobileMenuModal = ({
396396 < div
397397 className = { clsx (
398398 "h-[1px]" ,
399- ! isLanding && "bg-gray -200 dark:bg-zinc-700" ,
399+ ! isLanding && "bg-zinc -200 dark:bg-zinc-700" ,
400400 isLanding && "bg-zinc-700" ,
401401 "my-6" ,
402402 ) }
@@ -415,8 +415,8 @@ const MobileMenuModal = ({
415415 "px-4" ,
416416 "py-3.5" ,
417417 ! isLanding &&
418- "bg-gray -100 dark:bg-zinc-800 hover:bg-gray -200 dark:hover:bg-zinc-700 rounded-lg text-gray -900 dark:text-white" ,
419- isLanding && "bg-zinc-800 hover:bg-zinc-700 rounded-lg text-gray-0 " ,
418+ "bg-zinc -100 dark:bg-zinc-800 hover:bg-zinc -200 dark:hover:bg-zinc-700 rounded-lg text-zinc -900 dark:text-white" ,
419+ isLanding && "bg-zinc-800 hover:bg-zinc-700 rounded-lg text-white " ,
420420 "text-sm" ,
421421 "font-normal" ,
422422 "hover:no-underline" ,
@@ -434,7 +434,7 @@ const MobileMenuModal = ({
434434 "py-6" ,
435435 "border-t" ,
436436 ! isLanding &&
437- "border-gray -200 dark:border-zinc-700 bg-gray -50 dark:bg-black" ,
437+ "border-zinc -200 dark:border-zinc-700 bg-zinc -50 dark:bg-black" ,
438438 isLanding && "border-zinc-700 bg-black" ,
439439 ) }
440440 >
@@ -444,8 +444,8 @@ const MobileMenuModal = ({
444444 < div
445445 className = { clsx (
446446 "ml-4" ,
447- ! isLanding && "text-gray -900 dark:text-white" ,
448- isLanding && "text-gray-0 " ,
447+ ! isLanding && "text-zinc -900 dark:text-white" ,
448+ isLanding && "text-white " ,
449449 ) }
450450 >
451451 If you like Refine, don’t forget to star us on GitHub!
0 commit comments