@@ -108,16 +108,16 @@ each group.
108
108
``` html
109
109
<template >
110
110
<!-- font-size of `theme.fontSizes.md` -->
111
- <c-text fontSize =" md" />
111
+ <c-text font-size =" md" />
112
112
113
113
<!-- font-size `32px` -->
114
- <c-text fontSize =" 32" />
114
+ <c-text font-size =" 32" />
115
115
116
116
<!-- font-size `'2em'` -->
117
- <c-text fontSize =" 2em" />
117
+ <c-text font-size =" 2em" />
118
118
119
119
<!-- text-align `left` on all viewports and `center` from the first breakpoint and up -->
120
- <c-text :textAlign =" [ 'left', 'center' ]" />
120
+ <c-text :text-align =" [ 'left', 'center' ]" />
121
121
</template >
122
122
```
123
123
@@ -176,13 +176,13 @@ each group.
176
176
<c-box :display =" { base: 'none', md: 'block' }" />
177
177
178
178
<!-- shorthand -->
179
- <c-box hideBelow =' md' />
179
+ <c-box hide-below =' md' />
180
180
181
181
<!-- hide the element from 'md' up -->
182
182
<c-box :display =" { base: 'block', md: 'none' }" />
183
183
184
184
<!-- shorthand -->
185
- <c-box hideFrom =' md' />
185
+ <c-box hide-from =' md' />
186
186
</template >
187
187
```
188
188
@@ -234,7 +234,7 @@ each group.
234
234
``` html
235
235
<template >
236
236
<!-- verbose -->
237
- <c-box display =" grid" gridGap =" 2" gridAutoFlow =" row dense" >
237
+ <c-box display =" grid" grid-gap =" 2" grid-auto-flow =" row dense" >
238
238
Grid
239
239
</c-box >
240
240
@@ -268,13 +268,13 @@ each group.
268
268
<template >
269
269
<!-- verbose -->
270
270
<c-box
271
- backgroundImage =" url('/images/kyuubi.png')"
272
- backgroundPosition =" center"
273
- backgroundRepeat =" no-repeat"
271
+ background-image =" url('/images/kyuubi.png')"
272
+ background-position =" center"
273
+ background-repeat =" no-repeat"
274
274
>
275
275
276
276
<!-- shorthand -->
277
- <c-box bgImage =" url('/images/gaara.png')" bgPos =" center" bgRepeat =" no-repeat" >
277
+ <c-box bg-image =" url('/images/gaara.png')" bg-pos =" center" bg-repeat =" no-repeat" >
278
278
</template >
279
279
```
280
280
@@ -291,7 +291,7 @@ each group.
291
291
292
292
``` html
293
293
<template >
294
- <c-box border =" 1px" borderRadius =" md" borderColor =" gray.200" >
294
+ <c-box border =" 1px" border-radius =" md" border-color =" gray.200" >
295
295
Card
296
296
</c-box >
297
297
</template >
@@ -335,13 +335,13 @@ each group.
335
335
``` html
336
336
<template >
337
337
<!-- This button will have no right borderRadius -->
338
- <c-button roundedRight =" 0" >Button 1</c-button >
338
+ <c-button rounded-right =" 0" >Button 1</c-button >
339
339
340
340
<!-- This button will have no left borderRadius*/ -->
341
- <c-button roundedLeft =" 0" >Button 2</c-button >
341
+ <c-button rounded-left =" 0" >Button 2</c-button >
342
342
343
343
<!-- top left and top right radius will be `theme.radii.md` => 4px -->
344
- <c-button roundedTop =" md" >Button 2</c-button >
344
+ <c-button rounded-top =" md" >Button 2</c-button >
345
345
</template >
346
346
```
347
347
@@ -399,10 +399,10 @@ each group.
399
399
<!-- verbose -->
400
400
<!-- text-shadow will be `theme.shadows.sm` -->
401
401
<!-- box-shadow will be `theme.shadows.md` -->
402
- <c-box textShadow =" sm" boxShadow =" md" />
402
+ <c-box text-shadow =" sm" box-shadow =" md" />
403
403
404
404
<!-- raw CSS values -->
405
- <c-text textShadow =" 2px 2px #ff0000" boxShadow =" 5px 10px #888888" >
405
+ <c-text text-shadow =" 2px 2px #ff0000" box-shadow =" 5px 10px #888888" >
406
406
Text with shadows
407
407
</c-text >
408
408
</template >
0 commit comments