When using MUI v5, I am encountering an issue where the first button in the code provided is only half working. The button is initially colored red (both the border and text), however, upon hovering over it, the color of the border changes to blue. This is because the style is being inherited from the default blue of the ButtonGroup.
I am seeking a solution to force the first button to maintain its red border even on hover, preferably in the 'mui 5' way using sx or emotion properties.
Current behavior: the border and text of the first button are red, but the border changes to blue on hover.
Desired behavior: the border and text of the first button should remain red at all times.
Any assistance on this matter would be greatly appreciated :)
<ButtonGroup variant="outlined">
<Button color="error">
Again
</Button>
<Button>
Good
</Button>
</ButtonGroup>