Skip to content

Commit

Permalink
refactor dropdown colors
Browse files Browse the repository at this point in the history
  • Loading branch information
yvesfracari committed Oct 21, 2024
1 parent 1b2536f commit 5caa211
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions packages/cow-hooks-ui/src/PoolsDropdownMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
"use client";

import { cn } from "@bleu/ui";
import { BalancerChainName } from "@bleu/utils";
import * as Dialog from "@radix-ui/react-dialog";
import {
Expand Down Expand Up @@ -52,12 +50,9 @@ export function PoolsDropdownMenu({
<div className="flex w-full flex-col items-center gap-2">
<Dialog.Root open={open} onOpenChange={setOpen}>
<Dialog.Trigger
className={cn(
"w-full flex p-2 justify-between rounded-xl space-x-1 items-center text-sm text-foreground group",
selectedPool
? "bg-muted shadow-sm text-foreground hover:bg-primary hover:text-primary-foreground"
: "bg-primary text-primary-foreground hover:bg-color-primary-lighter",
)}
className={
"w-full flex p-2 justify-between rounded-xl space-x-1 items-center text-sm bg-muted shadow-sm text-foreground group hover:bg-primary hover:text-primary-foreground"
}
onClick={() => setOpen(true)}
>
{selectedPool ? <PoolLogo pool={selectedPool} /> : "Select a pool"}
Expand Down

0 comments on commit 5caa211

Please sign in to comment.