This commit is contained in:
Nathan Bierema 2021-08-26 21:18:04 -04:00
parent 26eb4076ce
commit ed3e794618

View File

@ -27,7 +27,7 @@ export class Select<
{...this.props} {...this.props}
theme={(theme) => ({ theme={(theme) => ({
...theme, ...theme,
borderRadius: this.props.theme.inputBorderRadius, borderRadius: 0,
colors: { colors: {
...theme.colors, ...theme.colors,
@ -63,6 +63,11 @@ export class Select<
backgroundColor: props.isDisabled backgroundColor: props.isDisabled
? props.theme.colors.neutral10 ? props.theme.colors.neutral10
: props.theme.colors.neutral5, : props.theme.colors.neutral5,
borderColor: isDisabled
? colors.neutral10
: isFocused
? colors.primary
: colors.neutral20,
}), }),
}} }}
/> />