Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
Correct the theme variant demo (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZheSun88 committed Jul 20, 2018
1 parent 4e3474a commit 52c5ae9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private void addVariantsFeature() {
// begin-source-example
// source-example-heading: Theme variants usage
Button button = new Button();
button.addThemeVariants(ButtonVariant.LUMO_PRIMARY);
button.addThemeVariants(ButtonVariant.LUMO_SMALL, ButtonVariant.LUMO_PRIMARY);
// end-source-example

addVariantsDemo(Button::new,
Expand Down

0 comments on commit 52c5ae9

Please sign in to comment.