Fix disabled + focus button (#8259)

Before fix:
<img width="302" alt="Capture d’écran 2024-10-31 à 16 56 03"
src="https://github.com/user-attachments/assets/20e219a7-7020-4076-8e8a-bf4892dc0863">
After fix:
<img width="312" alt="Capture d’écran 2024-10-31 à 16 55 54"
src="https://github.com/user-attachments/assets/4b759b08-85cb-40ff-aacd-09b078f08033">
This commit is contained in:
Raphaël Bosi
2024-11-01 09:24:51 +01:00
committed by GitHub
parent c93d2bcd5e
commit a71a350ed2

View File

@@ -60,7 +60,7 @@ const StyledButton = styled('button', {
? theme.background.secondary
: theme.background.primary};
border-color: ${!inverted
? focus
? !disabled && focus
? theme.color.blue
: theme.background.transparent.light
: theme.background.transparent.light};