@medyll/cssfabric 0.1.0 → 0.2.0

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 (202) hide show
  1. package/README.md +38 -240
  2. package/_generated/cssFabric.vars.json +13 -0
  3. package/{src/_generated → _generated}/export.variables.md +0 -0
  4. package/{src/_generated → _generated}/index.d.ts +0 -0
  5. package/{src/_generated → _generated}/readme.md +0 -0
  6. package/init/importCssVars.d.ts +1 -0
  7. package/init/importCssVars.js +2 -0
  8. package/package.json +113 -69
  9. package/{lib/scripts → scripts}/cssfabric.d.ts +0 -0
  10. package/scripts/cssfabric.js +43 -0
  11. package/{lib/scripts → scripts}/cssfabricClassNames.d.ts +0 -0
  12. package/{lib/scripts → scripts}/cssfabricClassNames.js +5 -9
  13. package/{src/scripts → scripts}/index.d.ts +0 -0
  14. package/scripts/index.js +4 -0
  15. package/{lib/scripts → scripts}/utils.d.ts +0 -0
  16. package/{lib/scripts → scripts}/utils.js +1 -3
  17. package/{lib/styles/core → styles}/animation/animation.css +0 -0
  18. package/{lib/styles/core → styles}/animation/animation.min.css +0 -0
  19. package/{lib/styles/core → styles}/base/base.css +0 -7
  20. package/styles/base/base.min.css +1 -0
  21. package/styles/box/box.css +1379 -0
  22. package/styles/box/box.min.css +1 -0
  23. package/styles/box/box.responsive.css +5524 -0
  24. package/styles/box/box.responsive.min.css +1 -0
  25. package/styles/color/color.css +1565 -0
  26. package/styles/color/color.min.css +1 -0
  27. package/styles/color/color.responsive.css +6268 -0
  28. package/styles/color/color.responsive.min.css +1 -0
  29. package/styles/cssfabric.css +61792 -0
  30. package/styles/cssfabric.min.css +168 -0
  31. package/styles/cssfabric.responsive.css +200596 -0
  32. package/styles/cssfabric.responsive.min.css +108 -0
  33. package/{lib/styles/core → styles}/flex/flex.css +0 -0
  34. package/styles/flex/flex.min.css +1 -0
  35. package/{lib/styles/core → styles}/flex/flex.responsive.css +0 -126
  36. package/styles/flex/flex.responsive.min.css +1 -0
  37. package/{lib/styles/core → styles}/grid/grid.css +0 -0
  38. package/styles/grid/grid.min.css +1 -0
  39. package/{lib/styles/core → styles}/grid/grid.responsive.css +0 -121
  40. package/styles/grid/grid.responsive.min.css +1 -0
  41. package/{lib/styles/core → styles}/menu/menu.css +16 -12
  42. package/styles/menu/menu.min.css +1 -0
  43. package/{lib/styles/core → styles}/menu/menu.responsive.css +64 -129
  44. package/styles/menu/menu.responsive.min.css +1 -0
  45. package/{lib/styles/core → styles}/overflow/overflow.css +0 -0
  46. package/{lib/styles/core → styles}/overflow/overflow.min.css +0 -0
  47. package/{lib/styles/core → styles}/overflow/overflow.responsive.css +0 -61
  48. package/styles/overflow/overflow.responsive.min.css +1 -0
  49. package/{lib/styles/core → styles}/scale/scale.css +286 -206
  50. package/styles/scale/scale.min.css +1 -0
  51. package/styles/scale/scale.responsive.css +2884 -0
  52. package/styles/scale/scale.responsive.min.css +1 -0
  53. package/{lib/styles/core → styles}/table/table.css +0 -0
  54. package/styles/table/table.min.css +1 -0
  55. package/{lib/styles/core → styles}/table/table.responsive.css +0 -74
  56. package/styles/table/table.responsive.min.css +1 -0
  57. package/{lib/styles/core → styles}/text/text.css +4 -0
  58. package/styles/text/text.min.css +1 -0
  59. package/styles/text/text.responsive.css +196 -0
  60. package/styles/text/text.responsive.min.css +1 -0
  61. package/{lib/styles/core → styles}/theme/theme.css +0 -0
  62. package/{lib/styles/core → styles}/theme/theme.min.css +0 -0
  63. package/styles/vars.css +414 -0
  64. package/styles/vars.min.css +1 -0
  65. package/{lib/styles/core → styles}/zindex/zindex.css +0 -0
  66. package/{lib/styles/core → styles}/zindex/zindex.min.css +0 -0
  67. package/.idea/cssfabric.iml +0 -8
  68. package/.idea/misc.xml +0 -9
  69. package/.idea/modules.xml +0 -8
  70. package/.idea/vcs.xml +0 -6
  71. package/.vscode/settings.json +0 -24
  72. package/bin/index.js +0 -7
  73. package/cssfabric.config.js +0 -3
  74. package/cssfabric.json +0 -8
  75. package/gulpfile.js +0 -598
  76. package/lib/_generated/export.variables.json +0 -583
  77. package/lib/index.d.ts +0 -2
  78. package/lib/index.js +0 -7
  79. package/lib/scripts/cssfabric.js +0 -48
  80. package/lib/scripts/index.d.ts +0 -2
  81. package/lib/scripts/index.js +0 -6
  82. package/lib/styles/core/base/base.min.css +0 -1
  83. package/lib/styles/core/box/box.css +0 -2449
  84. package/lib/styles/core/box/box.min.css +0 -1
  85. package/lib/styles/core/box/box.responsive.css +0 -12255
  86. package/lib/styles/core/box/box.responsive.min.css +0 -1
  87. package/lib/styles/core/color/color.css +0 -923
  88. package/lib/styles/core/color/color.min.css +0 -1
  89. package/lib/styles/core/color/color.responsive.css +0 -4625
  90. package/lib/styles/core/color/color.responsive.min.css +0 -1
  91. package/lib/styles/core/flex/flex.min.css +0 -1
  92. package/lib/styles/core/flex/flex.responsive.min.css +0 -1
  93. package/lib/styles/core/grid/grid.min.css +0 -1
  94. package/lib/styles/core/grid/grid.responsive.min.css +0 -1
  95. package/lib/styles/core/main.min.css +0 -1
  96. package/lib/styles/core/menu/menu.min.css +0 -1
  97. package/lib/styles/core/menu/menu.responsive.min.css +0 -1
  98. package/lib/styles/core/overflow/overflow.responsive.min.css +0 -1
  99. package/lib/styles/core/scale/scale.min.css +0 -1
  100. package/lib/styles/core/scale/scale.responsive.css +0 -3205
  101. package/lib/styles/core/scale/scale.responsive.min.css +0 -1
  102. package/lib/styles/core/table/table.min.css +0 -1
  103. package/lib/styles/core/table/table.responsive.min.css +0 -1
  104. package/lib/styles/core/text/text.min.css +0 -1
  105. package/lib/styles/core/text/text.responsive.css +0 -745
  106. package/lib/styles/core/text/text.responsive.min.css +0 -1
  107. package/lib/styles/core/vars.css +0 -274
  108. package/lib/styles/core/vars.min.css +0 -1
  109. package/lib/styles/cssfabric.css +0 -5367
  110. package/lib/styles/cssfabric.min.css +0 -15
  111. package/lib/styles/cssfabric.responsive.css +0 -23164
  112. package/lib/styles/cssfabric.responsive.min.css +0 -9
  113. package/src/_generated/export.variables.json +0 -760
  114. package/src/cssfabric/_utils.scss +0 -193
  115. package/src/cssfabric/index.d.ts +0 -3
  116. package/src/cssfabric/modules/_cssfabric-config.scss +0 -93
  117. package/src/cssfabric/modules/_mixins.scss +0 -1
  118. package/src/cssfabric/modules/animation/_animation-vars.scss +0 -17
  119. package/src/cssfabric/modules/animation/animation.scss +0 -3
  120. package/src/cssfabric/modules/base/_base-vars.scss +0 -19
  121. package/src/cssfabric/modules/base/base.scss +0 -80
  122. package/src/cssfabric/modules/box/_box-build.scss +0 -268
  123. package/src/cssfabric/modules/box/_box-vars.scss +0 -119
  124. package/src/cssfabric/modules/box/box-responsive.scss +0 -18
  125. package/src/cssfabric/modules/box/box.scss +0 -3
  126. package/src/cssfabric/modules/color/_color-build.scss +0 -108
  127. package/src/cssfabric/modules/color/_color-vars.scss +0 -80
  128. package/src/cssfabric/modules/color/color-responsive.scss +0 -23
  129. package/src/cssfabric/modules/color/color.scss +0 -9
  130. package/src/cssfabric/modules/css-fabric.scss +0 -2
  131. package/src/cssfabric/modules/flex/_flex-build.scss +0 -150
  132. package/src/cssfabric/modules/flex/_flex-vars.scss +0 -84
  133. package/src/cssfabric/modules/flex/flex-responsive.scss +0 -25
  134. package/src/cssfabric/modules/flex/flex.scss +0 -3
  135. package/src/cssfabric/modules/grid/_grid-build.scss +0 -84
  136. package/src/cssfabric/modules/grid/_grid-vars.scss +0 -88
  137. package/src/cssfabric/modules/grid/grid-responsive.scss +0 -25
  138. package/src/cssfabric/modules/grid/grid.scss +0 -6
  139. package/src/cssfabric/modules/menu/_menu-build.scss +0 -119
  140. package/src/cssfabric/modules/menu/_menu-vars.scss +0 -29
  141. package/src/cssfabric/modules/menu/menu-responsive.scss +0 -19
  142. package/src/cssfabric/modules/menu/menu.scss +0 -6
  143. package/src/cssfabric/modules/overflow/_overflow-build.scss +0 -22
  144. package/src/cssfabric/modules/overflow/_overflow-vars.scss +0 -31
  145. package/src/cssfabric/modules/overflow/overflow-responsive.scss +0 -25
  146. package/src/cssfabric/modules/overflow/overflow.scss +0 -7
  147. package/src/cssfabric/modules/scale/_scale-build.scss +0 -129
  148. package/src/cssfabric/modules/scale/_scale-vars.scss +0 -75
  149. package/src/cssfabric/modules/scale/scale-responsive.scss +0 -23
  150. package/src/cssfabric/modules/scale/scale.scss +0 -8
  151. package/src/cssfabric/modules/table/_table-build.scss +0 -134
  152. package/src/cssfabric/modules/table/_table-vars.scss +0 -30
  153. package/src/cssfabric/modules/table/table-responsive.scss +0 -24
  154. package/src/cssfabric/modules/table/table.scss +0 -8
  155. package/src/cssfabric/modules/text/_text-build.scss +0 -109
  156. package/src/cssfabric/modules/text/_text-vars.scss +0 -87
  157. package/src/cssfabric/modules/text/text-responsive.scss +0 -25
  158. package/src/cssfabric/modules/text/text.scss +0 -6
  159. package/src/cssfabric/modules/theme/_theme-build.scss +0 -76
  160. package/src/cssfabric/modules/theme/_theme-vars.scss +0 -55
  161. package/src/cssfabric/modules/theme/theme.scss +0 -6
  162. package/src/cssfabric/modules/vars.scss +0 -118
  163. package/src/cssfabric/modules/zindex/_zindex-vars.scss +0 -14
  164. package/src/cssfabric/modules/zindex/zindex.scss +0 -15
  165. package/src/index.d.ts +0 -3
  166. package/src/index.ts +0 -4
  167. package/src/scripts/cssfabric.ts +0 -54
  168. package/src/scripts/cssfabricClassNames.ts +0 -216
  169. package/src/scripts/index.ts +0 -8
  170. package/src/scripts/utils.ts +0 -37
  171. package/src/vendor/index.d.ts +0 -3
  172. package/src/vendor/normalize/normalize.min.css +0 -2
  173. package/src/vendor/sass-json-export/CHANGELOG.md +0 -26
  174. package/src/vendor/sass-json-export/Gruntfile.js +0 -60
  175. package/src/vendor/sass-json-export/LICENSE +0 -20
  176. package/src/vendor/sass-json-export/README.md +0 -90
  177. package/src/vendor/sass-json-export/package.json +0 -60
  178. package/src/vendor/sass-json-export/stylesheets/encode/api/_json.scss +0 -26
  179. package/src/vendor/sass-json-export/stylesheets/encode/encode.scss +0 -17
  180. package/src/vendor/sass-json-export/stylesheets/encode/helpers/_quote.scss +0 -9
  181. package/src/vendor/sass-json-export/stylesheets/encode/mixins/_json.scss +0 -42
  182. package/src/vendor/sass-json-export/stylesheets/encode/types/_bool.scss +0 -7
  183. package/src/vendor/sass-json-export/stylesheets/encode/types/_color.scss +0 -8
  184. package/src/vendor/sass-json-export/stylesheets/encode/types/_list.scss +0 -14
  185. package/src/vendor/sass-json-export/stylesheets/encode/types/_map.scss +0 -15
  186. package/src/vendor/sass-json-export/stylesheets/encode/types/_null.scss +0 -7
  187. package/src/vendor/sass-json-export/stylesheets/encode/types/_number.scss +0 -8
  188. package/src/vendor/sass-json-export/stylesheets/encode/types/_string.scss +0 -8
  189. package/src/vendor/sass-json-export/stylesheets/sass-json-export.scss +0 -2
  190. package/src/vendor/sass-json-export/test/encode/_index.scss +0 -14
  191. package/src/vendor/sass-json-export/test/encode/api/_json.scss +0 -29
  192. package/src/vendor/sass-json-export/test/encode/helpers/_quote.scss +0 -6
  193. package/src/vendor/sass-json-export/test/encode/types/_bool.scss +0 -6
  194. package/src/vendor/sass-json-export/test/encode/types/_color.scss +0 -7
  195. package/src/vendor/sass-json-export/test/encode/types/_list.scss +0 -25
  196. package/src/vendor/sass-json-export/test/encode/types/_map.scss +0 -17
  197. package/src/vendor/sass-json-export/test/encode/types/_null.scss +0 -8
  198. package/src/vendor/sass-json-export/test/encode/types/_number.scss +0 -68
  199. package/src/vendor/sass-json-export/test/encode/types/_string.scss +0 -9
  200. package/src/vendor/sass-json-export/test/test.scss +0 -9
  201. package/tsconfig.json +0 -46
  202. package/webpack.config.js +0 -53
