fix kbar theme

This commit is contained in:
Inhji 2023-04-01 12:32:22 +02:00
parent a1204de1aa
commit 3a4cc36823

View file

@ -32,7 +32,7 @@ const groupNameStyle = {
padding: "8px 16px", padding: "8px 16px",
fontSize: "10px", fontSize: "10px",
textTransform: "uppercase", textTransform: "uppercase",
opacity: 0.5, opacity: 0.75,
}; };
@ -44,7 +44,7 @@ function RenderResults() {
items={results} items={results}
onRender={({ item, active }) => onRender={({ item, active }) =>
typeof item === "string" ? ( typeof item === "string" ? (
<div style={groupNameStyle}>{item}</div> <div style={groupNameStyle} class="dark:text-white">{item}</div>
) : ( ) : (
<ResultItem <ResultItem
action={item} action={item}
@ -88,7 +88,7 @@ const ResultItem = React.forwardRef(
"border-l-2 border-emerald-300": active "border-l-2 border-emerald-300": active
})} })}
> >
<div className="flex gap-3 items-center text-sm"> <div className="flex gap-3 items-center text-sm dark:text-white">
{action.icon && action.icon} {action.icon && action.icon}
<div className="flex flex-col"> <div className="flex flex-col">
<div> <div>