Skip to content

Commit 461a93d

Browse files
committed
fix: unite colors with console
1 parent 60f1eac commit 461a93d

File tree

2 files changed

+218
-214
lines changed

2 files changed

+218
-214
lines changed

src/components/databrowser/components/sidebar/keys-list.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { useTab } from "@/tab-provider"
12
import type { DataType, RedisKey } from "@/types"
23

34
import { cn } from "@/lib/utils"
@@ -6,7 +7,6 @@ import { TypeTag } from "@/components/databrowser/components/type-tag"
67

78
import { useKeys } from "../../hooks/use-keys"
89
import { SidebarContextMenu } from "../sidebar-context-menu"
9-
import { useTab } from "@/tab-provider"
1010

1111
export const KeysList = () => {
1212
const { keys } = useKeys()
@@ -44,7 +44,7 @@ const KeyItem = ({ data, nextKey }: { data: RedisKey; nextKey: string }) => {
4444
data-key={dataKey}
4545
variant={isKeySelected ? "default" : "ghost"}
4646
className={cn(
47-
"relative flex h-10 w-full items-center justify-start gap-2 px-3 py-0 !ring-0 focus-visible:bg-zinc-50 dark:focus-visible:bg-zinc-100",
47+
"relative flex h-10 w-full items-center justify-start gap-2 px-3 py-0 !ring-0 focus-visible:bg-zinc-50",
4848
"select-none border border-transparent text-left",
4949
isKeySelected && "shadow-sm",
5050
isKeySelected && keyStyles[dataType]

0 commit comments

Comments
 (0)