This repository was archived by the owner on Dec 11, 2021. It is now read-only.
File tree 2 files changed +61
-1
lines changed
2 files changed +61
-1
lines changed Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ css : [ "//cdnjs.cloudflare.com/ajax/libs/semantic-ui/1.11.1/semantic.min.css" ] ,
3
+ button : {
4
+ generator : function ( options ) {
5
+ var button = "<button class='ui button " + options . state + options . type +
6
+ " " + options . size + options . color + options . misc + "' >" ;
7
+ if ( options . icon ) {
8
+ button = button + "<i class='icon " + options . icon + "'></i>" ;
9
+ }
10
+ return button + " Button </button>" ;
11
+ } ,
12
+ variations : {
13
+ state : [
14
+ " active" ,
15
+ " disabled" ,
16
+ " loading"
17
+ ] ,
18
+ type : [
19
+ "" ,
20
+ " basic" ,
21
+ " inverted"
22
+ ] ,
23
+ icon : [
24
+ "" ,
25
+ " cloud" ,
26
+ " underline" ,
27
+ " left" ,
28
+ " user"
29
+ ] ,
30
+ size : [
31
+ "" ,
32
+ " mini" ,
33
+ " tiny" ,
34
+ " small" ,
35
+ " medium"
36
+ ] ,
37
+ color : [
38
+ "" ,
39
+ " black" ,
40
+ " yellow" ,
41
+ " green" ,
42
+ " blue" ,
43
+ " orange" ,
44
+ " purple" ,
45
+ " red" ,
46
+ " pink" ,
47
+ " teal"
48
+ ] ,
49
+ misc : [
50
+ "" ,
51
+ " compact" ,
52
+ " circular" ,
53
+ " fluid" ,
54
+ " toggle"
55
+ ]
56
+ }
57
+ }
58
+ } ;
Original file line number Diff line number Diff line change @@ -32,7 +32,9 @@ module.exports = {
32
32
"http://localhost:4200/framework/topcoat/component/button/count/1000/" +
33
33
"topcoat:button" ,
34
34
"http://localhost:4200/framework/topcoat-mobile/component/button/count/1000/" +
35
- "topcoat-mobile:button"
35
+ "topcoat-mobile:button" ,
36
+ "http://localhost:4200/framework/semantic-ui/component/button/count/1000/" +
37
+ "semantic-ui:button"
36
38
]
37
39
}
38
40
}
You can’t perform that action at this time.
0 commit comments