4
4
"Neptune default button" : {
5
5
"scope" : " html" ,
6
6
"prefix" : " neptune-button" ,
7
- "body" : " <button>${1:Default}</button>" ,
7
+ "body" : [
8
+ " <button>" ,
9
+ " <span class=\" button-text\" >${1:Button}</span>" ,
10
+ " </button>"
11
+ ],
8
12
"description" : " Default button"
9
13
},
10
14
// Button sizes
11
15
"Neptune button S" : {
12
16
"scope" : " html" ,
13
17
"prefix" : " neptune-button-s" ,
14
- "body" : " <button class=\" button-s\" >${1:Button S}</button>" ,
18
+ "body" : [
19
+ " <button class=\" button-s\" >" ,
20
+ " <span class=\" button-text\" >${1:Button S}</span>" ,
21
+ " </button>"
22
+ ],
15
23
"description" : " Button S"
16
24
},
17
25
"Neptune button M" : {
18
26
"scope" : " html" ,
19
27
"prefix" : " neptune-button-m" ,
20
- "body" : " <button class=\" button-m\" >${1:Button M}</button>" ,
28
+ "body" : [
29
+ " <button class=\" button-m\" >" ,
30
+ " <span class=\" button-text\" >${1:Button M}</span>" ,
31
+ " </button>"
32
+ ],
21
33
"description" : " Button M"
22
34
},
23
35
"Neptune button L" : {
24
36
"scope" : " html" ,
25
37
"prefix" : " neptune-button-l" ,
26
- "body" : " <button class=\" button-l\" >${1:Button L}</button>" ,
38
+ "body" : [
39
+ " <button class=\" button-l\" >" ,
40
+ " <span class=\" button-text\" >${1:Button L}</span>" ,
41
+ " </button>"
42
+ ],
27
43
"description" : " Button L"
28
44
},
29
45
// Button styles
30
46
"Neptune button primary" : {
31
47
"scope" : " html" ,
32
48
"prefix" : " neptune-button-primary" ,
33
- "body" : " <button class=\" button-primary\" >${1:Primary}</button>" ,
49
+ "body" : [
50
+ " < class=\" button-primary\" >" ,
51
+ " <span class=\" button-text\" >${1:Primary}</span>" ,
52
+ " </button>"
53
+ ],
34
54
"description" : " Primary button"
35
55
},
36
56
"Neptune button secondary" : {
37
57
"scope" : " html" ,
38
58
"prefix" : " neptune-button-secondary" ,
39
- "body" : " <button class=\" button-secondary\" >${1:Secondary}</button>" ,
59
+ "body" : [
60
+ " < class=\" button-secondary\" >" ,
61
+ " <span class=\" button-text\" >${1:Secondary}</span>" ,
62
+ " </button>"
63
+ ],
40
64
"description" : " Secondary button"
41
65
},
42
66
"Neptune button cta" : {
43
67
"scope" : " html" ,
44
68
"prefix" : " neptune-button-cta" ,
45
- "body" : " <button class=\" button-cta\" >${1:Call to action}</button>" ,
69
+ "body" : [
70
+ " <button class=\" button-cta\" >" ,
71
+ " <span class=\" button-text\" >${1:Call to action}</span>" ,
72
+ " </button>"
73
+ ],
46
74
"description" : " CTA button"
47
75
},
48
76
"Neptune button information" : {
49
77
"scope" : " html" ,
50
78
"prefix" : " neptune-button-info" ,
51
- "body" : " <button class=\" button-info\" >${1:Information}</button>" ,
79
+ "body" : [
80
+ " <button class=\" button-info\" >" ,
81
+ " <span class=\" button-text\" >${1:Information}</span>" ,
82
+ " </button>"
83
+ ],
52
84
"description" : " Information button"
53
85
},
54
86
"Neptune button success" : {
55
87
"scope" : " html" ,
56
88
"prefix" : " neptune-button-success" ,
57
- "body" : " <button class=\" button-success\" >${1:Success}</button>" ,
89
+ "body" : [
90
+ " <button class=\" button-success\" >" ,
91
+ " <span class=\" button-text\" >${1:Success}</span>" ,
92
+ " </button>"
93
+ ],
58
94
"description" : " Success button"
59
95
},
60
96
"Neptune button warning" : {
61
97
"scope" : " html" ,
62
98
"prefix" : " neptune-button-warning" ,
63
- "body" : " <button class=\" button-warning\" >${1:Warning}</button>" ,
99
+ "body" : [
100
+ " <button class=\" button-warning\" >" ,
101
+ " <span class=\" button-text\" >${1:Warning}</span>" ,
102
+ " </button>"
103
+ ],
64
104
"description" : " Warning button"
65
105
},
66
106
"Neptune button error" : {
67
107
"scope" : " html" ,
68
108
"prefix" : " neptune-button-error" ,
69
- "body" : " <button class=\" button-error\" >${1:Error}</button>" ,
109
+ "body" : [
110
+ " <button class=\" button-error\" >" ,
111
+ " <span class=\" button-text\" >${1:Error}</span>" ,
112
+ " </button>"
113
+ ],
70
114
"description" : " Error button"
71
115
}
72
116
}
0 commit comments