use error color for invalid poses
I tweaked it to be a bit less aggressive of a red 😅
This commit is contained in:
parent
f2d48cad84
commit
905b41aa7c
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@ function SpeciesColorPicker({
|
||||||
_hover={{
|
_hover={{
|
||||||
borderColor: "green.400",
|
borderColor: "green.400",
|
||||||
}}
|
}}
|
||||||
|
isInvalid={valids && !pairIsValid(valids, speciesId, colorId)}
|
||||||
|
errorBorderColor="red.300"
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue