Special buttons (Success, Warning, Error) currently derive from primary-style buttons. This is often way more inviting than these actions should be.
Instead, Warning and Error should be derivative of secondary actions, as that is most often what they are. Keep the destructive styling, but remove the screaming :)
The one question is Success. It is used less than the others, but when used, it seems to be the primary action. As such, I'm keen on keeping the existing styling for it, but maybe someone can provide more context on its usage.
I would attach mockups but attachments on GitHub once again don't work.
cc @nextcloud/designers
Colors
Success (if we decide to use them)
Light
Contrast: 7.67 (AAA)
Dark
Contrast: 11.79 (AAA)
Warning
Light
Contrast: 7.46 (AAA)
Dark
Contrast: 11.18 (AAA)
Error
Light
Contrast: 7.1 (AAA)
Dark
Contrast: 8.17 (AAA)
Special buttons (Success, Warning, Error) currently derive from primary-style buttons. This is often way more inviting than these actions should be.
Instead, Warning and Error should be derivative of secondary actions, as that is most often what they are. Keep the destructive styling, but remove the screaming :)
The one question is Success. It is used less than the others, but when used, it seems to be the primary action. As such, I'm keen on keeping the existing styling for it, but maybe someone can provide more context on its usage.
I would attach mockups but attachments on GitHub once again don't work.
cc @nextcloud/designers
Colors
Success (if we decide to use them)
Light
#005416#D5F2DCContrast: 7.67 (AAA)
Dark
#D5F2DC#11321AContrast: 11.79 (AAA)
Warning
Light
#664700#FFEEC5Contrast: 7.46 (AAA)
Dark
#FFEEC5#3D3114Contrast: 11.18 (AAA)
Error
Light
#8A0000#FFCCCCContrast: 7.1 (AAA)
Dark
#FFCCCC#612525Contrast: 8.17 (AAA)