@medyll/cssfabric 0.2.0 → 0.2.1-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/README.md +58 -38
  2. package/dist/NewMenu.svelte +41 -0
  3. package/dist/NewMenu.svelte.d.ts +19 -0
  4. package/dist/css/animation/animation.css +2 -0
  5. package/dist/css/base/base.css +47 -0
  6. package/dist/css/base/base.min.css +1 -0
  7. package/{styles → dist/css}/box/box.css +118 -0
  8. package/dist/css/box/box.min.css +1 -0
  9. package/{styles → dist/css}/box/box.responsive.css +3063 -1550
  10. package/dist/css/box/box.responsive.min.css +1 -0
  11. package/{styles → dist/css}/color/color.css +11 -9
  12. package/{styles → dist/css}/color/color.responsive.css +3446 -1932
  13. package/dist/css/color/color.responsive.min.css +1 -0
  14. package/dist/css/cssfabric.css +5167 -0
  15. package/dist/css/cssfabric.min.css +4877 -0
  16. package/dist/css/cssfabric.responsive.css +20419 -0
  17. package/dist/css/cssfabric.responsive.min.css +1 -0
  18. package/{styles → dist/css}/flex/flex.css +2 -0
  19. package/{styles → dist/css}/flex/flex.responsive.css +192 -114
  20. package/dist/css/flex/flex.responsive.min.css +1 -0
  21. package/{styles → dist/css}/grid/grid.css +2 -0
  22. package/{styles → dist/css}/grid/grid.responsive.css +230 -212
  23. package/dist/css/grid/grid.responsive.min.css +1 -0
  24. package/{styles → dist/css}/menu/menu.css +2 -0
  25. package/{styles → dist/css}/menu/menu.responsive.css +165 -78
  26. package/dist/css/menu/menu.responsive.min.css +1 -0
  27. package/{styles → dist/css}/overflow/overflow.css +2 -0
  28. package/{styles → dist/css}/overflow/overflow.responsive.css +98 -105
  29. package/dist/css/overflow/overflow.responsive.min.css +1 -0
  30. package/{styles → dist/css}/scale/scale.css +2 -0
  31. package/{styles → dist/css}/scale/scale.responsive.css +1520 -1152
  32. package/dist/css/scale/scale.responsive.min.css +1 -0
  33. package/{styles → dist/css}/table/table.css +2 -0
  34. package/{styles → dist/css}/table/table.responsive.css +162 -86
  35. package/dist/css/table/table.responsive.min.css +1 -0
  36. package/{styles → dist/css}/text/text.css +2 -0
  37. package/{styles → dist/css}/text/text.responsive.css +76 -55
  38. package/dist/css/text/text.responsive.min.css +1 -0
  39. package/{styles → dist/css}/theme/theme.css +51 -0
  40. package/{styles → dist/css}/theme/theme.min.css +1 -1
  41. package/{styles → dist/css}/vars.css +66 -67
  42. package/dist/css/vars.min.css +1 -0
  43. package/{styles → dist/css}/zindex/zindex.css +2 -0
  44. package/dist/cssFabric/config.d.ts +29 -0
  45. package/dist/cssFabric/config.js +29 -0
  46. package/dist/cssFabric/cssFabricSheet.d.ts +1226 -0
  47. package/dist/cssFabric/cssFabricSheet.js +1270 -0
  48. package/dist/cssFabric/cssProperties.d.ts +27 -0
  49. package/dist/cssFabric/cssProperties.js +343 -0
  50. package/dist/cssFabric/cssVariationsAi.d.ts +12 -0
  51. package/dist/cssFabric/cssVariationsAi.js +111 -0
  52. package/dist/cssFabric/index.d.ts +113 -0
  53. package/dist/cssFabric/index.js +341 -0
  54. package/dist/cssf/README.md +197 -0
  55. package/{init/importCssVars.d.ts → dist/cssf/cssf.d.ts} +1 -1
  56. package/dist/cssf/cssf.js +12 -0
  57. package/dist/cssf/cssfGuide.d.ts +14 -0
  58. package/dist/cssf/cssfGuide.js +50 -0
  59. package/dist/cssf/cssfLib.d.ts +134 -0
  60. package/dist/cssf/cssfLib.js +116 -0
  61. package/dist/cssf/cssfModel.d.ts +8 -0
  62. package/dist/cssf/cssfModel.js +59 -0
  63. package/dist/cssf/cssfPlugin.d.ts +3 -0
  64. package/dist/cssf/cssfPlugin.js +37 -0
  65. package/dist/cssf/cssfTransformer.d.ts +2 -0
  66. package/dist/cssf/cssfTransformer.js +100 -0
  67. package/dist/cssf/index.d.ts +6 -0
  68. package/dist/cssf/index.js +7 -0
  69. package/dist/cssfVsCode/.vscode/launch.json +17 -0
  70. package/dist/cssfVsCode/.vscodeignore +4 -0
  71. package/dist/cssfVsCode/CHANGELOG.md +9 -0
  72. package/dist/cssfVsCode/README.md +65 -0
  73. package/dist/cssfVsCode/language-configuration.json +36 -0
  74. package/dist/cssfVsCode/package.json +40 -0
  75. package/dist/cssfVsCode/syntaxes/cssf.tmLanguage.json +1868 -0
  76. package/dist/cssfVsCode/test.cssf +6 -0
  77. package/dist/cssfVsCode/vsc-extension-quickstart.md +29 -0
  78. package/{_generated → dist/generated}/cssFabric.vars.json +4 -4
  79. package/{_generated/export.variables.md → dist/generated/cssFabric.vars.md} +268 -240
  80. package/dist/index.d.ts +119 -0
  81. package/dist/index.js +120 -0
  82. package/dist/scripts/cssfabric.d.ts +24 -0
  83. package/{scripts → dist/scripts}/cssfabric.js +43 -43
  84. package/{scripts → dist/scripts}/cssfabricClassNames.d.ts +14 -14
  85. package/{scripts → dist/scripts}/cssfabricClassNames.js +146 -146
  86. package/dist/scripts/index.d.ts +2 -0
  87. package/{scripts → dist/scripts}/index.js +4 -4
  88. package/{scripts → dist/scripts}/utils.d.ts +5 -5
  89. package/{scripts → dist/scripts}/utils.js +38 -38
  90. package/dist/scss/_utils.scss +203 -0
  91. package/dist/scss/modules/_cssfabric-config.scss +178 -0
  92. package/dist/scss/modules/_mixins.scss +1 -0
  93. package/dist/scss/modules/animation/_animation-vars.scss +17 -0
  94. package/dist/scss/modules/animation/animation.scss +3 -0
  95. package/dist/scss/modules/base/_base-vars.scss +19 -0
  96. package/dist/scss/modules/base/base.scss +58 -0
  97. package/dist/scss/modules/box/_box-build.scss +305 -0
  98. package/dist/scss/modules/box/_box-vars.scss +121 -0
  99. package/dist/scss/modules/box/box-responsive.scss +18 -0
  100. package/dist/scss/modules/box/box.scss +3 -0
  101. package/dist/scss/modules/color/_color-build.scss +196 -0
  102. package/dist/scss/modules/color/_color-vars.scss +80 -0
  103. package/dist/scss/modules/color/color-responsive.scss +23 -0
  104. package/dist/scss/modules/color/color.scss +9 -0
  105. package/dist/scss/modules/css-fabric.scss +1 -0
  106. package/dist/scss/modules/flex/_flex-build.scss +150 -0
  107. package/dist/scss/modules/flex/_flex-vars.scss +84 -0
  108. package/dist/scss/modules/flex/flex-responsive.scss +25 -0
  109. package/dist/scss/modules/flex/flex.scss +3 -0
  110. package/dist/scss/modules/grid/_grid-build.scss +87 -0
  111. package/dist/scss/modules/grid/_grid-vars.scss +88 -0
  112. package/dist/scss/modules/grid/grid-responsive.scss +25 -0
  113. package/dist/scss/modules/grid/grid.scss +6 -0
  114. package/dist/scss/modules/menu/_menu-build.scss +120 -0
  115. package/dist/scss/modules/menu/_menu-vars.scss +29 -0
  116. package/dist/scss/modules/menu/menu-responsive.scss +19 -0
  117. package/dist/scss/modules/menu/menu.scss +6 -0
  118. package/dist/scss/modules/overflow/_overflow-build.scss +22 -0
  119. package/dist/scss/modules/overflow/_overflow-vars.scss +31 -0
  120. package/dist/scss/modules/overflow/overflow-responsive.scss +25 -0
  121. package/dist/scss/modules/overflow/overflow.scss +7 -0
  122. package/dist/scss/modules/scale/_scale-build.scss +142 -0
  123. package/dist/scss/modules/scale/_scale-vars.scss +84 -0
  124. package/dist/scss/modules/scale/scale-responsive.scss +23 -0
  125. package/dist/scss/modules/scale/scale.scss +8 -0
  126. package/dist/scss/modules/table/_table-build.scss +134 -0
  127. package/dist/scss/modules/table/_table-vars.scss +30 -0
  128. package/dist/scss/modules/table/table-responsive.scss +24 -0
  129. package/dist/scss/modules/table/table.scss +8 -0
  130. package/dist/scss/modules/text/_text-build.scss +166 -0
  131. package/dist/scss/modules/text/_text-vars.scss +87 -0
  132. package/dist/scss/modules/text/text-responsive.scss +26 -0
  133. package/dist/scss/modules/text/text.scss +6 -0
  134. package/dist/scss/modules/theme/_theme-build.scss +128 -0
  135. package/dist/scss/modules/theme/_theme-vars.scss +46 -0
  136. package/dist/scss/modules/theme/theme.scss +6 -0
  137. package/dist/scss/modules/vars.scss +46 -0
  138. package/dist/scss/modules/zindex/_zindex-vars.scss +14 -0
  139. package/dist/scss/modules/zindex/zindex.scss +15 -0
  140. package/package.json +70 -113
  141. package/_generated/readme.md +0 -0
  142. package/init/importCssVars.js +0 -2
  143. package/scripts/cssfabric.d.ts +0 -24
  144. package/scripts/index.d.ts +0 -2
  145. package/styles/animation/animation.css +0 -0
  146. package/styles/base/base.css +0 -215
  147. package/styles/base/base.min.css +0 -1
  148. package/styles/box/box.min.css +0 -1
  149. package/styles/box/box.responsive.min.css +0 -1
  150. package/styles/color/color.responsive.min.css +0 -1
  151. package/styles/cssfabric.css +0 -61792
  152. package/styles/cssfabric.min.css +0 -168
  153. package/styles/cssfabric.responsive.css +0 -200596
  154. package/styles/cssfabric.responsive.min.css +0 -108
  155. package/styles/flex/flex.responsive.min.css +0 -1
  156. package/styles/grid/grid.responsive.min.css +0 -1
  157. package/styles/menu/menu.responsive.min.css +0 -1
  158. package/styles/overflow/overflow.responsive.min.css +0 -1
  159. package/styles/scale/scale.responsive.min.css +0 -1
  160. package/styles/table/table.responsive.min.css +0 -1
  161. package/styles/text/text.responsive.min.css +0 -1
  162. package/styles/vars.min.css +0 -1
  163. /package/{styles → dist/css}/animation/animation.min.css +0 -0
  164. /package/{styles → dist/css}/color/color.min.css +0 -0
  165. /package/{styles → dist/css}/flex/flex.min.css +0 -0
  166. /package/{styles → dist/css}/grid/grid.min.css +0 -0
  167. /package/{styles → dist/css}/menu/menu.min.css +0 -0
  168. /package/{styles → dist/css}/overflow/overflow.min.css +0 -0
  169. /package/{styles → dist/css}/scale/scale.min.css +0 -0
  170. /package/{styles → dist/css}/table/table.min.css +0 -0
  171. /package/{styles → dist/css}/text/text.min.css +0 -0
  172. /package/{styles → dist/css}/zindex/zindex.min.css +0 -0
  173. /package/{_generated → dist/scss}/index.d.ts +0 -0
