vaadin / vaadin-button-flow

Vaadin Flow Java API for vaadin/vaadin-button Web Component
https://vaadin.com/components/vaadin-button
Other
0 stars 8 forks source link

ButtonVariant is missing enum value for secondary #116

Closed Wnt closed 5 years ago

Wnt commented 5 years ago

There is ButtonVariant.LUMO_PRIMARY and ButtonVariant.LUMO_TERTIARY but none for secondary.

Legioth commented 5 years ago

The secondary style is the default that is used whenever neither of primary or tertiary is defined. There is no specific theme variant value for it: https://github.com/vaadin/vaadin-button/blob/master/theme/lumo/vaadin-button-styles.html doesn't have any selectors for [theme~="secondary"].