@@ -1,760 +0,0 @@
1
- {
2
- "cssfabric": {
3
- "modules": {
4
- "animation": {
5
- "_data": {
6
-
7
- "attention_props": [],
8
- "in_out_props": {
9
- "back": []
10
- }
11
- }
12
-
13
- ,
14
- "_metadata": {
15
- "title": "animation", "description": "cssfabric simplest animation module"
16
- }
17
-
18
- ,
19
- "_docs": {
20
- "attention_props": "", "in_out_props": ""
21
- }
22
- }
23
-
24
- ,
25
- "base": {
26
- "_data": {
27
-
28
- "cfg-has-dimension-strict": true,
29
- "CFG_HAS_DIMENSION_MIN": true,
30
- "CFG_HAS_DIMENSION_MAX": true,
31
- "size_step": "0.5rem",
32
- "sizes": {
33
- "tiny": 32, "small": 64, "medium": 128, "large": 256, "full": "100%"
34
- }
35
- }
36
-
37
- ,
38
- "_metadata": {
39
- "title": "base", "tag": "base", "description": "cssfabric base config variables"
40
- }
41
-
42
- ,
43
- "_docs": []
44
- }
45
-
46
- ,
47
- "color": {
48
- "_data": {
49
- "gray-config": {
50
- "start": "#f4f4f4", "end": "#999", "steps": 8
51
- }
52
-
53
- ,
54
- "color-types-config": ["color",
55
- "bg",
56
- "bg-themed",
57
- "border-color"],
58
- "theme": {
59
- "primary": "#0288d1", "secondary": "#D14B02", "tertiary": "#88D102", "foreground": "#282230", "background": "#f1f1f1"
60
- }
61
-
62
- ,
63
- "scheme": {
64
- "discrete": "#ccc", "success": "green", "info": "#ffdd57", "warning": "#e6b905", "alert": "#ff7300", "error": "red"
65
- }
66
-
67
- ,
68
- "palette": {
69
- "yellow": "#ffb900", "orange": "#d83b01", "red": "#d13438", "magenta": "#b4009e", "purple": "#5c2d91", "green": "#107c10", "teal": "#008272", "blue": "#0078d4", "dark": "#323232"
70
- }
71
-
72
- ,
73
- "gray": "getGraySteps(8, #f4f4f4, #999)"
74
- }
75
-
76
- ,
77
- "_metadata": {
78
- "title": "color", "title_tag": "its about colors", "description": "cssfabric color system: its about colors"
79
- }
80
-
81
- ,
82
- "_docs": {
83
- "attributes": {
84
- "color": {
85
-
86
- "tag": "color",
87
- "keys": ["scheme",
88
- "palette",
89
- "gray"],
90
- "levelsLinked": {
91
- "scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"], "gray": ["getGraySteps(8, #f4f4f4, #999)"]
92
- }
93
-
94
- ,
95
- "levelsDeclin": {
96
- "palette": ["_", "lighter", "light", "dark", "darker", "complement"]
97
- }
98
-
99
- ,
100
- "about": "color for text level html elements"
101
- }
102
-
103
- ,
104
- "background-color": {
105
-
106
- "tag": "bg",
107
- "keys": ["scheme",
108
- "palette",
109
- "gray"],
110
- "levelsLinked": {
111
- "scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"], "gray": ["getGraySteps(8, #f4f4f4, #999)"]
112
- }
113
-
114
- ,
115
- "levelsDeclin": {
116
- "palette": ["_", "lighter", "light", "dark", "darker", "complement"]
117
- }
118
-
119
- ,
120
- "about": "background colors"
121
- }
122
-
123
- ,
124
- "background-themed": {
125
-
126
- "tag": "bg-themed",
127
- "keys": ["scheme",
128
- "palette",
129
- "gray"],
130
- "levelsLinked": {
131
- "gray": ["getGraySteps(8, #f4f4f4, #999)"], "scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"]
132
- }
133
-
134
- ,
135
- "levelsDeclin": {
136
- "palette": ["_", "lighter", "light", "dark", "darker", "complement"]
137
- }
138
-
139
- ,
140
- "about": "same as background-color, but with added contrasted color to text"
141
- }
142
-
143
- ,
144
- "border-color": {
145
-
146
- "tag": "border-color",
147
- "keys": ["palette",
148
- "gray"],
149
- "levelsLinked": {
150
- "gray": ["getGraySteps(8, #f4f4f4, #999)"], "scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"]
151
- }
152
-
153
- ,
154
- "about": "border colors are slightly darker to maximize surrounding effect"
155
- }
156
- }
157
- }
158
- }
159
-
160
- ,
161
- "box": {
162
- "_data": {
163
-
164
- "unit-config": "rem",
165
- "border-unit-config": "px",
166
- "unit-size-config": 0.5,
167
- "unit-border-size-config": 1,
168
- "sizes-config": 32,
169
- "border-sizes-px-config": 5,
170
- "shadows-steps": 5,
171
- "shadows_step_multiplier": 2,
172
- "position-shorthand-config": "pos",
173
- "display-shorthand-config": "dsp",
174
- "shadow-shorthand-config": "shad",
175
- "border-shorthand-config": "border",
176
- "padding-shorthand-config": "pad",
177
- "margin-shorthand-config": "marg",
178
- "cssProps": {
179
- "borderShorthands": {
180
- "_": ["top", "bottom", "left", "right"], "t": "top", "b": "bottom", "l": "left", "r": "right", "all": ["top", "bottom", "left", "right"], "u": ["bottom", "left", "right"], "ii": ["left", "right"], "tb": ["top", "bottom"]
181
- }
182
-
183
- ,
184
- "positionProps": {
185
- "abs": "absolute", "rel": "relative", "stat": "static", "fix": "fixed", "sticky": "sticky"
186
- }
187
-
188
- ,
189
- "displayProps": {
190
- "block": "block", "none": "none", "inline": "inline", "block-inline": "inline-block", "flex-inline": "inline-flex", "tbl": "table", "tbl-row": "table-row", "tbl-cell": "table-cell", "tbl-column": "table-column"
191
- }
192
- }
193
- }
194
-
195
- ,
196
- "_metadata": {
197
- "title": "box", "tag": "box", "description": "cssfabric box module to set heights, paddings, margins and shadows on all html elements"
198
- }
199
-
200
- ,
201
- "_docs": {
202
- "attributes": {
203
- "padding": {
204
-
205
- "tag": "pad",
206
- "keys": ["_",
207
- "t",
208
- "b",
209
- "l",
210
- "r",
211
- "all",
212
- "u",
213
- "ii",
214
- "tb"],
215
- "values": {
216
- "_": "_", "1": "0.5rem", "2": "1rem", "3": "1.5rem", "4": "2rem", "5": "2.5rem", "6": "3rem", "7": "3.5rem", "8": "4rem", "9": "4.5rem", "10": "5rem", "11": "5.5rem", "12": "6rem", "13": "6.5rem", "14": "7rem", "15": "7.5rem", "16": "8rem", "17": "8.5rem", "18": "9rem", "19": "9.5rem", "20": "10rem", "21": "10.5rem", "22": "11rem", "23": "11.5rem", "24": "12rem", "25": "12.5rem", "26": "13rem", "27": "13.5rem", "28": "14rem", "29": "14.5rem", "30": "15rem", "31": "15.5rem", "32": "16rem"
217
- }
218
-
219
- ,
220
- "levels": {
221
- "_": ["_", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32]
222
- }
223
-
224
- ,
225
- "about": "padding properties for html elements"
226
- }
227
-
228
- ,
229
- "margin": {
230
-
231
- "tag": "marg",
232
- "keys": ["_",
233
- "t",
234
- "b",
235
- "l",
236
- "r",
237
- "all",
238
- "u",
239
- "ii",
240
- "tb"],
241
- "values": {
242
- "_": "_", "1": "0.5rem", "2": "1rem", "3": "1.5rem", "4": "2rem", "5": "2.5rem", "6": "3rem", "7": "3.5rem", "8": "4rem", "9": "4.5rem", "10": "5rem", "11": "5.5rem", "12": "6rem", "13": "6.5rem", "14": "7rem", "15": "7.5rem", "16": "8rem", "17": "8.5rem", "18": "9rem", "19": "9.5rem", "20": "10rem", "21": "10.5rem", "22": "11rem", "23": "11.5rem", "24": "12rem", "25": "12.5rem", "26": "13rem", "27": "13.5rem", "28": "14rem", "29": "14.5rem", "30": "15rem", "31": "15.5rem", "32": "16rem"
243
- }
244
-
245
- ,
246
- "levels": {
247
- "_": ["_", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32]
248
- }
249
-
250
- ,
251
- "about": "margin properties for html elements"
252
- }
253
-
254
- ,
255
- "border": {
256
-
257
- "tag": "border",
258
- "keys": ["_",
259
- "t",
260
- "b",
261
- "l",
262
- "r",
263
- "all",
264
- "u",
265
- "ii",
266
- "tb"],
267
- "values": {
268
- "_": "_", "1": "1px", "2": "2px", "3": "3px", "4": "4px", "5": "5px"
269
- }
270
-
271
- ,
272
- "levels": {
273
- "_": ["_", 1, 2, 3, 4, 5]
274
- }
275
-
276
- ,
277
- "about": "border properties for html elements"
278
- }
279
-
280
- ,
281
- "shadow": {
282
-
283
- "tag": "shad",
284
- "values": {
285
- "2": "0.83333333331.724137931", "4": "1.66666666673.4482758621", "8": "3.33333333336.8965517241", "16": "6.666666666713.7931034483", "32": "13.333333333327.5862068966", "64": "26.666666666755.1724137931", "128": "53.3333333333110.3448275862", "256": "106.6666666667220.6896551724"
286
- }
287
-
288
- ,
289
- "levels": {
290
- "_": [2, 4, 8, 16, 32, 64, 128, 256]
291
- }
292
-
293
- ,
294
- "about": "applying shadows give depth and levels to your design"
295
- }
296
- }
297
- }
298
- }
299
-
300
- ,
301
- "grid": {
302
- "_data": {
303
-
304
- "moduleName": "grid",
305
- "moduleNameShort": "grid",
306
- "horCode": "h",
307
- "vertCode": "v",
308
- "gridFullWidth": "main",
309
- "grow-shrink-steps": 4,
310
- "cssProps": {
311
- "flexWrap": {
312
- "wrap": "wrap", "wrap-reverse": "wrap-reverse"
313
- }
314
-
315
- ,
316
- "grid-justify": {
317
- "start": "flex-start", "end": "flex-end", "between": "space-between", "stretch": "stretch", "center": "flex-center"
318
- }
319
-
320
- ,
321
- "grid-items": {
322
- "baseline": "baseline", "stretch": "stretch", "start": "flex-start", "center": "center", "end": "flex-end"
323
- }
324
-
325
- ,
326
- "grid-content": {
327
- "start": "flex-start", "center": "center", "end": "flex-end", "between": "space-between", "equal": "space-evenly"
328
- }
329
- }
330
-
331
- ,
332
- "cssItemsProps": {
333
- "self": {
334
- "start": "flex-start", "end": "flex-end", "stretch": "stretch"
335
- }
336
- }
337
-
338
- ,
339
- "grid-max-rows": 8,
340
- "grid-max-cols": 12
341
- }
342
-
343
- ,
344
- "_metadata": {
345
- "title": "grid", "tag": "grid", "description": "cssfabric flex grid system module"
346
- }
347
-
348
- ,
349
- "_docs": {
350
- "attributes": {
351
- "grid": {
352
-
353
- "tag": "grid",
354
- "keys": ["v",
355
- "h"],
356
- "classNames": {
357
- "align": ["top", "middle", "bottom", "left", "right", "center", "middle-center", "stretch"], "grid": ["wrap", "wrap-reverse"]
358
- }
359
-
360
- ,
361
- "about": "a classic grid system"
362
- }
363
-
364
- ,
365
- "self": {
366
- "tag": "self", "keys": ["start", "end", "stretch"], "about": "grid children specific classnames"
367
- }
368
- }
369
- }
370
- }
371
-
372
- ,
373
- "menu": {
374
- "_data": {
375
-
376
- "menu_class_name": "menu",
377
- "menu_class_name_short": "ul",
378
- "orientations": {
379
- "v": "vertical", "h": "horizontal"
380
- }
381
-
382
- ,
383
- "menu_item_class_name": "menu-item",
384
- "menu_item_class_name_short": "li",
385
- "menu_item_disabled_tag": "disabled",
386
- "menu_item_selected_tag": "selected",
387
- "menu_dropdown_tag": "drop",
388
- "menu_dropdown_open": "open",
389
- "menu_dropdown_close": "close"
390
- }
391
-
392
- ,
393
- "_metadata": {
394
- "title": "menu", "tag": "ul", "description": "cssfabric menu module to set menu style"
395
- }
396
-
397
- ,
398
- "_docs": {
399
- "attributes": {
400
- "menu": {
401
- "tag": "menu", "keys": ["h", "v"]
402
- }
403
- }
404
- }
405
- }
406
-
407
- ,
408
- "flex": {
409
- "_data": {
410
-
411
- "moduleName": "flex",
412
- "moduleNameShort": "flex",
413
- "horCode": "h",
414
- "vertCode": "v",
415
- "gridFullWidth": "main",
416
- "grow-shrink-steps": 2,
417
- "cssProps": {
418
- "flexWrap": {
419
- "wrap": "wrap", "wrap-reverse": "wrap-reverse"
420
- }
421
-
422
- ,
423
- "grid-justify": {
424
- "start": "flex-start", "end": "flex-end", "between": "space-between", "stretch": "stretch", "center": "flex-center"
425
- }
426
-
427
- ,
428
- "grid-items": {
429
- "baseline": "baseline", "stretch": "stretch", "start": "flex-start", "center": "center", "end": "flex-end"
430
- }
431
-
432
- ,
433
- "grid-content": {
434
- "start": "flex-start", "center": "center", "end": "flex-end", "between": "space-between", "equal": "space-evenly"
435
- }
436
- }
437
-
438
- ,
439
- "cssItemsProps": {
440
- "self": {
441
- "start": "flex-start", "end": "flex-end", "stretch": "stretch"
442
- }
443
- }
444
- }
445
-
446
- ,
447
- "_metadata": {
448
- "title": "flex", "tag": "flex", "description": "cssfabric flex system module"
449
- }
450
-
451
- ,
452
- "_docs": {
453
- "attributes": {
454
- "grid": {
455
-
456
- "tag": "flex",
457
- "keys": ["v",
458
- "h"],
459
- "classNames": {
460
- "align": ["top", "middle", "bottom", "left", "right", "center", "middle-center", "stretch"], "grid": ["wrap", "wrap-reverse"]
461
- }
462
-
463
- ,
464
- "about": "a classic flex grid system, and hey, it gets height !"
465
- }
466
-
467
- ,
468
- "self": {
469
- "tag": "self", "keys": ["start", "end", "stretch"], "about": "flex children specific classnames"
470
- }
471
- }
472
- }
473
- }
474
-
475
- ,
476
- "overflow": {
477
- "_data": {
478
-
479
- "overflow_props": ["overflow",
480
- "overflow-x",
481
- "overflow-y"],
482
- "overflow_values": ["visible",
483
- "hidden",
484
- "clip",
485
- "scroll",
486
- "auto"],
487
- "cssProps": {
488
- "overflow": {
489
- "visible": "visible", "hidden": "hidden", "clip": "clip", "scroll": "scroll", "_": "auto"
490
- }
491
- }
492
- }
493
-
494
- ,
495
- "_metadata": {
496
- "title": "overflow", "tag": "flow", "description": "cssfabric overflow module to set overflow styles on all html elements"
497
- }
498
-
499
- ,
500
- "_docs": {
501
- "attributes": {
502
- "overflow": {
503
- "tag": "flow", "keys": ["visible", "hidden", "clip", "scroll", "auto"]
504
- }
505
-
506
- ,
507
- "overflowX": {
508
- "tag": "flowX", "keys": ["visible", "hidden", "clip", "scroll", "auto"]
509
- }
510
-
511
- ,
512
- "overflowY": {
513
- "tag": "flowY", "keys": ["visible", "hidden", "clip", "scroll", "auto"]
514
- }
515
- }
516
- }
517
- }
518
-
519
- ,
520
- "scale": {
521
- "_data": {
522
-
523
- "weight-config": "1em",
524
- "unit-tag-config": {
525
- "width": "w", "height": "h"
526
- }
527
-
528
- ,
529
- "grid-ratios-config": [5,
530
- 12],
531
- "defined-step-size": 2,
532
- "defined-step-unit": "rem",
533
- "defined-steps": [1,
534
- 2,
535
- 4,
536
- 8,
537
- 16,
538
- 24,
539
- 32,
540
- 48,
541
- 64],
542
- "cssProps": {
543
- "size": {
544
- "full": "100%", "mid": "50%", "quarter": "25%", "tiers": "33%"
545
- }
546
-
547
- ,
548
- "content": {
549
- "content-max": "max-content", "content-min": "min-content"
550
- }
551
-
552
- ,
553
- "defined-steps": [1,
554
- 2,
555
- 4,
556
- 8,
557
- 16,
558
- 24,
559
- 32,
560
- 48,
561
- 64]
562
- }
563
- }
564
-
565
- ,
566
- "_metadata": {
567
- "title": "scale", "tag": "scale", "description": "cssfabric scale module to set dimensions and ratios on all html elements"
568
- }
569
-
570
- ,
571
- "_docs": {
572
- "attributes": {
573
- "scale": {
574
-
575
- "tag": "scale",
576
- "keys": ["w",
577
- "h"],
578
- "levels": {
579
- "_size": ["full", "mid", "quarter", "tiers"], "_content": ["content-max", "content-min"], "_defined-steps": [1, 2, 4, 8, 16, 24, 32, 48, 64], "_grid-5": ["1-5", "2-5", "3-5", "4-5", "5-5"], "_grid-12": ["1-12", "2-12", "3-12", "4-12", "5-12", "6-12", "7-12", "8-12", "9-12", "10-12", "11-12", "12-12"]
580
- }
581
- }
582
- }
583
- }
584
- }
585
-
586
- ,
587
- "table": {
588
- "_data": {
589
- "className": "table", "classNameShort": "tbl", "table_class_name": "table", "table_class_name_short": "tbl", "table-bg-color-head": "#f4f4f4", "table-bg-color-strip-main": "#ededed", "table-bg-color-strip-second": "#f5f5f5", "table-border-color-header": "#ccc", "table-border-color-main": "#ededed", "table-border-color-second": "#f5f5f5"
590
- }
591
-
592
- ,
593
- "_metadata": {
594
- "title": "table", "tag": "table", "description": "cssfabric table module to set different table styles"
595
- }
596
-
597
- ,
598
- "_docs": {
599
- "attributes": {
600
- "table": {
601
-
602
- "tag": "table",
603
- "classNames": {
604
- "_": ["bg-strip-2", "bg-strip-5"], "_pos": ["sticky", "layout"], "_deco": ["h-line", "v-line", "border"]
605
- }
606
-
607
- ,
608
- "about": "is a table"
609
- }
610
- }
611
- }
612
- }
613
-
614
- ,
615
- "text": {
616
- "_data": {
617
-
618
- "moduleName": "text",
619
- "moduleNameShort": "text",
620
- "title-size-declination-config": 6,
621
- "font-size-unit-config": "rem",
622
- "font-sizes-h1-rem-config": 3.1,
623
- "font-size-h-min-rem-config": 1,
624
- "text-ellipsis-tag-config": "ellipsis",
625
- "cssProps": {
626
- "textTransform": {
627
- "cap": "capitalize", "up": "uppercase", "low": "lowercase", "none": "none", "full": "full-width"
628
- }
629
-
630
- ,
631
- "fontWeight": {
632
- "50": 50, "100": 100, "300": 400, "500": 500, "900": 900, "light": "lighter", "cap": "normal", "bold": "bold", "bolder": "bolder"
633
- }
634
-
635
- ,
636
- "textAlign": {
637
- "l": "left", "r": "right", "center": "center", "justify": "justify"
638
- }
639
- }
640
-
641
- ,
642
- "scheme": {
643
- "discrete": "#ccc", "success": "green", "info": "#ffdd57", "warning": "#e6b905", "alert": "#ff7300", "error": "red"
644
- }
645
-
646
- ,
647
- "palette": {
648
- "yellow": "#ffb900", "orange": "#d83b01", "red": "#d13438", "magenta": "#b4009e", "purple": "#5c2d91", "green": "#107c10", "teal": "#008272", "blue": "#0078d4", "dark": "#323232"
649
- }
650
-
651
- ,
652
- "gray": "getGraySteps(8, #f4f4f4, #999)"
653
- }
654
-
655
- ,
656
- "_metadata": {
657
- "title": "text", "tag": "text", "description": "cssfabric text module to set text style on all html elements"
658
- }
659
-
660
- ,
661
- "_docs": {
662
- "attributes": {
663
- "text-transform": {
664
- "tag": "text", "keys": ["cap", "up", "low", "none", "full"]
665
- }
666
-
667
- ,
668
- "font-weight": {
669
- "tag": "text", "keys": [50, 100, 300, 500, 900, "light", "cap", "bold", "bolder"]
670
- }
671
-
672
- ,
673
- "text-align": {
674
- "tag": "text", "keys": ["l", "r", "center", "justify"]
675
- }
676
-
677
- ,
678
- "text-shadow": {
679
- "tag": "text-shad", "keys": ["palette"]
680
- }
681
- }
682
-
683
- ,
684
- "classNames": {
685
- "_": {
686
- "et": "ellipsis"
687
- }
688
- }
689
- }
690
- }
691
-
692
- ,
693
- "theme": {
694
- "_data": {
695
-
696
- "moduleName": "theme",
697
- "moduleNameShort": "theme",
698
- "color-default-config": {
699
- "primary": "#0288d1", "secondary": "#D14B02", "tertiary": "#88D102", "foreground": "#282230", "background": "#f1f1f1"
700
- }
701
-
702
- ,
703
- "declinations-config": ["primary",
704
- "secondary",
705
- "tertiary"],
706
- "theme-level-config": ["light",
707
- "lighter",
708
- "dark",
709
- "darker",
710
- "complement",
711
- "invert"],
712
- "theme-properties-apply-config": ["text",
713
- "bg",
714
- "border"],
715
- "color": {
716
- "primary": "#0288d1", "primary-light": "#23b0fd", "primary-lighter": "#6ecbfe", "primary-dark": "#02679e", "primary-darker": "#01466c", "primary-complement": "#d14b02", "primary-invert": "#fd772e", "secondary": "#D14B02", "secondary-light": "#fd7023", "secondary-lighter": "#fea16e", "secondary-dark": "#9e3902", "secondary-darker": "#6c2701", "secondary-complement": "#0288d1", "secondary-invert": "#2eb4fd", "tertiary": "#88D102", "tertiary-light": "#b0fd23", "tertiary-lighter": "#cbfe6e", "tertiary-dark": "#679e02", "tertiary-darker": "#466c01", "tertiary-complement": "#4b02d1", "tertiary-invert": "#772efd"
717
- }
718
- }
719
-
720
- ,
721
- "_metadata": {
722
- "title": "theme", "description": ""
723
- }
724
-
725
- ,
726
- "_docs": {
727
- "attributes": {
728
- "theme": {
729
-
730
- "tag": "theme",
731
- "keys": ["text",
732
- "bg",
733
- "border"],
734
- "levels": {
735
- "primary": ["_", "light", "lighter", "dark", "darker", "complement", "invert"], "secondary": ["_", "light", "lighter", "dark", "darker", "complement", "invert"], "tertiary": ["_", "light", "lighter", "dark", "darker", "complement", "invert"]
736
- }
737
- }
738
- }
739
- }
740
- }
741
-
742
- ,
743
- "zindex": {
744
- "_data": {
745
- "z_groups": ["a", "z"]
746
- }
747
-
748
- ,
749
- "_metadata": {
750
- "title": "zindex", "tag": "zI", "description": "cssfabric zindex module to set z-index on all html elements"
751
- }
752
-
753
- ,
754
- "_docs": {
755
- "z_groups": "_"
756
- }
757
- }
758
- }
759
- }
760
- }