fix: text color

This commit is contained in:
Curry Yang
2025-09-26 16:04:33 +08:00
committed by Kent Wang
parent 0be619782e
commit 4b987da47c

View File

@@ -28,7 +28,7 @@ export const Select = ({ value, onChange, className, options, ...rest }: SelectP
{...rest}
className={cn('', className)}
>
<Button className="flex w-full gap-2 rounded border border-solid border-[--hl-sm] px-2 py-1">
<Button className="flex w-full gap-2 rounded border border-solid border-[--hl-sm] px-2 py-1 text-[--color-font]">
<SelectValue className="flex-1" />
<span aria-hidden="true">
<Icon icon="chevron-down" />
@@ -39,7 +39,7 @@ export const Select = ({ value, onChange, className, options, ...rest }: SelectP
{options?.map(option => (
<ListBoxItem
className={({ isHovered, isPressed, isFocused }) =>
cn('flex min-h-[32px] cursor-pointer items-center px-2', {
cn('flex min-h-[32px] cursor-pointer items-center px-2 text-[--color-font]', {
'bg-[--hl-xs]': isHovered || isPressed || isFocused,
})
}