Fixing button/select styles (#5810)

pull/5696/head^2
Leo Giovanetti 2022-11-30 13:13:20 -03:00 committed by GitHub
parent 310936125d
commit 0e0940f5f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -104,7 +104,7 @@ const buttonClasses = cva(
className:
"bg-gray-100 text-gray-900/30 dark:bg-darkgray-100 dark:text-darkgray-900/30 dark:border-darkgray-200",
},
applyStyleToMultipleVariants({
...applyStyleToMultipleVariants({
disabled: [undefined, false],
color: "minimal",
className:

View File

@ -65,6 +65,7 @@ const Select = <
>({
className,
components,
styles,
...props
}: SelectProps<Option, IsMulti, Group>) => {
const reactSelectProps = React.useMemo(() => {
@ -86,6 +87,7 @@ const Select = <
? "var(--brand-color-dark-mode)"
: "var(--brand-text-color)",
}),
...styles,
}}
/>
);