File tree 2 files changed +55
-0
lines changed
2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ < dom-module id ="button-valo-theme-demos ">
2
+ < template >
3
+ < style >
4
+ : host {
5
+ dis play: block;
6
+ }
7
+ </ style >
8
+
9
+ < h3 > Sizing</ h3 >
10
+ < vaadin-demo-snippet id ='button-valo-theme-demos-sizing '>
11
+ < template preserve-content >
12
+ < vaadin-button theme ="small "> Small Button</ vaadin-button >
13
+ < vaadin-button theme ="large "> Large Button</ vaadin-button >
14
+ </ template >
15
+ </ vaadin-demo-snippet >
16
+
17
+ < h3 > Styles</ h3 >
18
+ < vaadin-demo-snippet id ='button-valo-theme-demos-styles '>
19
+ < template preserve-content >
20
+ < vaadin-button theme ="primary "> Primary</ vaadin-button >
21
+ < vaadin-button theme ="tertiary "> Tertiary</ vaadin-button >
22
+ < vaadin-button theme ="tertiary-inlne "> Tertiary inline</ vaadin-button >
23
+ < vaadin-button theme ="contrast "> Contrast</ vaadin-button >
24
+ </ template >
25
+ </ vaadin-demo-snippet >
26
+
27
+ < h3 > States</ h3 >
28
+ < vaadin-demo-snippet id ='button-valo-theme-demos-states '>
29
+ < template preserve-content >
30
+ < vaadin-button theme ="success "> Success</ vaadin-button >
31
+ < vaadin-button theme ="error "> Error</ vaadin-button >
32
+ </ template >
33
+ </ vaadin-demo-snippet >
34
+
35
+ </ template >
36
+ < script >
37
+ class ButtonValoThemeDemos extends DemoReadyEventEmitter ( ButtonDemo ( Polymer . Element ) ) {
38
+ static get is ( ) {
39
+ return 'button-valo-theme-demos' ;
40
+ }
41
+ }
42
+ customElements . define ( ButtonValoThemeDemos . is , ButtonValoThemeDemos ) ;
43
+ </ script >
44
+ </ dom-module >
Original file line number Diff line number Diff line change 11
11
"image" : " "
12
12
}
13
13
}
14
+ ,
15
+ {
16
+ "name" : " Valo Theme Variations" ,
17
+ "url" : " button-valo-theme-demos" ,
18
+ "src" : " button-valo-theme-demos.html" ,
19
+ "meta" : {
20
+ "title" : " vaadin-button Valo Theme Variations" ,
21
+ "description" : " " ,
22
+ "image" : " "
23
+ }
24
+ }
14
25
]
15
26
}
You can’t perform that action at this time.
0 commit comments