@@ -0,0 +1,1270 @@
1
+ export const cssFabricSheet = {
2
+ /* display: {
3
+ description: 'Specifies how an element is displayed',
4
+ syntax:
5
+ '[inline | block | contents | flex | grid | inline-block | inline-flex | inline-grid | inline-table | list-item | none | run-in | table | table-caption | table-cell | table-column | table-column-group | table-footer-group | table-header-group | table-row | table-row-group]',
6
+ template: 'display: {display}',
7
+ initial: 'inline',
8
+ appliesTo: 'all box elements',
9
+ fabric: {
10
+ classNames: {
11
+ inline: 'display: inline',
12
+ block: 'display: block',
13
+ contents: 'display: contents',
14
+ flex: 'display: flex',
15
+ grid: 'display: grid',
16
+ 'inline-block': 'display: inline-block',
17
+ 'inline-flex': 'display: inline-flex',
18
+ 'inline-grid': 'display: inline-grid',
19
+ 'inline-table': 'display: inline-table',
20
+ 'list-item': 'display: list-item',
21
+ none: 'display: none',
22
+ 'run-in': 'display: run-in',
23
+ table: 'display: table',
24
+ 'table-caption': 'display: table-caption',
25
+ 'table-cell': 'display: table-cell',
26
+ 'table-column': 'display: table-column',
27
+ 'table-column-group': 'display: table-column-group',
28
+ 'table-footer-group': 'display: table-footer-group',
29
+ 'table-header-group': 'display: table-header-group',
30
+ 'table-row': 'display: table-row',
31
+ 'table-row-group': 'display: table-row-group'
32
+ }
33
+ }
34
+ }, */
35
+ appearance: {
36
+ description: 'Specifies the appearance of an element',
37
+ syntax: 'auto | none',
38
+ template: 'appearance: {appearance}',
39
+ initial: 'auto',
40
+ appliesTo: 'all elements',
41
+ fabric: {
42
+ classNames: {
43
+ appearance: 'appearance: {appearance}'
44
+ }
45
+ }
46
+ },
47
+ 'object-fit': {
48
+ description: 'Specifies how the contents of a replaced element should be fitted to the box established by its used height and width',
49
+ syntax: 'fill | contain | cover | none | scale-down',
50
+ template: 'object-fit: {object-fit}',
51
+ initial: 'fill',
52
+ appliesTo: 'all elements',
53
+ fabric: {
54
+ classNames: {
55
+ 'object-fit': 'object-fit: {object-fit}'
56
+ }
57
+ }
58
+ },
59
+ 'mix-blend-mode': {
60
+ description: 'Specifies how an element is blended with its background',
61
+ syntax: 'normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity',
62
+ template: 'mix-blend-mode: {mix-blend-mode}',
63
+ initial: 'normal',
64
+ appliesTo: 'all elements',
65
+ fabric: {
66
+ classNames: {
67
+ 'mix-blend-mode': 'mix-blend-mode: {mix-blend-mode}'
68
+ }
69
+ }
70
+ },
71
+ ol: {
72
+ list: {
73
+ description: 'Specifies the type of list-item marker',
74
+ syntax: 'list-style-type | list-style-position | list-style-image',
75
+ template: 'list-style: [{listStyleType}] | [{listStyleType} {listStylePosition} {listStyleImage}]',
76
+ initial: 'disc outside none',
77
+ appliesTo: 'all elements',
78
+ fabric: {
79
+ variations: {
80
+ type: 'square | circle | disc | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-greek | lower-latin | upper-latin | armenian | georgian | lower-alpha | upper-alpha ',
81
+ position: 'top | bottom | inside | outside',
82
+ image: 'none'
83
+ }
84
+ }
85
+ }
86
+ },
87
+ container: {
88
+ flex: {
89
+ description: 'Specifies the properties for a flex container',
90
+ syntax: 'flex-direction | flex-wrap | flex-flow | justify-content | align-items | align-content',
91
+ template: 'flex: {flexDirection} {flexWrap} {flexFlow} {justifyContent} {alignItems} {alignContent}',
92
+ initial: '0 1 auto',
93
+ appliesTo: 'flex containers',
94
+ fabric: {
95
+ variations: {
96
+ wrap: 'wrap | no-wrap',
97
+ direction: 'row | row-reverse | column | column-reverse'
98
+ //flow:
99
+ }
100
+ }
101
+ },
102
+ grid: {
103
+ description: 'Specifies the properties for a grid container',
104
+ syntax: 'grid-template-rows | grid-template-columns | grid-template-areas | grid-auto-rows | grid-auto-columns | grid-auto-flow | grid | grid-area | grid-row | grid-column | grid-row-start | grid-row-end | grid-column-start | grid-column-end',
105
+ template: 'grid: {grid}',
106
+ initial: 'none',
107
+ appliesTo: 'grid containers'
108
+ },
109
+ 'align-content': {
110
+ description: 'Specifies the alignment between the lines inside a flexible container when the items do not use all available space',
111
+ syntax: '[normal | flex-start | flex-end | center | space-between | space-around | stretch]',
112
+ template: 'align-content: {align-content}',
113
+ initial: 'normal',
114
+ appliesTo: 'flex containers',
115
+ fabric: {
116
+ classNames: {
117
+ 'flex-align-content': 'align-content: {align-content}'
118
+ }
119
+ }
120
+ },
121
+ 'align-items': {
122
+ description: 'Specifies the alignment for items inside a flexible container',
123
+ syntax: '[normal | stretch | flex-start | flex-end | center | baseline]',
124
+ template: 'align-items: {alignItems}',
125
+ initial: 'normal',
126
+ appliesTo: 'flex containers',
127
+ fabric: {
128
+ classNames: {
129
+ 'align-items': 'align-items: {alignItems}'
130
+ }
131
+ }
132
+ },
133
+ 'align-self': {
134
+ description: 'Specifies the alignment for selected items inside a flexible container',
135
+ syntax: '[auto | normal | stretch | flex-start | flex-end | center | baseline]',
136
+ template: 'align-self: {alignSelf}',
137
+ initial: 'auto',
138
+ appliesTo: 'flex items',
139
+ fabric: {
140
+ classNames: {
141
+ 'align-self': 'align-self: {alignSelf}'
142
+ }
143
+ }
144
+ },
145
+ placeContent: {
146
+ description: 'Specifies the alignment between the lines inside a flexible container when the items do not use all available space',
147
+ syntax: '[normal | flex-start | flex-end | center | space-between | space-around | stretch]',
148
+ template: 'place-content: {align-content} {justify-content}',
149
+ initial: 'normal',
150
+ appliesTo: 'flex containers',
151
+ fabric: {
152
+ classNames: {
153
+ 'place-content': 'place-content: {align-content}} {justify-content}'
154
+ }
155
+ }
156
+ },
157
+ placeItems: {
158
+ description: 'Specifies the alignment for items inside a flexible container',
159
+ syntax: '[normal | stretch | flex-start | flex-end | center | baseline]',
160
+ template: 'place-items: {align-items} {justify-items}',
161
+ initial: 'normal',
162
+ appliesTo: 'flex containers',
163
+ fabric: {
164
+ classNames: {
165
+ 'place-items': 'place-items: {align-items} {justify-items}'
166
+ }
167
+ }
168
+ },
169
+ placeSelf: {
170
+ description: 'Specifies the alignment for selected items inside a flexible container',
171
+ syntax: '[auto | normal | stretch | flex-start | flex-end | center | baseline]',
172
+ template: 'place-self: {align-self} {justify-self}',
173
+ initial: 'auto',
174
+ appliesTo: 'flex items',
175
+ fabric: {
176
+ classNames: {
177
+ 'place-self': 'place-self: {align-self} {justify-self}'
178
+ }
179
+ }
180
+ },
181
+ order: {
182
+ description: 'Specifies the order of the flexible item',
183
+ syntax: '[-1|0|1]',
184
+ template: 'order: {order}',
185
+ initial: '0',
186
+ appliesTo: 'flex items',
187
+ fabric: {
188
+ classNames: {
189
+ order: 'order: {order}'
190
+ }
191
+ }
192
+ },
193
+ masonryAutoFlow: {
194
+ description: 'Specifies the flow of the masonry layout',
195
+ syntax: '[ pack | next ] | [ definite-first | ordered ]',
196
+ template: 'masonry-auto-flow: {masonryAutoFlow}',
197
+ initial: 'none',
198
+ appliesTo: 'masonry containers',
199
+ fabric: {
200
+ classNames: {
201
+ 'masonry-auto-flow': 'masonry-auto-flow: {masonryAutoFlow}'
202
+ }
203
+ }
204
+ }
205
+ },
206
+ pointerEvents: {
207
+ description: 'Specifies whether or not an element reacts to pointer events',
208
+ syntax: 'auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit | initial | unset | revert | revert-layer',
209
+ template: 'pointer-events: {pointerEvents}',
210
+ initial: 'auto',
211
+ appliesTo: 'all elements',
212
+ fabric: {
213
+ classNames: {
214
+ 'pointer-events': 'pointer-events: {pointerEvents}'
215
+ }
216
+ }
217
+ },
218
+ placement: {
219
+ top: {
220
+ description: 'Specifies the top position of a positioned element',
221
+ syntax: 'auto | length | percentage',
222
+ template: 'top: {top}',
223
+ initial: 'auto',
224
+ appliesTo: 'all positioned elements',
225
+ fabric: {
226
+ classNames: {
227
+ top: 'top: {top}'
228
+ }
229
+ }
230
+ },
231
+ right: {
232
+ description: 'Specifies the right position of a positioned element',
233
+ syntax: 'auto | length | percentage',
234
+ template: 'right: {right}',
235
+ initial: 'auto',
236
+ appliesTo: 'all positioned elements',
237
+ fabric: {
238
+ classNames: {
239
+ right: 'right: {right}'
240
+ }
241
+ }
242
+ },
243
+ bottom: {
244
+ description: 'Specifies the bottom position of a positioned element',
245
+ syntax: 'auto | length | percentage',
246
+ template: 'bottom: {bottom}',
247
+ initial: 'auto',
248
+ appliesTo: 'all positioned elements',
249
+ fabric: {
250
+ classNames: {
251
+ bottom: 'bottom: {bottom}'
252
+ }
253
+ }
254
+ },
255
+ left: {
256
+ description: 'Specifies the left position of a positioned element',
257
+ syntax: 'auto | length | percentage',
258
+ template: 'left: {left}',
259
+ initial: 'auto',
260
+ appliesTo: 'all positioned elements',
261
+ fabric: {
262
+ classNames: {
263
+ left: 'left: {left}'
264
+ }
265
+ }
266
+ }
267
+ },
268
+ box: {
269
+ position: {
270
+ description: 'Specifies the type of positioning method used for an element',
271
+ syntax: 'static | relative | absolute | fixed | sticky',
272
+ template: 'position: {position}',
273
+ initial: 'static',
274
+ appliesTo: 'all box elements',
275
+ fabric: {
276
+ classNames: {
277
+ static: 'position: static',
278
+ relative: 'position: relative',
279
+ absolute: 'position: absolute',
280
+ fixed: 'position: fixed',
281
+ sticky: 'position: sticky'
282
+ }
283
+ }
284
+ },
285
+ width: {
286
+ description: 'Specifies the width of the content area of an element',
287
+ syntax: '[auto | length | percentage]',
288
+ template: 'width: {width}',
289
+ initial: 'auto',
290
+ appliesTo: 'all box elements',
291
+ fabric: {
292
+ classNames: {
293
+ width: 'width: {width}',
294
+ 'min-width': 'min-width: {min-width}',
295
+ 'max-width': 'max-width: {max-width}'
296
+ }
297
+ }
298
+ },
299
+ height: {
300
+ description: 'Specifies the height of the content area of an element',
301
+ syntax: 'auto | length',
302
+ template: 'height: {height}',
303
+ initial: 'auto',
304
+ appliesTo: 'all box elements',
305
+ fabric: {
306
+ classNames: {
307
+ height: 'height: {height}',
308
+ min: 'min-height: {min-height}',
309
+ max: 'max-height: {max-height}'
310
+ }
311
+ }
312
+ },
313
+ overflow: {
314
+ description: 'Specifies whether or not to clip the content of an element',
315
+ syntax: 'visible | hidden | scroll | auto',
316
+ template: 'overflow: {overflow}',
317
+ initial: 'visible',
318
+ appliesTo: 'all box elements',
319
+ fabric: {
320
+ classNames: {
321
+ overflow: 'overflow: {overflow}',
322
+ x: 'overflow-x: {overflow-x}',
323
+ y: 'overflow-y: {overflow-y}'
324
+ }
325
+ }
326
+ },
327
+ margin: {
328
+ description: 'Specifies the margin around an element',
329
+ syntax: 'length | auto',
330
+ template: 'margin: {margin} {margin} {margin} {margin}',
331
+ initial: '0 0 0 0',
332
+ appliesTo: 'all box elements',
333
+ fabric: {
334
+ classNames: {
335
+ margin: 'margin: {margin}',
336
+ top: 'margin-top: {margin-top}',
337
+ right: 'margin-right: {margin-right}',
338
+ bottom: 'margin-bottom: {margin-bottom}',
339
+ left: 'margin-left: {margin-left}',
340
+ 'top-bottom': 'margin: {margin-top-bottom} inherit',
341
+ 'right-left': 'margin: inherit {margin-right-left}'
342
+ }
343
+ }
344
+ },
345
+ padding: {
346
+ description: 'Specifies the padding inside an element',
347
+ syntax: 'length',
348
+ template: 'padding: {padding-top} {padding-right} {padding-bottom} {padding-left}',
349
+ initial: '0 0 0 0',
350
+ appliesTo: 'all box elements',
351
+ fabric: {
352
+ classNames: {
353
+ padding: 'padding: {padding}',
354
+ top: 'padding-top: {padding-top}',
355
+ right: 'padding-right: {padding-right}',
356
+ bottom: 'padding-bottom: {padding-bottom}',
357
+ left: 'padding-left: {padding-left}',
358
+ 'top-bottom': 'padding: {padding-top-bottom} inherit',
359
+ 'right-left': 'padding: inherit {padding-right-left} '
360
+ }
361
+ }
362
+ },
363
+ contain: {
364
+ description: 'Specifies how the container should handle its content',
365
+ syntax: '[none | strict | content | size | layout | style | paint]',
366
+ template: 'contain: {contain}',
367
+ initial: 'none',
368
+ appliesTo: 'all elements',
369
+ fabric: {
370
+ classNames: {
371
+ contain: 'contain: {contain}'
372
+ }
373
+ }
374
+ },
375
+ container: {
376
+ description: 'Specifies the type of container',
377
+ syntax: 'none | container-name [/ container-type]?',
378
+ template: 'container: {container}',
379
+ initial: 'none',
380
+ appliesTo: 'all elements',
381
+ fabric: {
382
+ classNames: {
383
+ container: 'container: {container}'
384
+ }
385
+ }
386
+ },
387
+ contentVisibility: {
388
+ description: 'Specifies whether or not an element is visible',
389
+ syntax: '[visible | hidden | auto]',
390
+ template: 'content-visibility: {contentVisibility}',
391
+ initial: 'visible',
392
+ appliesTo: 'all elements',
393
+ fabric: {
394
+ classNames: {
395
+ 'content-visibility': 'content-visibility: {contentVisibility}'
396
+ }
397
+ }
398
+ },
399
+ resize: {
400
+ description: 'Specifies whether or not an element is resizable',
401
+ syntax: '[none | both | horizontal | vertical | block | inline]',
402
+ template: 'resize: {resize}',
403
+ initial: 'none',
404
+ appliesTo: 'all elements',
405
+ fabric: {
406
+ classNames: {
407
+ resize: 'resize: {resize}'
408
+ }
409
+ }
410
+ },
411
+ boxSing: {
412
+ description: 'Specifies whether or not an element is resizable',
413
+ syntax: '[border-box | content-box | padding-box]',
414
+ template: 'resize: {resize}',
415
+ initial: 'none',
416
+ appliesTo: 'all elements',
417
+ fabric: {
418
+ classNames: {
419
+ resize: 'resize: {resize}'
420
+ }
421
+ }
422
+ },
423
+ breakAfter: {
424
+ description: 'Specifies the page-, column-, or region-break behavior after an element',
425
+ syntax: '[auto | always | avoid | left | right | page | column | region | avoid-page | avoid-column | avoid-region]',
426
+ template: 'break-after: {breakAfter}',
427
+ initial: 'auto',
428
+ appliesTo: 'all elements',
429
+ fabric: {
430
+ classNames: {
431
+ 'break-after': 'break-after: {breakAfter}'
432
+ }
433
+ }
434
+ }
435
+ },
436
+ filter: {
437
+ description: 'Specifies the filter effects for an element',
438
+ syntax: 'none | blur | brightness | contrast | drop-shadow | grayscale | hue-rotate | invert | opacity | saturate | sepia | url | initial | inherit | revert | unset ',
439
+ template: 'filter: {filter}',
440
+ initial: 'none',
441
+ appliesTo: 'all elements',
442
+ fabric: {
443
+ classNames: {
444
+ none: 'filter-blur: none',
445
+ blur: 'filter-blur: blur({blur})',
446
+ brightness: 'filter-brightness: brightness({brightness})',
447
+ contrast: 'filter-contrast: contrast({contrast})',
448
+ 'drop-shadow': 'filter-drop-shadow: drop-shadow({drop-shadow})',
449
+ grayscale: 'filter-grayscale: grayscale({grayscale})',
450
+ 'hue-rotate': 'filter-hue-rotate: hue-rotate({hue-rotate})',
451
+ invert: 'filter-invert: invert({invert})',
452
+ opacity: 'filter-opacity: opacity({opacity})',
453
+ saturate: 'filter-saturate: saturate({saturate})',
454
+ sepia: 'filter-sepia: sepia({sepia})',
455
+ url: 'filter-url: url({url})'
456
+ }
457
+ }
458
+ },
459
+ opacity: {
460
+ description: 'Specifies the opacity of an element',
461
+ syntax: '{0.0,1.0}',
462
+ template: 'opacity: {opacity}',
463
+ initial: '1',
464
+ appliesTo: 'all elements',
465
+ fabric: {
466
+ classNames: {
467
+ opacity: 'opacity: {opacity}'
468
+ }
469
+ }
470
+ },
471
+ transition: {
472
+ description: 'Specifies the transition effect for an element',
473
+ syntax: '[transition] | [transition-duration | transition-timing-function |transition- delay]',
474
+ template: 'transition: {transition} {duration} {timingFunction} {delay}',
475
+ initial: 'none',
476
+ appliesTo: 'all elements',
477
+ fabric: {
478
+ classNames: {
479
+ transition: 'transition: {transition} {transition-duration} {transition-timingFunction} {transition-delay}',
480
+ 'transition-property': 'transition-property: {transition-property}',
481
+ 'transition-duration': 'transition-duration: {transition-duration}',
482
+ 'transition-timing-function': 'transition-timing-function: {transition-timingFunction}',
483
+ 'transition-delay': 'transition-delay: {transition-delay}'
484
+ }
485
+ }
486
+ },
487
+ aspectRatio: {
488
+ description: 'Specifies the aspect ratio of an element',
489
+ syntax: 'range[0,1]',
490
+ template: 'aspect-ratio: {aspectRatioX} / {aspectRatioY}',
491
+ initial: '1',
492
+ appliesTo: 'all elements',
493
+ fabric: {
494
+ classNames: {
495
+ 'aspect-ratio': 'aspect-ratio: {aspectRatioX} / {aspectRatioY}'
496
+ }
497
+ }
498
+ },
499
+ colorScheme: {
500
+ description: 'Specifies the color scheme used by an element',
501
+ syntax: '[normal | light | dark] | [only light | only dark]',
502
+ template: 'color-scheme: {colorScheme}',
503
+ initial: 'light',
504
+ appliesTo: 'all elements',
505
+ fabric: {
506
+ classNames: {
507
+ 'color-scheme': 'color-scheme: {colorScheme}'
508
+ }
509
+ }
510
+ },
511
+ initialLetter: {
512
+ description: 'Specifies the initial letter of an element',
513
+ syntax: 'normal | drop | raised | sunken | inherit',
514
+ template: 'initial-letter: {initialLetter}',
515
+ initial: 'normal',
516
+ appliesTo: 'all elements',
517
+ fabric: {
518
+ classNames: {
519
+ 'initial-letter': 'initial-letter: {initialLetter}'
520
+ }
521
+ }
522
+ },
523
+ gap: {
524
+ description: 'Specifies the gap between the rows and columns',
525
+ syntax: 'length | percentage',
526
+ template: 'gap: {gap}',
527
+ initial: '0',
528
+ appliesTo: 'all elements',
529
+ fabric: {
530
+ classNames: {
531
+ gap: 'gap: {gap}',
532
+ 'row-gap': 'row-gap: {rowGap}',
533
+ 'column-gap': 'column-gap: {columnGap}'
534
+ }
535
+ }
536
+ },
537
+ break: {
538
+ 'break-after': {
539
+ description: 'Specifies the page-, column-, or region-break behavior after an element',
540
+ syntax: 'auto | always | avoid | left | right | page | column | region | avoid-page | avoid-column | avoid-region',
541
+ template: 'break-after: {break-after}',
542
+ initial: 'auto',
543
+ appliesTo: 'all elements',
544
+ fabric: {
545
+ classNames: {
546
+ 'break-after': 'break-after: {break-after}'
547
+ }
548
+ }
549
+ },
550
+ 'break-before': {
551
+ description: 'Specifies the page-, column-, or region-break behavior before an element',
552
+ syntax: 'auto | always | avoid | left | right | page | column | region | avoid-page | avoid-column | avoid-region',
553
+ template: 'break-before: {break-before}',
554
+ initial: 'auto',
555
+ appliesTo: 'all elements',
556
+ fabric: {
557
+ classNames: {
558
+ 'break-before': 'break-before: {break-before}'
559
+ }
560
+ }
561
+ }
562
+ },
563
+ backDropFilter: {
564
+ description: 'Specifies the backdrop-filter effects for an element',
565
+ syntax: 'none | blur | brightness | contrast | drop-shadow | grayscale | hue-rotate | invert | opacity | saturate | sepia | url | initial | inherit | revert | unset',
566
+ template: 'backdrop-filter: {backdropFilter}',
567
+ initial: 'none',
568
+ appliesTo: 'all elements',
569
+ fabric: {
570
+ classNames: {
571
+ 'backdrop-filter-blur': 'backdrop-filter-blur: blur({blur})',
572
+ backdropFilterBrightness: 'backdrop-filter-brightness: brightness({brightness})',
573
+ backdropFilterContrast: 'backdrop-filter-contrast: contrast({contrast})',
574
+ backdropFilterDropShadow: 'backdrop-filter-drop-shadow: drop-shadow({dropShadow})',
575
+ backdropFilterGrayscale: 'backdrop-filter-grayscale: grayscale({grayscale})',
576
+ backdropFilterHueRotate: 'backdrop-filter-hue-rotate: hue-rotate({hueRotate})',
577
+ backdropFilterInvert: 'backdrop-filter-invert: invert({invert})',
578
+ backdropFilterOpacity: 'backdrop-filter-opacity: opacity({opacity})',
579
+ backdropFilterSaturate: 'backdrop-filter-saturate: saturate({saturate})',
580
+ backdropFilterSepia: 'backdrop-filter-sepia: sepia({sepia})',
581
+ backdropFilterUrl: 'backdrop-filter-url: url({url})'
582
+ }
583
+ }
584
+ },
585
+ boxShadow: {
586
+ description: 'Specifies the shadow effect around an element',
587
+ syntax: 'none | [h-shadow v-shadow blur spread color] | [inset h-shadow v-shadow blur spread color]',
588
+ template: 'box-shadow: {boxShadow}',
589
+ initial: 'none',
590
+ appliesTo: 'all box elements'
591
+ },
592
+ background: {
593
+ description: 'Specifies the background properties for an element',
594
+ syntax: '[background-color | background-image | background-repeat | background-attachment | background-position]',
595
+ template: 'background: {backgroundColor} {backgroundImage} {backgroundRepeat} {backgroundAttachment} {backgroundPosition}',
596
+ initial: 'transparent none repeat scroll 0% 0%',
597
+ appliesTo: 'all elements',
598
+ fabric: {
599
+ classNames: {
600
+ 'background-color': 'background-color: {backgroundColor}',
601
+ 'background-image': 'background-image: {backgroundImage}',
602
+ 'background-repeat': 'background-repeat: {backgroundRepeat}',
603
+ 'background-attachment': 'background-attachment: {backgroundAttachment}',
604
+ 'background-position': 'background-position: {backgroundPosition}'
605
+ }
606
+ }
607
+ },
608
+ 'unicode-bidi': {
609
+ description: 'Specifies the level of embedding with respect to the bidirectional algorithm',
610
+ syntax: 'normal | embed | bidi-override',
611
+ template: 'unicode-bidi: {unicodeBidi}',
612
+ initial: 'normal',
613
+ appliesTo: 'all elements',
614
+ fabric: {
615
+ classNames: {
616
+ 'unicode-bidi': 'unicode-bidi: {unicodeBidi}'
617
+ }
618
+ }
619
+ },
620
+ 'user-select': {
621
+ description: 'Specifies the text selection behavior',
622
+ syntax: 'auto | text | none | contain',
623
+ template: 'user-select: {userSelect}',
624
+ initial: 'auto',
625
+ appliesTo: 'all elements',
626
+ fabric: {
627
+ classNames: {
628
+ 'user-select': 'user-select: {userSelect}'
629
+ }
630
+ }
631
+ },
632
+ widows: {
633
+ description: 'Specifies the minimum number of lines that must be left at the top of a page when a page break occurs inside an element',
634
+ syntax: 'number',
635
+ template: 'widows: {widows}',
636
+ initial: '2',
637
+ appliesTo: 'all elements',
638
+ fabric: {
639
+ classNames: {
640
+ widows: 'widows: {widows}'
641
+ }
642
+ }
643
+ },
644
+ 'touch-action': {
645
+ description: 'Specifies the scrolling and zooming of the content',
646
+ syntax: 'auto | none | pan-x | pan-y | pan-left | pan-right | pan-up | pan-down | pinch-zoom | manipulation',
647
+ template: 'touch-action: {touchAction}',
648
+ initial: 'auto',
649
+ appliesTo: 'all elements',
650
+ fabric: {
651
+ classNames: {
652
+ 'touch-action': 'touch-action: {touchAction}'
653
+ }
654
+ }
655
+ },
656
+ cursor: {
657
+ description: 'Specifies the type of cursor to be displayed',
658
+ syntax: 'auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize | text | wait | help | progress',
659
+ template: 'cursor: {cursor}',
660
+ initial: 'auto',
661
+ appliesTo: 'all elements',
662
+ fabric: {
663
+ classNames: {
664
+ cursor: 'cursor: {cursor}'
665
+ }
666
+ }
667
+ },
668
+ animations: {
669
+ translate: {
670
+ description: 'Specifies the translation of an element',
671
+ syntax: 'none | transform-functions',
672
+ template: 'transform: translate({translateX}, {translateY}), {translateZ})',
673
+ initial: 'none',
674
+ appliesTo: 'all elements',
675
+ fabric: {
676
+ classNames: {
677
+ transform: 'transform: translate({translateX}, {translateY}), {translateZ})'
678
+ }
679
+ }
680
+ }
681
+ },
682
+ 'vertical-align': {
683
+ description: 'Specifies the vertical alignment of the content in an element',
684
+ syntax: 'baseline | sub | super | top | text-top | middle | bottom | text-bottom | length | percentage',
685
+ template: 'vertical-align: {vertical-align}',
686
+ initial: 'baseline',
687
+ appliesTo: 'all elements',
688
+ fabric: {
689
+ classNames: {
690
+ 'vertical-align': 'vertical-align: {vertical-align}'
691
+ }
692
+ }
693
+ },
694
+ visibility: {
695
+ description: 'Specifies whether or not an element is visible',
696
+ syntax: 'visible | hidden | collapse | initial | inherit',
697
+ template: 'visibility: {visibility}',
698
+ initial: 'visible',
699
+ appliesTo: 'all elements',
700
+ fabric: {
701
+ classNames: {
702
+ visibility: 'visibility: {visibility}'
703
+ }
704
+ }
705
+ },
706
+ borders: {
707
+ border: {
708
+ description: 'Specifies the border properties for an element',
709
+ syntax: 'border-width | border-style | border-color',
710
+ template: 'border: {border-width} {border-style} {border-color}',
711
+ initial: 'medium none currentColor',
712
+ appliesTo: 'all box elements',
713
+ fabric: {
714
+ /* classNames: {
715
+ 'border-width': 'border-width: {border-width}',
716
+ 'border-style': 'border-style: {border-style}',
717
+ 'border-color': 'border-color: {border-color}'
718
+ }, */
719
+ variations: {
720
+ color: '(cssFab.theme) | cssFab.palette | cssFab.status',
721
+ style: 'auto | none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset',
722
+ width: 'thin | medium | thick'
723
+ }
724
+ }
725
+ },
726
+ radius: {
727
+ description: 'Specifies the radius of the border corners',
728
+ syntax: 'border-radius: [ length | percentage ]{1,4} [ / [ length | percentage ]{1,4} ]?',
729
+ template: 'border-radius: {borderRadius}',
730
+ initial: '0',
731
+ appliesTo: 'all box elements',
732
+ fabric: {
733
+ classNames: {
734
+ 'border-radius': 'border-radius: {border-radius}',
735
+ 'border-top-left-radius': 'border-top-left-radius: {border-top-left-radius}',
736
+ 'border-top-right-radius': 'border-top-right-radius: {border-top-right-radius}',
737
+ 'border-bottom-left-radius': 'border-bottom-left-radius: {border-bottom-left-radius}',
738
+ 'border-bottom-right-radius': 'border-bottom-right-radius: {border-bottom-right-radius}'
739
+ }
740
+ }
741
+ },
742
+ borderWidth: {
743
+ description: 'Specifies the width of the border',
744
+ syntax: 'length | thin | medium | thick',
745
+ template: 'border-width: {borderWidth}',
746
+ initial: 'medium',
747
+ appliesTo: 'all box elements',
748
+ fabric: {
749
+ classNames: {
750
+ 'border-width': 'border-width: {borderWidth}'
751
+ }
752
+ }
753
+ },
754
+ borderStyle: {
755
+ description: 'Specifies the style of the border',
756
+ syntax: 'none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset',
757
+ template: 'border-style: {borderStyle}',
758
+ initial: 'none',
759
+ appliesTo: 'all box elements',
760
+ fabric: {
761
+ classNames: {
762
+ 'border-style': 'border-style: {borderStyle}'
763
+ }
764
+ }
765
+ },
766
+ borderColor: {
767
+ description: 'Specifies the color of the border',
768
+ syntax: 'color',
769
+ template: 'border-color: {border-color}',
770
+ initial: 'currentColor',
771
+ appliesTo: 'all box elements',
772
+ fabric: {
773
+ classNames: {
774
+ 'border-color': 'border-color: {border-color}'
775
+ }
776
+ }
777
+ },
778
+ outline: {
779
+ description: 'Specifies the outline around an element',
780
+ syntax: 'outline-color | outline-style | outline-width',
781
+ template: '[outline: outline] | [{outlineColor} {outlineStyle} {outlineWidth}]',
782
+ initial: 'invert none medium',
783
+ appliesTo: 'all box elements',
784
+ fabric: {
785
+ /* classNames: {
786
+ color: 'outline-color: {outline-color}',
787
+ style: 'outline-style: {outline-style}',
788
+ width: 'outline-width: {outline-width}'
789
+ }, */
790
+ variations: {
791
+ color: '(cssFab.theme) | cssFab.palette | cssFab.status',
792
+ style: 'auto | none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset',
793
+ width: 'thin | medium | thick'
794
+ }
795
+ }
796
+ }
797
+ },
798
+ font: {
799
+ description: 'Specifies the font properties for an element',
800
+ syntax: 'font-style | font-variant | font-weight | font-size | line-height | font-family',
801
+ template: 'font: {fontStyle} {fontVariant} {fontWeight} {fontSize}/{lineHeight} {fontFamily}',
802
+ initial: 'normal normal normal medium/normal sans-serif',
803
+ appliesTo: 'all elements',
804
+ fabric: {
805
+ classNames: {
806
+ 'font-style': 'font-style: {fontStyle}',
807
+ 'font-variant': 'font-variant: {fontVariant}',
808
+ 'font-weight': 'font-weight: {fontWeight}',
809
+ 'font-size': 'font-size: {fontSize}',
810
+ 'font-family': 'font-family: {fontFamily}',
811
+ 'line-height': 'line-height: {lineHeight}'
812
+ }
813
+ }
814
+ },
815
+ rotate: {
816
+ description: 'Specifies the rotation of the element',
817
+ syntax: 'angle',
818
+ template: 'rotate: {rotate} {rotate} {rotate}',
819
+ initial: '0',
820
+ appliesTo: 'all elements',
821
+ fabric: {
822
+ classNames: {
823
+ rotate: 'rotate: {rotate} {rotate} {rotate}'
824
+ }
825
+ }
826
+ },
827
+ scale: {
828
+ description: 'Specifies the scale of the element',
829
+ syntax: 'none | [number | percentage]',
830
+ template: 'transform: scale({scale})',
831
+ initial: '1',
832
+ appliesTo: 'all elements',
833
+ fabric: {
834
+ classNames: {
835
+ transform: 'transform: scale({scale})'
836
+ }
837
+ }
838
+ },
839
+ 'scroll-snap': {
840
+ 'scroll-snap-type': {
841
+ description: 'Specifies the scroll snapping behavior for a container element',
842
+ syntax: 'none | x | y | block | inline | both',
843
+ template: 'scroll-snap-type: {scroll-snap-type}',
844
+ initial: 'none',
845
+ appliesTo: 'all elements',
846
+ fabric: {
847
+ classNames: {
848
+ 'scroll-snap-type': 'scroll-snap-type: {scroll-snap-type}'
849
+ }
850
+ }
851
+ },
852
+ 'scroll-snap-align': {
853
+ description: 'Specifies the scroll snapping behavior for a container element',
854
+ syntax: 'none | start | end | center',
855
+ template: 'scroll-snap-align: {scrollSnapAlign}',
856
+ initial: 'none',
857
+ appliesTo: 'all elements',
858
+ fabric: {
859
+ classNames: {
860
+ 'scroll-snap-align': 'scroll-snap-align: {scrollSnapAlign}'
861
+ }
862
+ }
863
+ },
864
+ 'scroll-margin': {
865
+ description: 'Specifies the scroll snapping behavior for a container element',
866
+ syntax: 'inherit | initial | unset | length | percentage',
867
+ template: 'scroll-margin: {scroll-margin} {scroll-margin-top} {scroll-margin-right} {scroll-margin-bottom} {scroll-margin-left}',
868
+ initial: '0 0 0 0',
869
+ appliesTo: 'all elements',
870
+ fabric: {
871
+ classNames: {
872
+ 'scroll-margin': 'scroll-margin: {scroll-margin}',
873
+ top: 'scroll-margin-top: {scroll-margin-top}',
874
+ right: 'scroll-margin-right: {scroll-margin-right}',
875
+ bottom: 'scroll-margin-bottom: {scroll-margin-bottom}',
876
+ left: 'scroll-margin-left: {scroll-margin-left}'
877
+ }
878
+ }
879
+ },
880
+ 'scroll-padding': {
881
+ description: 'Specifies the scroll snapping behavior for a container element',
882
+ syntax: 'inherit | initial | unset | length | percentage',
883
+ template: 'scroll-padding: {scrollPadding} {scrollPadding} {scrollPadding} {scrollPadding}',
884
+ initial: '0 0 0 0',
885
+ appliesTo: 'all elements',
886
+ fabric: {
887
+ classNames: {
888
+ 'scroll-padding': 'scroll-padding: {scroll-padding}',
889
+ top: 'scroll-padding-top: {scroll-padding-top}',
890
+ right: 'scroll-padding-right: {scroll-padding-right}',
891
+ bottom: 'scroll-padding-bottom: {scroll-padding-bottom}',
892
+ left: 'scroll-padding-left: {scroll-padding-left}'
893
+ }
894
+ }
895
+ },
896
+ 'scroll-snap-stop': {
897
+ description: 'Specifies the scroll snapping behavior for a container element',
898
+ syntax: 'normal | always',
899
+ template: 'scroll-snap-stop: {scroll-snap-stop}',
900
+ initial: 'normal',
901
+ appliesTo: 'all elements',
902
+ fabric: {
903
+ classNames: {
904
+ 'scroll-snap-stop': 'scroll-snap-stop: {scrollSnapStop}'
905
+ }
906
+ }
907
+ }
908
+ },
909
+ text: {
910
+ 'text-shadow': {
911
+ description: 'Specifies the shadow effect for text',
912
+ syntax: 'offset-x | offset-y | blur-radius | color',
913
+ template: 'text-shadow: {offset-x} {offset-y} {blur-radius} {color}',
914
+ initial: 'none none none none',
915
+ appliesTo: 'all text elements',
916
+ fabric: {
917
+ classNames: {
918
+ 'text-shadow': 'text-shadow: {text-shadow}',
919
+ 'offset-x': 'text-shadow: {offset-x}',
920
+ 'offset-y': 'text-shadow: {offset-y}',
921
+ 'blur-radius': 'text-shadow: {blur-radius}',
922
+ color: 'text-shadow: {color}'
923
+ }
924
+ }
925
+ },
926
+ 'text-justify': {
927
+ description: 'Specifies the justification method used when text-align is "justify"',
928
+ syntax: 'auto | inter-word | inter-character | none',
929
+ template: 'text-justify: {textJustify}',
930
+ initial: 'auto',
931
+ appliesTo: 'all elements',
932
+ fabric: {
933
+ classNames: {
934
+ 'text-justify': 'text-justify: {textJustify}'
935
+ }
936
+ }
937
+ },
938
+ 'text-indent': {
939
+ description: 'Specifies the indentation of the first line in a text-block',
940
+ syntax: 'noe | length | percentage',
941
+ template: 'text-indent: {textIndent}',
942
+ initial: '0',
943
+ appliesTo: 'all elements',
944
+ fabric: {
945
+ classNames: {
946
+ 'text-indent': 'text-indent: {textIndent}'
947
+ }
948
+ }
949
+ },
950
+ 'text-align': {
951
+ description: 'Specifies the horizontal alignment of text',
952
+ syntax: 'left | right | center | justify | initial | inherit',
953
+ template: 'text-align: {textAlign}',
954
+ initial: 'left',
955
+ appliesTo: 'all elements',
956
+ fabric: {
957
+ classNames: {
958
+ 'text-align': 'text-align: {textAlign}'
959
+ }
960
+ }
961
+ },
962
+ 'text-decoration': {
963
+ description: 'Specifies the decoration added to text',
964
+ syntax: 'none | [underline | overline | line-through | blink]',
965
+ template: 'text-decoration: {textDecoration}',
966
+ initial: 'none',
967
+ appliesTo: 'all elements',
968
+ fabric: {
969
+ classNames: {
970
+ 'text-decoration': 'text-decoration: {textDecoration}'
971
+ }
972
+ }
973
+ },
974
+ 'text-transform': {
975
+ description: 'Specifies the capitalization of text',
976
+ syntax: 'none | [capitalize | uppercase | lowercase | initial | inherit]',
977
+ template: 'text-transform: {text-transform}',
978
+ initial: 'none',
979
+ appliesTo: 'all elements',
980
+ fabric: {
981
+ classNames: {
982
+ 'text-transform': 'text-transform: {text-transform}'
983
+ }
984
+ }
985
+ },
986
+ 'text-overflow': {
987
+ description: 'Specifies how overflowed content that is not displayed should be signaled to the user',
988
+ syntax: '[clip | ellipsis | string]',
989
+ template: 'text-overflow: {text-overflow}',
990
+ initial: 'clip',
991
+ appliesTo: 'all elements',
992
+ fabric: {
993
+ classNames: {
994
+ 'text-overflow': 'text-overflow: {text-overflow}'
995
+ }
996
+ }
997
+ },
998
+ whiteSpace: {
999
+ description: 'Specifies how white-space inside an element is handled',
1000
+ syntax: 'normal | nowrap | pre | pre-line | pre-wrap | break-spaces',
1001
+ template: 'white-space: {whiteSpace}',
1002
+ initial: 'normal',
1003
+ appliesTo: 'all elements',
1004
+ fabric: {
1005
+ classNames: {
1006
+ 'white-space': 'white-space: {white-space}'
1007
+ }
1008
+ }
1009
+ },
1010
+ wordBreak: {
1011
+ description: 'Specifies line breaking rules for non-CJK scripts',
1012
+ syntax: 'normal | break-all | keep-all',
1013
+ template: 'word-break: {wordBreak}',
1014
+ initial: 'normal',
1015
+ appliesTo: 'all elements',
1016
+ fabric: {
1017
+ classNames: {
1018
+ 'word-break': 'word-break: {wordBreak}'
1019
+ }
1020
+ }
1021
+ },
1022
+ wordSpacing: {
1023
+ description: 'Specifies the spacing between words',
1024
+ syntax: 'normal | length ',
1025
+ template: 'word-spacing: {wordSpacing}',
1026
+ initial: 'normal',
1027
+ appliesTo: 'all elements',
1028
+ fabric: {
1029
+ classNames: {
1030
+ 'word-spacing': 'word-spacing: {wordSpacing}'
1031
+ }
1032
+ }
1033
+ },
1034
+ writingMode: {
1035
+ description: 'Specifies whether lines of text are laid out horizontally or vertically',
1036
+ syntax: 'horizontal-tb | vertical-rl | vertical-lr',
1037
+ template: 'writing-mode: {writingMode}',
1038
+ initial: 'horizontal-tb',
1039
+ appliesTo: 'all elements',
1040
+ fabric: {
1041
+ classNames: {
1042
+ 'writing-mode': 'writing-mode: {writingMode}'
1043
+ }
1044
+ }
1045
+ },
1046
+ hangingPunctuation: {
1047
+ description: 'Specifies whether a punctuation character may be placed outside the line box',
1048
+ syntax: '[none | first | last] | [allow-end | force-end]',
1049
+ template: 'hanging-punctuation: {hangingPunctuation}',
1050
+ initial: 'none',
1051
+ appliesTo: 'all elements',
1052
+ fabric: {
1053
+ classNames: {
1054
+ 'hanging-punctuation': 'hanging-punctuation: {hangingPunctuation}'
1055
+ }
1056
+ }
1057
+ },
1058
+ initialLetterAlign: {
1059
+ description: 'Specifies the alignment of the initial letter',
1060
+ syntax: 'auto | alphabetic | hanging | ideographic',
1061
+ template: 'initial-letter-align: {initialLetterAlign}',
1062
+ initial: 'auto',
1063
+ appliesTo: 'all elements',
1064
+ fabric: {
1065
+ classNames: {
1066
+ 'initial-letter-align': 'initial-letter-align: {initialLetterAlign}'
1067
+ }
1068
+ }
1069
+ },
1070
+ column: {
1071
+ columnCount: {
1072
+ description: 'Specifies the number of columns an element should be divided into',
1073
+ syntax: 'number | auto',
1074
+ template: 'column-count: {columnCount}',
1075
+ initial: 'auto',
1076
+ appliesTo: 'all elements',
1077
+ fabric: {
1078
+ classNames: {
1079
+ 'column-count': 'column-count: {columnCount}'
1080
+ }
1081
+ }
1082
+ },
1083
+ columnFill: {
1084
+ description: 'Specifies how to fill columns, balanced or not',
1085
+ syntax: 'balance | auto',
1086
+ template: 'column-fill: {columnFill}',
1087
+ initial: 'balance',
1088
+ appliesTo: 'all elements',
1089
+ fabric: {
1090
+ classNames: {
1091
+ 'column-fill': 'column-fill: {columnFill}'
1092
+ }
1093
+ }
1094
+ },
1095
+ columnGap: {
1096
+ description: 'Specifies the gap between the columns',
1097
+ syntax: 'length | normal',
1098
+ template: 'column-gap: {columnGap}',
1099
+ initial: 'normal',
1100
+ appliesTo: 'all elements',
1101
+ fabric: {
1102
+ classNames: {
1103
+ 'column-gap': 'column-gap: {columnGap}'
1104
+ }
1105
+ }
1106
+ },
1107
+ 'column-rule': {
1108
+ description: 'Specifies a straight line, or "rule", to be drawn between each column',
1109
+ syntax: 'column-rule | [column-rule-width | column-rule-style | column-rule-color]',
1110
+ template: 'column-rule: {columnRuleWidth} {columnRuleStyle} {columnRuleColor}',
1111
+ initial: 'medium none currentColor',
1112
+ appliesTo: 'all elements',
1113
+ fabric: {
1114
+ classNames: {
1115
+ 'column-rule': 'column-rule: {column-rule-width} {column-rule-style} {column-rule-color}',
1116
+ color: 'column-rule-color: {column-rule-color}',
1117
+ style: 'column-rule-style: {column-rule-style}',
1118
+ width: 'column-rule-width: {column-rule-width}'
1119
+ }
1120
+ }
1121
+ },
1122
+ columnRuleColor: {
1123
+ description: 'Specifies the color of the rule between columns',
1124
+ syntax: 'color',
1125
+ template: 'column-rule-color: {columnRuleColor}',
1126
+ initial: 'currentColor',
1127
+ appliesTo: 'all elements',
1128
+ fabric: {
1129
+ classNames: {
1130
+ 'column-rule-color': 'column-rule-color: {columnRuleColor}'
1131
+ }
1132
+ }
1133
+ },
1134
+ columnRuleStyle: {
1135
+ description: 'Specifies the style of the rule between columns',
1136
+ syntax: 'none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset',
1137
+ template: 'column-rule-style: {columnRuleStyle}',
1138
+ initial: 'none',
1139
+ appliesTo: 'all elements',
1140
+ fabric: {
1141
+ classNames: {
1142
+ 'column-rule-style': 'column-rule-style: {columnRuleStyle}'
1143
+ }
1144
+ }
1145
+ },
1146
+ columnRuleWidth: {
1147
+ description: 'Specifies the width of the rule between columns',
1148
+ syntax: 'medium | thin | thick | length',
1149
+ template: 'column-rule-width: {columnRuleWidth}',
1150
+ initial: 'medium',
1151
+ appliesTo: 'all elements',
1152
+ fabric: {
1153
+ classNames: {
1154
+ 'column-rule-width': 'column-rule-width: {columnRuleWidth}'
1155
+ }
1156
+ }
1157
+ },
1158
+ columnSpan: {
1159
+ description: 'Specifies how many columns an element should span across',
1160
+ syntax: 'none | all',
1161
+ template: 'column-span: {columnSpan}',
1162
+ initial: 'none',
1163
+ appliesTo: 'all elements',
1164
+ fabric: {
1165
+ classNames: {
1166
+ 'column-span': 'column-span: {columnSpan}'
1167
+ }
1168
+ }
1169
+ },
1170
+ columnWidth: {
1171
+ description: 'Specifies the width of the columns',
1172
+ syntax: 'auto | length',
1173
+ template: 'column-width: {columnWidth}',
1174
+ initial: 'auto',
1175
+ appliesTo: 'all elements',
1176
+ fabric: {
1177
+ classNames: {
1178
+ 'column-width': 'column-width: {columnWidth}'
1179
+ }
1180
+ }
1181
+ }
1182
+ }
1183
+ },
1184
+ zIndex: {
1185
+ description: 'Specifies the stack order of an element',
1186
+ syntax: 'auto | number',
1187
+ template: 'z-index: {zIndex}',
1188
+ initial: 'auto',
1189
+ appliesTo: 'all elements',
1190
+ fabric: {
1191
+ classNames: {
1192
+ 'z-index': 'z-index: {z-index}'
1193
+ }
1194
+ }
1195
+ },
1196
+ 'tab-size': {
1197
+ description: 'Specifies the length of the tab-character',
1198
+ syntax: 'length | number',
1199
+ template: 'tab-size: {tabSize}',
1200
+ initial: '8',
1201
+ appliesTo: 'all elements',
1202
+ fabric: {
1203
+ classNames: {
1204
+ 'tab-size': 'tab-size: {tab-size}'
1205
+ }
1206
+ }
1207
+ },
1208
+ table: {
1209
+ layout: {
1210
+ description: 'Specifies the algorithm used to lay out table cells, rows, and columns',
1211
+ syntax: 'auto | fixed',
1212
+ template: 'table-layout: {table-layout}',
1213
+ initial: 'auto',
1214
+ appliesTo: 'table elements',
1215
+ fabric: {
1216
+ classNames: {
1217
+ layout: 'table-layout: {table-layout}'
1218
+ }
1219
+ }
1220
+ },
1221
+ collapse: {
1222
+ description: 'Specifies whether table borders should be collapsed into a single border or separated',
1223
+ syntax: 'collapse | separate',
1224
+ template: 'border-collapse: {border-collapse}',
1225
+ initial: 'separate',
1226
+ appliesTo: 'table elements',
1227
+ fabric: {
1228
+ classNames: {
1229
+ collapse: 'border-collapse: {borderCollapse}'
1230
+ }
1231
+ }
1232
+ },
1233
+ 'border-spacing': {
1234
+ description: 'Specifies the distance between the borders of adjacent cells',
1235
+ syntax: 'length | percentage',
1236
+ template: 'border-spacing: {border-spacing}',
1237
+ initial: '0',
1238
+ appliesTo: 'table elements',
1239
+ fabric: {
1240
+ classNames: {
1241
+ 'border-spacing': 'border-spacing: {border-spacing}'
1242
+ }
1243
+ }
1244
+ },
1245
+ 'empty-cells': {
1246
+ description: 'Specifies whether or not to display borders and background on empty cells in a table',
1247
+ syntax: 'show | hide',
1248
+ template: 'empty-cells: {empty-cells}',
1249
+ initial: 'show',
1250
+ appliesTo: 'table elements',
1251
+ fabric: {
1252
+ classNames: {
1253
+ 'empty-cells': 'empty-cells: {empty-cells}'
1254
+ }
1255
+ }
1256
+ },
1257
+ 'caption-side': {
1258
+ description: 'Specifies the placement of a table caption',
1259
+ syntax: 'top | bottom | block-start | block-end | inline-start | inline-end',
1260
+ template: 'caption-side: {caption-side}',
1261
+ initial: 'top',
1262
+ appliesTo: 'table elements',
1263
+ fabric: {
1264
+ classNames: {
1265
+ 'caption-side': 'caption-side: {caption-side}'
1266
+ }
1267
+ }
1268
+ }
1269
+ }
1270
+ };