@@ -14,7 +14,7 @@ const Command = React.forwardRef<
14
14
< CommandPrimitive
15
15
ref = { ref }
16
16
className = { cn (
17
- "text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md bg-background-highlight" ,
17
+ "flex h-full w-full flex-col overflow-hidden rounded-md bg-background-highlight text-body " ,
18
18
className
19
19
) }
20
20
{ ...props }
@@ -28,7 +28,7 @@ const CommandDialog = ({ children, ...props }: CommandDialogProps) => {
28
28
return (
29
29
< Dialog { ...props } >
30
30
< DialogContent className = "overflow-hidden p-0 shadow-lg" >
31
- < Command className = "[&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5" >
31
+ < Command className = "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-disabled [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5" >
32
32
{ children }
33
33
</ Command >
34
34
</ DialogContent >
@@ -56,7 +56,7 @@ const CommandInput = React.forwardRef<
56
56
< CommandPrimitive . Input
57
57
ref = { ref }
58
58
className = { cn (
59
- "placeholder:text-muted-foreground flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none disabled:cursor-not-allowed disabled:opacity-50" ,
59
+ "flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-disabled disabled:cursor-not-allowed disabled:opacity-50" ,
60
60
className
61
61
) }
62
62
{ ...props }
@@ -108,7 +108,7 @@ const CommandGroup = React.forwardRef<
108
108
< CommandPrimitive . Group
109
109
ref = { ref }
110
110
className = { cn (
111
- "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium" ,
111
+ "text-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-disabled " ,
112
112
className
113
113
) }
114
114
{ ...props }
@@ -136,7 +136,7 @@ const CommandItem = React.forwardRef<
136
136
< CommandPrimitive . Item
137
137
ref = { ref }
138
138
className = { cn (
139
- "aria-selected:text-accent-foreground relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-primary-low-contrast data-[disabled='true']:pointer-events-none data-[disabled='true']:opacity-50" ,
139
+ "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-primary-low-contrast aria-selected:text-body data-[disabled='true']:pointer-events-none data-[disabled='true']:opacity-50" ,
140
140
className
141
141
) }
142
142
{ ...props }
@@ -151,10 +151,7 @@ const CommandShortcut = ({
151
151
} : React . HTMLAttributes < HTMLSpanElement > ) => {
152
152
return (
153
153
< span
154
- className = { cn (
155
- "text-muted-foreground ml-auto text-xs tracking-widest" ,
156
- className
157
- ) }
154
+ className = { cn ( "ml-auto text-xs tracking-widest text-disabled" , className ) }
158
155
{ ...props }
159
156
/>
160
157
)
0 commit comments