Closed gfellerph closed 3 weeks ago
@Cian77 Could you update the focus styles for the button accordingly to what you did for the text-input?
@Vandapanda please add the disabled stroke tokens here as well:
@oliverschuerch @gfellerph
Changed focus styles accordingly
Token can be found as
See resolution on #3710 for sizing class handling
Description
Create the button component with tokens and new styles. The button should be backwards compatible with v1, this means that the same selectors should be used to style buttons. In addition to that, style default buttons (buttons without classes) as secondary buttons and submit buttons as primary buttons.
Design
https://www.figma.com/design/JIT5AdGYqv6bDRpfBPV8XR/Foundations-%26-Components-Next-Level?node-id=17-163
Tokens
Development
The button should be backwards compatible, therefore the current class selectors should stay the same for the new Design. Additionally, buttons without any classes should be styled as follows:
<button>Action</button>
or<input type="button" value="Action" />
should be displayed as a secondary buttons<button type="submit">Submit</button>
or<input type="submit" value="Submit" />
should be styled as primary buttonsThere are no animated buttons anymore. Remove the animated button styles and create a breaking changeset for these. Also, create an optional migration, because there is no need to update the button html structure, the class
btn-animated
will not do anything and the span inside does not hurt.Tasks