Closed
Description
The following changes will be part of the Guidelines 3.0 to the button element:
General
-
background-color
should change on hover hover with a transition - Retrieve colors from the new DB UI Base values
- Decide for an animation
Variants
-
Brand primary
becomes the regularPrimary
button -
Primary
becomesSecondary Inverted
-
Secondary Outline
becomesSecondary
-
Secondary Solid
becomesTertiary
-
Tertiary Plain
becomesGhost
States
- Disabled state gets styled by opacity-only again instead of additionally defining all disabled buttons by the grey color
- reworked: black-color-values for
Hover
andPressed
states (Secondary
,Tertiary
andGhost
types) have been refactored to 12% forHover
and 24% forPressed
- Added loading state
Size
-
AddingXSmall
size -
reworked: AddingXLarge
andXXSmall
sizes - Renaming
regular
size tomedium
- reworked: Button sizes S and XS use 16px icons
Content
- Removing icon after label from the examples
Behaviour
- Adding
FullWidth
Additionally
-
CHANGELOG.md
entries, both for prereleases (underneathUnreleased
at the beginning) as well as in a hidden (by comment) summary at the beginning -
docs/migrationGuide.adoc
- Test-URLs:
.pa11yci
andtests/backstop.json