Skip to content

Commit 1b60ef9

Browse files
committed
update
1 parent a64fd32 commit 1b60ef9

File tree

1 file changed

+59
-59
lines changed

1 file changed

+59
-59
lines changed

snippets/style.json

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -63,298 +63,298 @@
6363
},
6464
//NSVue Specific CSS Properties
6565
"{NSVue} tabTextColor Style": {
66-
"prefix": "tabTextColor",
66+
"prefix": "ns-tabTextColor",
6767
"body": "tab-text-color: $1;$0",
6868
"description": "Sets the text color of the tabs titles."
6969
},
7070
"{NSVue} selectedTabTextColor Style": {
71-
"prefix": "selectedTabTextColor",
71+
"prefix": "ns-selectedTabTextColor",
7272
"body": "selected-tab-text-color: $1;$0",
7373
"description": "Sets the color of the text, while selecting some of the tabs."
7474
},
7575
"{NSVue} tabBackgroundColor Style": {
76-
"prefix": "tabBackgroundColor",
76+
"prefix": "ns-tabBackgroundColor",
7777
"body": "tab-background-color: $1;$0",
7878
"description": "Sets the background color of the tabs."
7979
},
8080
"{NSVue} tabTextFontSize Style": {
81-
"prefix": "tabTextFontSize",
81+
"prefix": "ns-tabTextFontSize",
8282
"body": "tab-text-font-size: $1;$0",
8383
"description": "Sets the tab titles font size, without changing the font size of all contents of the tab."
8484
},
8585
"{NSVue} textTransform Style": {
86-
"prefix": "textTransform",
86+
"prefix": "ns-textTransform",
8787
"body": "text-transform: $1;$0",
8888
"description": "Sets the text transform individually for every TabViewItem. Value options: capitalize, lowercase, none, and uppercase."
8989
},
9090
"{NSVue} androidSelectedTabHighlightColor Style": {
91-
"prefix": "androidSelectedTabHighlightColor",
91+
"prefix": "ns-androidSelectedTabHighlightColor",
9292
"body": "android-selected-tab-highlight-color: $1;$0",
9393
"description": "Sets the underline color of the tabs in Android."
9494
},
9595
"{NSVue} androidElevation Style": {
96-
"prefix": "androidElevation",
96+
"prefix": "ns-androidElevation",
9797
"body": "android-elevation: $1;$0",
9898
"description": "Sets the elevation of the View in Android."
9999
},
100100
"{NSVue} androidDynamicElevationOffset Style": {
101-
"prefix": "androidDynamicElevationOffset",
101+
"prefix": "ns-androidDynamicElevationOffset",
102102
"body": "android-dynamic-elevation-offset: $1;$0",
103103
"description": "Sets the elevation of the View in Android, which will be shown when an action was performed(e.g. tap, touch)."
104104
},
105105
"{NSVue} offBackgroundColor Style": {
106-
"prefix": "offBackgroundColor",
106+
"prefix": "ns-offBackgroundColor",
107107
"body": "off-background-color: $1;$0",
108108
"description": "Sets the background color of the Switch when it is turned off."
109109
},
110110
"{NSVue} highlightColor Style": {
111-
"prefix": "highlightColor",
111+
"prefix": "ns-highlightColor",
112112
"body": "highlight-color: $1;$0",
113113
"description": "Gets or sets the underline color of the selected TabStripItem."
114114
},
115115
// Supported CSS Properties 49
116116
"{NSVue} color Style": {
117-
"prefix": "color",
117+
"prefix": "ns-color",
118118
"body": "color: $1;$0",
119119
"description": "Sets a solid-color value to the matched view’s foreground."
120120
},
121121
"{NSVue} background Style": {
122-
"prefix": "background",
122+
"prefix": "ns-background",
123123
"body": "background: $1;$0",
124124
"description": "Sets a solid-color value or a linear gradient to the matched view’s background."
125125
},
126126
"{NSVue} backgroundColor Style": {
127-
"prefix": "background-color",
127+
"prefix": "ns-background-color",
128128
"body": "background-color: $1;$0",
129129
"description": "Sets a solid-color value to the matched view’s background."
130130
},
131131
"{NSVue} placeholderColor Style": {
132-
"prefix": "placeholder-color",
132+
"prefix": "ns-placeholder-color",
133133
"body": "placeholder-color: $1;$0",
134134
"description": "Sets the placeholder (hint) font color to matched views."
135135
},
136136
"{NSVue} backgroundImage Style": {
137-
"prefix": "background-image",
137+
"prefix": "ns-background-image",
138138
"body": "background-image: $1;$0",
139139
"description": "Sets a image url to the matched view’s background image."
140140
},
141141
"{NSVue} backgroundRepeat Style": {
142-
"prefix": "background-repeat",
142+
"prefix": "ns-background-repeat",
143143
"body": "background-repeat: $1;$0",
144144
"description": "Sets if/how the background image should be repeated. Possible values: repeat, repeat-x, repeat-y, no-repeat"
145145
},
146146
"{NSVue} backgroundPosition Style": {
147-
"prefix": "background-position",
147+
"prefix": "ns-background-position",
148148
"body": "background-position: $1;$0",
149149
"description": "Sets the starting position of the background image. You can set the position with absolute, percent or alignment values. More info here."
150150
},
151151
"{NSVue} backgroundSize Style": {
152-
"prefix": "background-size",
152+
"prefix": "ns-background-size",
153153
"body": "background-size: $1;$0",
154154
"description": "Sets the size of the background image. Possible values: \"length length\", \"percent% percent%\", \"cover\" or \"contain\"."
155155
},
156156
"{NSVue} borderColor Style": {
157-
"prefix": "border-color",
157+
"prefix": "ns-border-color",
158158
"body": "border-color: $1;$0",
159159
"description": "Sets border colors to the matched view’s."
160160
},
161161
"{NSVue} borderTopColor Style": {
162-
"prefix": "border-top-color",
162+
"prefix": "ns-border-top-color",
163163
"body": "border-top-color: $1;$0",
164164
"description": "Sets a top border color to the matched view’s."
165165
},
166166
"{NSVue} borderRightColor Style": {
167-
"prefix": "border-right-color",
167+
"prefix": "ns-border-right-color",
168168
"body": "border-right-color: $1;$0",
169169
"description": "Sets a right border color to the matched view’s."
170170
},
171171
"{NSVue} borderBottomColor Style": {
172-
"prefix": "border-bottom-color",
172+
"prefix": "ns-border-bottom-color",
173173
"body": "border-bottom-color: $1;$0",
174174
"description": "Sets a bottom border color to the matched view’s."
175175
},
176176
"{NSVue} borderLeftColor Style": {
177-
"prefix": "border-left-color",
177+
"prefix": "ns-border-left-color",
178178
"body": "border-left-color: $1;$0",
179179
"description": "Sets a left border color to the matched view’s."
180180
},
181181
"{NSVue} borderWidth Style": {
182-
"prefix": "border-width",
182+
"prefix": "ns-border-width",
183183
"body": "border-width: $1;$0",
184184
"description": "Sets border widths to the matched view’s."
185185
},
186186
"{NSVue} borderTopWidth Style": {
187-
"prefix": "border-top-width",
187+
"prefix": "ns-border-top-width",
188188
"body": "border-top-width: $1;$0",
189189
"description": "Sets a top border width to the matched view’s."
190190
},
191191
"{NSVue} borderRightWidth Style": {
192-
"prefix": "border-right-width",
192+
"prefix": "ns-border-right-width",
193193
"body": "border-right-width: $1;$0",
194194
"description": "Sets a right border width to the matched view’s."
195195
},
196196
"{NSVue} borderBottomWidth Style": {
197-
"prefix": "border-bottom-width",
197+
"prefix": "ns-border-bottom-width",
198198
"body": "border-bottom-width: $1;$0",
199199
"description": "Sets a bottom border width to the matched view’s."
200200
},
201201
"{NSVue} borderLeftWidth Style": {
202-
"prefix": "border-left-width",
202+
"prefix": "ns-border-left-width",
203203
"body": "border-left-width: $1;$0",
204204
"description": "Sets a left border width to the matched view’s."
205205
},
206206
"{NSVue} borderRadius Style": {
207-
"prefix": "border-radius",
207+
"prefix": "ns-border-radius",
208208
"body": "border-radius: $1;$0",
209209
"description": "Sets a border radius to the matched view’s."
210210
},
211211
"{NSVue} font Style": {
212-
"prefix": "font",
212+
"prefix": "ns-font",
213213
"body": "font: $1;$0",
214214
"description": "Sets the font properties (this includes font-family, font-size, font-style and font-weight) of the matched view."
215215
},
216216
"{NSVue} fontFamily Style": {
217-
"prefix": "font-family",
217+
"prefix": "ns-font-family",
218218
"body": "font-family: $1;$0",
219219
"description": "Sets the font family of the matched view."
220220
},
221221
"{NSVue} fontSize Style": {
222-
"prefix": "font-size",
222+
"prefix": "ns-font-size",
223223
"body": "font-size: $1;$0",
224224
"description": "Sets the font size of the matched view (only supports device-independent units)."
225225
},
226226
"{NSVue} fontStyle Style": {
227-
"prefix": "font-style",
227+
"prefix": "ns-font-style",
228228
"body": "font-style: $1;$0",
229229
"description": "Sets the font style of the matched view. Possible values: italic, normal."
230230
},
231231
"{NSVue} fontWeight Style": {
232-
"prefix": "font-weight",
232+
"prefix": "ns-font-weight",
233233
"body": "font-weight: $1;$0",
234234
"description": "Sets the font weight of the matched view Possible values: bold, normal OR 100,200,300,400,500,600,700,800,900, where 400 is normal and 700 is bold (NOTE: Some fonts do not support all available variants)"
235235
},
236236
"{NSVue} textAlignment Style": {
237-
"prefix": "text-align",
237+
"prefix": "ns-text-align",
238238
"body": "text-align: $1;$0",
239239
"description": "Sets text alignment in the matched view. Possible values: left , center, right."
240240
},
241241
"{NSVue} textDecoration Style": {
242-
"prefix": "text-decoration",
242+
"prefix": "ns-text-decoration",
243243
"body": "text-decoration: $1;$0",
244244
"description": "Sets the text formatting. Possible values: none, line-through, underline."
245245
},
246246
// "{NSVue} textTransform Style": {
247-
// "prefix": "text-transform",
247+
// "prefix": "ns-text-transform",
248248
// "body": "text-transform: $1;$0",
249249
// "description": "Sets the text transform. Possible values: none, capitalize, uppercase, lowercase."
250250
// },
251251
"{NSVue} letterSpacing Style": {
252-
"prefix": "letter-spacing",
252+
"prefix": "ns-letter-spacing",
253253
"body": "letter-spacing: $1;$0",
254254
"description": "Sets the text letter spacing. (On Android API Level 21 and above.)"
255255
},
256256
"{NSVue} lineHeight Style": {
257-
"prefix": "line-height",
257+
"prefix": "ns-line-height",
258258
"body": "line-height: $1;$0",
259259
"description": "Sets the text line height"
260260
},
261261
"{NSVue} zIndex Style": {
262-
"prefix": "z-index",
262+
"prefix": "ns-z-index",
263263
"body": "z-index: $1;$0",
264264
"description": "Sets the z-index. (On Android API Level 21 and above.)"
265265
},
266266
"{NSVue} clip-path Style": {
267-
"prefix": "clip-path",
267+
"prefix": "ns-clip-path",
268268
"body": "clip-path: $1;$0",
269269
"description": "Sets the clip-path. Supported shapes are circle, ellipse, rect and polygon. You can define your own shape using clippy"
270270
},
271271
"{NSVue} verticalAlignment Style": {
272-
"prefix": "vertical-align",
272+
"prefix": "ns-vertical-align",
273273
"body": "vertical-align: $1;$0",
274274
"description": "Sets the vertical alignment of the current view within its parent. Possible values: top, center, bottom, stretch."
275275
},
276276
"{NSVue} horizontalAlignment Style": {
277-
"prefix": "horizontal-align",
277+
"prefix": "ns-horizontal-align",
278278
"body": "horizontal-align: $1;$0",
279279
"description": "Sets the horizontal alignment of the current view within its parent. Possible values: left, center, right, stretch."
280280
},
281281
"{NSVue} margin Style": {
282-
"prefix": "margin",
282+
"prefix": "ns-margin",
283283
"body": "margin: $1;$0",
284284
"description": "Sets the margin of the view within its parent."
285285
},
286286
"{NSVue} marginTop Style": {
287-
"prefix": "margin-top",
287+
"prefix": "ns-margin-top",
288288
"body": "margin-top: $1;$0",
289289
"description": "Sets the top margin of the view within its parent."
290290
},
291291
"{NSVue} marginRight Style": {
292-
"prefix": "margin-right",
292+
"prefix": "ns-margin-right",
293293
"body": "margin-right: $1;$0",
294294
"description": "Sets the right margin of the view within its parent."
295295
},
296296
"{NSVue} marginBottom Style": {
297-
"prefix": "margin-bottom",
297+
"prefix": "ns-margin-bottom",
298298
"body": "margin-bottom: $1;$0",
299299
"description": "Sets the bottom margin of the view within its parent."
300300
},
301301
"{NSVue} marginLeft Style": {
302-
"prefix": "margin-left",
302+
"prefix": "ns-margin-left",
303303
"body": "margin-left: $1;$0",
304304
"description": "Sets the left margin of the view within its parent."
305305
},
306306
"{NSVue} width Style": {
307-
"prefix": "width",
307+
"prefix": "ns-width",
308308
"body": "width: $1;$0",
309309
"description": "Sets the view width."
310310
},
311311
"{NSVue} height Style": {
312-
"prefix": "height",
312+
"prefix": "ns-height",
313313
"body": "height: $1;$0",
314314
"description": "Sets the view height."
315315
},
316316
"{NSVue} minWidth Style": {
317-
"prefix": "min-width",
317+
"prefix": "ns-min-width",
318318
"body": "min-width: $1;$0",
319319
"description": "Sets the minimal view width."
320320
},
321321
"{NSVue} minHeight Style": {
322-
"prefix": "min-height",
322+
"prefix": "ns-min-height",
323323
"body": "min-height: $1;$0",
324324
"description": "Sets the minimal view height."
325325
},
326326
"{NSVue} padding Style": {
327-
"prefix": "padding",
327+
"prefix": "ns-padding",
328328
"body": "padding: $1;$0",
329329
"description": "Sets the distance between the boundaries of the layout container and its children."
330330
},
331331
"{NSVue} paddingTop Style": {
332-
"prefix": "padding-top",
332+
"prefix": "ns-padding-top",
333333
"body": "padding-top: $1;$0",
334334
"description": "Sets the top padding of a layout container."
335335
},
336336
"{NSVue} paddingRight Style": {
337-
"prefix": "padding-right",
337+
"prefix": "ns-padding-right",
338338
"body": "padding-right: $1;$0",
339339
"description": "Sets the right padding of a layout container."
340340
},
341341
"{NSVue} paddingBottom Style": {
342-
"prefix": "padding-bottom",
342+
"prefix": "ns-padding-bottom",
343343
"body": "padding-bottom: $1;$0",
344344
"description": "Sets the bottom padding of a layout container."
345345
},
346346
"{NSVue} paddingLeft Style": {
347-
"prefix": "padding-left",
347+
"prefix": "ns-padding-left",
348348
"body": "padding-left: $1;$0",
349349
"description": "Sets the left padding of a layout container."
350350
},
351351
"{NSVue} visibility Style": {
352-
"prefix": "visibility",
352+
"prefix": "ns-visibility",
353353
"body": "visibility: $1;$0",
354354
"description": "Sets the view visibility. Possible values: visible, collapse (or collapsed)."
355355
},
356356
"{NSVue} opacity Style": {
357-
"prefix": "opacity",
357+
"prefix": "ns-opacity",
358358
"body": "opacity: $1;$0",
359359
"description": "Sets the view opacity. The value is in the [0, 1] range."
360360
}

0 commit comments

Comments
 (0)