-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Theming Variants support for components in Flow #4318
Comments
We already have the |
An example of how the variants are defined in the component resources https://github.com/vaadin/vaadin-button/blob/master/theme/lumo/vaadin-button-styles.html#L42 |
Variants support is added to the generator, the components have been regenerated. What's left:
Before proceeding with the task, it might make sense to wait until components with Material theme are used in generator so that all the components have variants for both themes. |
Hence, in order not to duplicate the API, no variants added. |
related APIs has been added and demos have been added to components too. ready to finish this ticket |
When building UIs with component APIs, I want to use a high level API for customizing the look and feel of the components that my IDE can autocomplete for me, so that I can be productive
Currently in V10 it is required to use either the
ThemeList
mixin interface API or the Element API to access thetheme
attribute. The applicable theme variants for the components are not specified in anywhere in Java code.Acceptance Criteria
The text was updated successfully, but these errors were encountered: