@@ -63,41 +63,36 @@ export function CommandMenu() {
6363 </ button >
6464
6565 { open && (
66- < div className = "fixed inset-0 z-50 " >
67- { /* Glassmorphic backdrop */ }
66+ < div className = "fixed inset-0 z-[100] " >
67+ { /* Solid backdrop */ }
6868 < div
69- className = "fixed inset-0 bg-background/60 backdrop-blur-md "
69+ className = "fixed inset-0 bg-black/80 backdrop-blur-sm "
7070 onClick = { ( ) => setOpen ( false ) }
7171 />
7272
73- { /* Glassmorphic dialog */ }
74- < div className = "fixed left-[50%] top-[20%] z-50 w-full max-w-lg translate-x-[-50%] p-4" >
75- { /* Gradient glow behind - Purple only */ }
76- < div className = "absolute inset-0 -m-4 bg-primary/20 blur-3xl opacity-50" />
77-
73+ { /* Dialog */ }
74+ < div className = "fixed left-[50%] top-[20%] z-[101] w-full max-w-lg translate-x-[-50%] p-4" >
7875 < Command className = { cn (
7976 'relative rounded-2xl overflow-hidden' ,
80- 'bg-popover/90 dark:bg-popover/80 backdrop-blur-2xl' ,
81- 'border border-white/20 dark:border-white/10' ,
82- 'shadow-2xl shadow-black/20' ,
83- 'text-popover-foreground'
77+ 'bg-zinc-900 border border-zinc-700' ,
78+ 'shadow-2xl shadow-black/50'
8479 ) } >
8580 { /* Search input */ }
86- < div className = "flex items-center border-b border-border/50 px-4 bg-muted/30 " >
87- < Search className = "mr-3 h-4 w-4 shrink-0 text-muted-foreground " />
81+ < div className = "flex items-center border-b border-zinc-700 px-4 bg-zinc-800 " >
82+ < Search className = "mr-3 h-4 w-4 shrink-0 text-zinc-400 " />
8883 < Command . Input
8984 placeholder = "Search documentation..."
90- className = "flex h-12 w-full bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50"
85+ className = "flex h-12 w-full bg-transparent py-3 text-sm text-zinc-100 outline-none placeholder:text-zinc-500 disabled:cursor-not-allowed disabled:opacity-50"
9186 />
9287 </ div >
9388
94- < Command . List className = "max-h-[320px] overflow-y-auto p-2" >
95- < Command . Empty className = "py-8 text-center text-sm text-muted-foreground " >
89+ < Command . List className = "max-h-[320px] overflow-y-auto p-2 bg-zinc-900 " >
90+ < Command . Empty className = "py-8 text-center text-sm text-zinc-500 " >
9691 No results found.
9792 </ Command . Empty >
9893
9994 < Command . Group heading = "Pages" className = "px-2 py-2" >
100- < div className = "text-xs font-medium text-muted-foreground/70 uppercase tracking-wider mb-2" >
95+ < div className = "text-xs font-medium text-zinc-500 uppercase tracking-wider mb-2" >
10196 Pages
10297 </ div >
10398 { pages . map ( ( page ) => (
@@ -108,28 +103,27 @@ export function CommandMenu() {
108103 className = { cn (
109104 'relative flex cursor-pointer select-none items-center rounded-lg px-3 py-2.5 text-sm outline-none' ,
110105 'transition-all duration-150' ,
111- 'aria-selected:bg-primary/10 ' ,
112- 'aria-selected:border-l-2 aria-selected:border-primary ' ,
113- 'hover:bg-muted/50 ' ,
106+ 'text-zinc-300 ' ,
107+ 'aria-selected:bg-violet-600/20 aria-selected:text-white ' ,
108+ 'hover:bg-zinc-800 ' ,
114109 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50'
115110 ) }
116111 >
117112 < div className = { cn (
118113 'mr-3 flex h-8 w-8 items-center justify-center rounded-lg' ,
119- 'bg-muted/50 dark:bg-white/5' ,
120- 'border border-border/50 dark:border-white/10'
114+ 'bg-zinc-800 border border-zinc-700'
121115 ) } >
122- < page . icon className = "h-4 w-4 text-muted-foreground " />
116+ < page . icon className = "h-4 w-4 text-zinc-400 " />
123117 </ div >
124118 < span className = "flex-1 font-medium" > { page . title } </ span >
125- < ArrowRight className = "h-4 w-4 text-muted-foreground/50 group-aria-selected:text-foreground transition-transform group-aria-selected:translate-x-0.5 " />
119+ < ArrowRight className = "h-4 w-4 text-zinc-600 " />
126120 </ Command . Item >
127121 ) ) }
128122 </ Command . Group >
129123 </ Command . List >
130124
131125 { /* Footer hint */ }
132- < div className = "flex items-center justify-between border-t border-border/50 bg-muted/20 px-4 py-2 text-xs text-muted-foreground " >
126+ < div className = "flex items-center justify-between border-t border-zinc-700 bg-zinc-800 px-4 py-2 text-xs text-zinc-500 " >
133127 < span > Navigate with ↑↓</ span >
134128 < span > Select with ↵</ span >
135129 </ div >
0 commit comments