Skip to content

Commit 4356586

Browse files
authored
Merge pull request #13925 from ethereum/select-hover
fix: Select hover border color contrast ratio
2 parents a8b4188 + 297b5dc commit 4356586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ui/Select/innerComponents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const selectVariants = tv({
1919
container:
2020
"w-full min-h-10.5 [--border-base-width:1px] relative z-[1] cursor-pointer",
2121
control:
22-
"p-2 flex items-center gap-4 border-[length:var(--border-base-width)] border-current text-[color:var(--my-var)] not-[[data-expanded=true]]:focus-within:outline-3 not-[[data-expanded=true]]:focus-within:outline-primary-hover not-[[data-expanded=true]]:focus-within:outline -outline-offset-2 [&[data-expanded=true]]:bg-background-highlight [&[data-expanded=true]]:text-primary [&[data-expanded=true]]:border-primary-low-contrast hover:text-primary hover:border-primary-low-contrast",
22+
"p-2 flex items-center gap-4 border-[length:var(--border-base-width)] border-current text-[color:var(--my-var)] not-[[data-expanded=true]]:focus-within:outline-3 not-[[data-expanded=true]]:focus-within:outline-primary-hover not-[[data-expanded=true]]:focus-within:outline -outline-offset-2 [&[data-expanded=true]]:bg-background-highlight [&[data-expanded=true]]:text-primary [&[data-expanded=true]]:border-primary-low-contrast hover:text-primary hover:border-primary-high-contrast",
2323
indicatorIcon:
2424
"text-sm leading-none transition-transform [*[data-expanded=true]_&]:rotate-180",
2525
menu: "-z-[1] absolute w-full",

0 commit comments

Comments
 (0)