@medyll/cssfabric 0.1.12 → 0.2.1-beta.1

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 (236) hide show
  1. package/README.md +36 -218
  2. package/dist/NewMenu.svelte +41 -0
  3. package/dist/NewMenu.svelte.d.ts +19 -0
  4. package/dist/_generated/cssFabric.vars.json +13 -0
  5. package/dist/_generated/cssFabric.vars.md +268 -0
  6. package/dist/cssFabric/config.d.ts +29 -0
  7. package/dist/cssFabric/config.js +29 -0
  8. package/dist/cssFabric/cssFabricSheet.d.ts +1226 -0
  9. package/dist/cssFabric/cssFabricSheet.js +1270 -0
  10. package/dist/cssFabric/cssProperties.d.ts +27 -0
  11. package/dist/cssFabric/cssProperties.js +343 -0
  12. package/dist/cssFabric/cssVariationsAi.d.ts +12 -0
  13. package/dist/cssFabric/cssVariationsAi.js +111 -0
  14. package/dist/cssFabric/index.d.ts +113 -0
  15. package/dist/cssFabric/index.js +341 -0
  16. package/dist/cssf/README.md +197 -0
  17. package/dist/cssf/cssf.d.ts +1 -0
  18. package/dist/cssf/cssf.js +12 -0
  19. package/dist/cssf/cssfGuide.d.ts +14 -0
  20. package/dist/cssf/cssfGuide.js +50 -0
  21. package/dist/cssf/cssfLib.d.ts +134 -0
  22. package/dist/cssf/cssfLib.js +116 -0
  23. package/dist/cssf/cssfModel.d.ts +8 -0
  24. package/dist/cssf/cssfModel.js +59 -0
  25. package/dist/cssf/cssfPlugin.d.ts +3 -0
  26. package/dist/cssf/cssfPlugin.js +37 -0
  27. package/dist/cssf/cssfTransformer.d.ts +2 -0
  28. package/dist/cssf/cssfTransformer.js +100 -0
  29. package/dist/cssf/index.d.ts +4 -0
  30. package/dist/cssf/index.js +4 -0
  31. package/dist/cssfVsCode/.vscode/launch.json +17 -0
  32. package/dist/cssfVsCode/.vscodeignore +4 -0
  33. package/dist/cssfVsCode/CHANGELOG.md +9 -0
  34. package/dist/cssfVsCode/README.md +65 -0
  35. package/dist/cssfVsCode/language-configuration.json +36 -0
  36. package/dist/cssfVsCode/package.json +40 -0
  37. package/dist/cssfVsCode/syntaxes/cssf.tmLanguage.json +1868 -0
  38. package/dist/cssfVsCode/test.cssf +6 -0
  39. package/dist/cssfVsCode/vsc-extension-quickstart.md +29 -0
  40. package/dist/index.d.ts +2 -0
  41. package/dist/index.js +3 -0
  42. package/dist/init/importCssVars.d.ts +1 -0
  43. package/dist/init/importCssVars.js +2 -0
  44. package/dist/scripts/cssfabric.d.ts +24 -0
  45. package/dist/scripts/cssfabric.js +43 -0
  46. package/{lib → dist}/scripts/cssfabricClassNames.d.ts +14 -14
  47. package/{lib → dist}/scripts/cssfabricClassNames.js +146 -150
  48. package/{lib → dist}/scripts/index.d.ts +2 -2
  49. package/dist/scripts/index.js +4 -0
  50. package/{lib → dist}/scripts/utils.d.ts +5 -5
  51. package/{lib → dist}/scripts/utils.js +38 -40
  52. package/dist/styles/animation/animation.css +2 -0
  53. package/{lib/styles/core → dist/styles}/base/base.css +207 -221
  54. package/dist/styles/base/base.min.css +1 -0
  55. package/{lib/styles/core → dist/styles}/box/box.css +1496 -1362
  56. package/dist/styles/box/box.min.css +1 -0
  57. package/{lib/styles/core → dist/styles}/box/box.responsive.css +7036 -5459
  58. package/dist/styles/box/box.responsive.min.css +1 -0
  59. package/{lib/styles/core → dist/styles}/color/color.css +1566 -1564
  60. package/dist/styles/color/color.min.css +1 -0
  61. package/{lib/styles/core → dist/styles}/color/color.responsive.css +7781 -6267
  62. package/dist/styles/color/color.responsive.min.css +1 -0
  63. package/{lib → dist}/styles/cssfabric.css +5327 -5146
  64. package/dist/styles/cssfabric.min.css +1 -0
  65. package/{lib → dist}/styles/cssfabric.responsive.css +20410 -16670
  66. package/dist/styles/cssfabric.responsive.min.css +1 -0
  67. package/{lib/styles/core → dist/styles}/flex/flex.css +125 -123
  68. package/dist/styles/flex/flex.min.css +1 -0
  69. package/{lib/styles/core → dist/styles}/flex/flex.responsive.css +581 -503
  70. package/dist/styles/flex/flex.responsive.min.css +1 -0
  71. package/{lib/styles/core → dist/styles}/grid/grid.css +120 -118
  72. package/dist/styles/grid/grid.min.css +1 -0
  73. package/{lib/styles/core → dist/styles}/grid/grid.responsive.css +501 -483
  74. package/dist/styles/grid/grid.responsive.min.css +1 -0
  75. package/{lib/styles/core → dist/styles}/menu/menu.css +102 -96
  76. package/dist/styles/menu/menu.min.css +1 -0
  77. package/dist/styles/menu/menu.responsive.css +445 -0
  78. package/dist/styles/menu/menu.responsive.min.css +1 -0
  79. package/{lib/styles/core → dist/styles}/overflow/overflow.css +61 -59
  80. package/{lib/styles/core → dist/styles}/overflow/overflow.responsive.css +237 -244
  81. package/dist/styles/overflow/overflow.responsive.min.css +1 -0
  82. package/{lib/styles/core → dist/styles}/scale/scale.css +720 -718
  83. package/{lib/styles/core → dist/styles}/scale/scale.responsive.css +3251 -2883
  84. package/dist/styles/scale/scale.responsive.min.css +1 -0
  85. package/{lib/styles/core → dist/styles}/table/table.css +73 -71
  86. package/dist/styles/table/table.min.css +1 -0
  87. package/{lib/styles/core → dist/styles}/table/table.responsive.css +371 -295
  88. package/dist/styles/table/table.responsive.min.css +1 -0
  89. package/{lib/styles/core → dist/styles}/text/text.css +152 -150
  90. package/dist/styles/text/text.min.css +1 -0
  91. package/{lib/styles/core → dist/styles}/text/text.responsive.css +216 -195
  92. package/dist/styles/text/text.responsive.min.css +1 -0
  93. package/{lib/styles/core → dist/styles}/theme/theme.css +247 -196
  94. package/{lib/styles/core → dist/styles}/theme/theme.min.css +1 -1
  95. package/{lib/styles/core → dist/styles}/vars.css +412 -409
  96. package/dist/styles/vars.min.css +1 -0
  97. package/{lib/styles/core → dist/styles}/zindex/zindex.css +44 -42
  98. package/package.json +66 -67
  99. package/.idea/cssfabric.iml +0 -8
  100. package/.idea/misc.xml +0 -9
  101. package/.idea/modules.xml +0 -8
  102. package/.idea/vcs.xml +0 -6
  103. package/.vscode/settings.json +0 -24
  104. package/bin/index.js +0 -7
  105. package/cssfabric.config.js +0 -3
  106. package/cssfabric.json +0 -8
  107. package/gulpfile.js +0 -598
  108. package/lib/_generated/export.variables.json +0 -583
  109. package/lib/index.d.ts +0 -2
  110. package/lib/index.js +0 -7
  111. package/lib/scripts/cssfabric.d.ts +0 -24
  112. package/lib/scripts/cssfabric.js +0 -48
  113. package/lib/scripts/index.js +0 -6
  114. package/lib/styles/core/animation/animation.css +0 -0
  115. package/lib/styles/core/base/base.min.css +0 -1
  116. package/lib/styles/core/box/box.min.css +0 -1
  117. package/lib/styles/core/box/box.responsive.min.css +0 -1
  118. package/lib/styles/core/color/color.min.css +0 -1
  119. package/lib/styles/core/color/color.responsive.min.css +0 -1
  120. package/lib/styles/core/flex/flex.min.css +0 -1
  121. package/lib/styles/core/flex/flex.responsive.min.css +0 -1
  122. package/lib/styles/core/grid/grid.min.css +0 -1
  123. package/lib/styles/core/grid/grid.responsive.min.css +0 -1
  124. package/lib/styles/core/main.min.css +0 -1
  125. package/lib/styles/core/menu/menu.min.css +0 -1
  126. package/lib/styles/core/menu/menu.responsive.css +0 -342
  127. package/lib/styles/core/menu/menu.responsive.min.css +0 -1
  128. package/lib/styles/core/overflow/overflow.responsive.min.css +0 -1
  129. package/lib/styles/core/scale/scale.responsive.min.css +0 -1
  130. package/lib/styles/core/table/table.min.css +0 -1
  131. package/lib/styles/core/table/table.responsive.min.css +0 -1
  132. package/lib/styles/core/text/text.min.css +0 -1
  133. package/lib/styles/core/text/text.responsive.min.css +0 -1
  134. package/lib/styles/core/vars.min.css +0 -1
  135. package/lib/styles/core/vars2.css +0 -4
  136. package/lib/styles/core/vars2.min.css +0 -1
  137. package/lib/styles/cssfabric.min.css +0 -16
  138. package/lib/styles/cssfabric.responsive.min.css +0 -9
  139. package/src/_generated/export.variables.json +0 -759
  140. package/src/_generated/index.d.ts +0 -3
  141. package/src/cssfabric/_utils.scss +0 -203
  142. package/src/cssfabric/index.d.ts +0 -3
  143. package/src/cssfabric/modules/_cssfabric-config.scss +0 -163
  144. package/src/cssfabric/modules/_mixins.scss +0 -1
  145. package/src/cssfabric/modules/animation/_animation-vars.scss +0 -17
  146. package/src/cssfabric/modules/animation/animation.scss +0 -3
  147. package/src/cssfabric/modules/base/_base-vars.scss +0 -19
  148. package/src/cssfabric/modules/base/base.scss +0 -80
  149. package/src/cssfabric/modules/box/_box-build.scss +0 -287
  150. package/src/cssfabric/modules/box/_box-vars.scss +0 -121
  151. package/src/cssfabric/modules/box/box-responsive.scss +0 -18
  152. package/src/cssfabric/modules/box/box.scss +0 -3
  153. package/src/cssfabric/modules/color/_color-build.scss +0 -196
  154. package/src/cssfabric/modules/color/_color-vars.scss +0 -80
  155. package/src/cssfabric/modules/color/color-responsive.scss +0 -23
  156. package/src/cssfabric/modules/color/color.scss +0 -9
  157. package/src/cssfabric/modules/css-fabric.scss +0 -2
  158. package/src/cssfabric/modules/flex/_flex-build.scss +0 -150
  159. package/src/cssfabric/modules/flex/_flex-vars.scss +0 -84
  160. package/src/cssfabric/modules/flex/flex-responsive.scss +0 -25
  161. package/src/cssfabric/modules/flex/flex.scss +0 -3
  162. package/src/cssfabric/modules/grid/_grid-build.scss +0 -84
  163. package/src/cssfabric/modules/grid/_grid-vars.scss +0 -88
  164. package/src/cssfabric/modules/grid/grid-responsive.scss +0 -25
  165. package/src/cssfabric/modules/grid/grid.scss +0 -6
  166. package/src/cssfabric/modules/menu/_menu-build.scss +0 -119
  167. package/src/cssfabric/modules/menu/_menu-vars.scss +0 -29
  168. package/src/cssfabric/modules/menu/menu-responsive.scss +0 -19
  169. package/src/cssfabric/modules/menu/menu.scss +0 -6
  170. package/src/cssfabric/modules/overflow/_overflow-build.scss +0 -22
  171. package/src/cssfabric/modules/overflow/_overflow-vars.scss +0 -31
  172. package/src/cssfabric/modules/overflow/overflow-responsive.scss +0 -25
  173. package/src/cssfabric/modules/overflow/overflow.scss +0 -7
  174. package/src/cssfabric/modules/scale/_scale-build.scss +0 -142
  175. package/src/cssfabric/modules/scale/_scale-vars.scss +0 -84
  176. package/src/cssfabric/modules/scale/scale-responsive.scss +0 -23
  177. package/src/cssfabric/modules/scale/scale.scss +0 -8
  178. package/src/cssfabric/modules/table/_table-build.scss +0 -134
  179. package/src/cssfabric/modules/table/_table-vars.scss +0 -30
  180. package/src/cssfabric/modules/table/table-responsive.scss +0 -24
  181. package/src/cssfabric/modules/table/table.scss +0 -8
  182. package/src/cssfabric/modules/text/_text-build.scss +0 -166
  183. package/src/cssfabric/modules/text/_text-vars.scss +0 -87
  184. package/src/cssfabric/modules/text/text-responsive.scss +0 -26
  185. package/src/cssfabric/modules/text/text.scss +0 -6
  186. package/src/cssfabric/modules/theme/_theme-build.scss +0 -90
  187. package/src/cssfabric/modules/theme/_theme-vars.scss +0 -46
  188. package/src/cssfabric/modules/theme/theme.scss +0 -6
  189. package/src/cssfabric/modules/vars.scss +0 -49
  190. package/src/cssfabric/modules/zindex/_zindex-vars.scss +0 -14
  191. package/src/cssfabric/modules/zindex/zindex.scss +0 -15
  192. package/src/index.d.ts +0 -3
  193. package/src/index.ts +0 -4
  194. package/src/scripts/cssfabric.ts +0 -54
  195. package/src/scripts/cssfabricClassNames.ts +0 -216
  196. package/src/scripts/index.d.ts +0 -2
  197. package/src/scripts/index.ts +0 -8
  198. package/src/scripts/utils.ts +0 -37
  199. package/src/vendor/index.d.ts +0 -3
  200. package/src/vendor/normalize/normalize.min.css +0 -2
  201. package/src/vendor/sass-json-export/CHANGELOG.md +0 -26
  202. package/src/vendor/sass-json-export/Gruntfile.js +0 -60
  203. package/src/vendor/sass-json-export/LICENSE +0 -20
  204. package/src/vendor/sass-json-export/README.md +0 -90
  205. package/src/vendor/sass-json-export/package.json +0 -60
  206. package/src/vendor/sass-json-export/stylesheets/encode/api/_json.scss +0 -26
  207. package/src/vendor/sass-json-export/stylesheets/encode/encode.scss +0 -17
  208. package/src/vendor/sass-json-export/stylesheets/encode/helpers/_quote.scss +0 -9
  209. package/src/vendor/sass-json-export/stylesheets/encode/mixins/_json.scss +0 -42
  210. package/src/vendor/sass-json-export/stylesheets/encode/types/_bool.scss +0 -7
  211. package/src/vendor/sass-json-export/stylesheets/encode/types/_color.scss +0 -8
  212. package/src/vendor/sass-json-export/stylesheets/encode/types/_list.scss +0 -14
  213. package/src/vendor/sass-json-export/stylesheets/encode/types/_map.scss +0 -15
  214. package/src/vendor/sass-json-export/stylesheets/encode/types/_null.scss +0 -7
  215. package/src/vendor/sass-json-export/stylesheets/encode/types/_number.scss +0 -8
  216. package/src/vendor/sass-json-export/stylesheets/encode/types/_string.scss +0 -8
  217. package/src/vendor/sass-json-export/stylesheets/sass-json-export.scss +0 -2
  218. package/src/vendor/sass-json-export/test/encode/_index.scss +0 -14
  219. package/src/vendor/sass-json-export/test/encode/api/_json.scss +0 -29
  220. package/src/vendor/sass-json-export/test/encode/helpers/_quote.scss +0 -6
  221. package/src/vendor/sass-json-export/test/encode/types/_bool.scss +0 -6
  222. package/src/vendor/sass-json-export/test/encode/types/_color.scss +0 -7
  223. package/src/vendor/sass-json-export/test/encode/types/_list.scss +0 -25
  224. package/src/vendor/sass-json-export/test/encode/types/_map.scss +0 -17
  225. package/src/vendor/sass-json-export/test/encode/types/_null.scss +0 -8
  226. package/src/vendor/sass-json-export/test/encode/types/_number.scss +0 -68
  227. package/src/vendor/sass-json-export/test/encode/types/_string.scss +0 -9
  228. package/src/vendor/sass-json-export/test/test.scss +0 -9
  229. package/tsconfig.json +0 -46
  230. package/webpack.config.js +0 -55
  231. /package/{src → dist}/_generated/export.variables.md +0 -0
  232. /package/{src → dist}/_generated/readme.md +0 -0
  233. /package/{lib/styles/core → dist/styles}/animation/animation.min.css +0 -0
  234. /package/{lib/styles/core → dist/styles}/overflow/overflow.min.css +0 -0
  235. /package/{lib/styles/core → dist/styles}/scale/scale.min.css +0 -0
  236. /package/{lib/styles/core → dist/styles}/zindex/zindex.min.css +0 -0
package/README.md CHANGED
@@ -1,240 +1,58 @@
1
- # Welcome to cssfabric
1
+ # create-svelte
2
2
 
3
+ Everything you need to build a Svelte library, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte).
3
4
 
4
- Willing to bring my utility-first 2011 css framework to a more decent life !
5
+ Read more about creating a library [in the docs](https://kit.svelte.dev/docs/packaging).
5
6
 
7
+ ## Creating a project
6
8
 
7
- This is also a learning point about gulp, webpack, packages and friends.
9
+ If you're seeing this, you've probably already done this step. Congrats!
8
10
 
9
- > yaocf !
11
+ ```bash
12
+ # create a new project in the current directory
13
+ npm create svelte@latest
10
14
 
15
+ # create a new project in my-app
16
+ npm create svelte@latest my-app
17
+ ```
11
18
 
12
- <br/>
19
+ ## Developing
13
20
 
14
- ## Incoming features
21
+ Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
15
22
 
23
+ ```bash
24
+ npm run dev
16
25
 
17
- <br/>
26
+ # or start the server and open the app in a new browser tab
27
+ npm run dev -- --open
28
+ ```
18
29
 
19
- | modules | |
20
- | ------- | --- |
21
- | cssfabric | cssfabric global config variables
22
- animation | cssfabric simplest animation module
23
- box | cssfabric box module to set heights, paddings, margins and shadows on all html elements
24
- base | cssfabric base config variables
25
- color | cssfabric color system: its about colors
26
- grid | cssfabric flex grid system module
27
- menu | cssfabric menu module to set menu style
28
- overflow | cssfabric overflow module to set overflow styles on all html elements
29
- scale | cssfabric scale module to set dimensions and ratios on all html elements
30
- table | cssfabric table module to set different table styles
31
- text | cssfabric text module to set text style on all html elements
32
- theme |
33
- zindex | cssfabric zindex module to set z-index on all html elements |
30
+ Everything inside `src/lib` is part of your library, everything inside `src/routes` can be used as a showcase or preview app.
34
31
 
32
+ ## Building
35
33
 
36
- <br/>
34
+ To build your library:
37
35
 
36
+ ```bash
37
+ npm run package
38
+ ```
38
39
 
40
+ To create a production version of your showcase app:
39
41
 
42
+ ```bash
43
+ npm run build
44
+ ```
40
45
 
41
- <br/>
46
+ You can preview the production build with `npm run preview`.
42
47
 
43
- ### More details
48
+ > To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
44
49
 
45
- ---
50
+ ## Publishing
46
51
 
47
- #### <strong>module box</strong>
52
+ Go into the `package.json` and give your package the desired name through the `"name"` option. Also consider adding a `"license"` field and point it to a `LICENSE` file which you can create from a template (one popular option is the [MIT license](https://opensource.org/license/mit/)).
48
53
 
49
- #### [padding]
54
+ To publish your library to [npm](https://www.npmjs.com):
50
55
 
51
-
52
- - padding properties for html elements
53
-
54
-
55
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: pad
56
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: _&nbsp;&nbsp;t&nbsp;&nbsp;b&nbsp;&nbsp;l&nbsp;&nbsp;r&nbsp;&nbsp;all&nbsp;&nbsp;u&nbsp;&nbsp;ii&nbsp;&nbsp;tb
57
- - <span style='width:80px;display:inline-block;overflow:visible'><b>level keys</b></span>:<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _</span>: _&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;2&nbsp;&nbsp;&nbsp;&nbsp;3&nbsp;&nbsp;&nbsp;&nbsp;4&nbsp;&nbsp;&nbsp;&nbsp;5&nbsp;&nbsp;&nbsp;&nbsp;6&nbsp;&nbsp;&nbsp;&nbsp;7&nbsp;&nbsp;&nbsp;&nbsp;8
58
-
59
- #### [margin]
60
-
61
-
62
- - margin properties for html elements
63
-
64
-
65
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: marg
66
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: _&nbsp;&nbsp;t&nbsp;&nbsp;b&nbsp;&nbsp;l&nbsp;&nbsp;r&nbsp;&nbsp;all&nbsp;&nbsp;u&nbsp;&nbsp;ii&nbsp;&nbsp;tb
67
- - <span style='width:80px;display:inline-block;overflow:visible'><b>level keys</b></span>:<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _</span>: _&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;2&nbsp;&nbsp;&nbsp;&nbsp;3&nbsp;&nbsp;&nbsp;&nbsp;4&nbsp;&nbsp;&nbsp;&nbsp;5&nbsp;&nbsp;&nbsp;&nbsp;6&nbsp;&nbsp;&nbsp;&nbsp;7&nbsp;&nbsp;&nbsp;&nbsp;8
68
-
69
- #### [border]
70
-
71
-
72
- - border properties for html elements
73
-
74
-
75
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: border
76
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: _&nbsp;&nbsp;t&nbsp;&nbsp;b&nbsp;&nbsp;l&nbsp;&nbsp;r&nbsp;&nbsp;all&nbsp;&nbsp;u&nbsp;&nbsp;ii&nbsp;&nbsp;tb
77
- - <span style='width:80px;display:inline-block;overflow:visible'><b>level keys</b></span>:<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _</span>: _&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;2&nbsp;&nbsp;&nbsp;&nbsp;3&nbsp;&nbsp;&nbsp;&nbsp;4&nbsp;&nbsp;&nbsp;&nbsp;5
78
-
79
- #### [shadow]
80
-
81
-
82
- - applying shadows give depth and levels to your design
83
-
84
-
85
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: shad
86
- - <span style='width:80px;display:inline-block;overflow:visible'><b>level keys</b></span>:<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _</span>: 2&nbsp;&nbsp;&nbsp;&nbsp;4&nbsp;&nbsp;&nbsp;&nbsp;8&nbsp;&nbsp;&nbsp;&nbsp;16&nbsp;&nbsp;&nbsp;&nbsp;32&nbsp;&nbsp;&nbsp;&nbsp;64&nbsp;&nbsp;&nbsp;&nbsp;128&nbsp;&nbsp;&nbsp;&nbsp;256
87
-
88
- ---
89
-
90
- #### <strong>module color</strong>
91
-
92
- #### [color]
93
-
94
-
95
- - color for text level html elements
96
-
97
-
98
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: color
99
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: scheme&nbsp;&nbsp;palette&nbsp;&nbsp;gray
100
-
101
- #### [background-color]
102
-
103
-
104
- - background colors
105
-
106
-
107
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: bg
108
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: scheme&nbsp;&nbsp;palette&nbsp;&nbsp;gray
109
-
110
- #### [background-themed]
111
-
112
-
113
- - same as background-color, but with added contrasted color to text
114
-
115
-
116
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: bg-themed
117
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: scheme&nbsp;&nbsp;palette&nbsp;&nbsp;gray
118
-
119
- #### [border-color]
120
-
121
-
122
- - border colors are slightly darker to maximize surrounding effect
123
-
124
-
125
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: border-color
126
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: palette&nbsp;&nbsp;gray
127
-
128
- ---
129
-
130
- #### <strong>module grid</strong>
131
-
132
- #### [grid]
133
-
134
-
135
- - a classic grid system, and hey, it gets height !
136
-
137
-
138
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: grid
139
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: v&nbsp;&nbsp;h
140
-
141
- #### [self]
142
-
143
-
144
- - grid children specific classnames
145
-
146
-
147
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: self
148
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: start&nbsp;&nbsp;end&nbsp;&nbsp;stretch
149
-
150
- ---
151
-
152
- #### <strong>module menu</strong>
153
-
154
- #### [menu]
155
-
156
-
157
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: menu
158
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: h&nbsp;&nbsp;v
159
-
160
- ---
161
-
162
- #### <strong>module overflow</strong>
163
-
164
- #### [overflow]
165
-
166
-
167
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: flow
168
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: visible&nbsp;&nbsp;hidden&nbsp;&nbsp;clip&nbsp;&nbsp;scroll&nbsp;&nbsp;auto
169
-
170
- #### [overflowX]
171
-
172
-
173
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: flowX
174
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: visible&nbsp;&nbsp;hidden&nbsp;&nbsp;clip&nbsp;&nbsp;scroll&nbsp;&nbsp;auto
175
-
176
- #### [overflowY]
177
-
178
-
179
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: flowY
180
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: visible&nbsp;&nbsp;hidden&nbsp;&nbsp;clip&nbsp;&nbsp;scroll&nbsp;&nbsp;auto
181
-
182
- ---
183
-
184
- #### <strong>module scale</strong>
185
-
186
- #### [scale]
187
-
188
-
189
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: scale
190
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: w&nbsp;&nbsp;h
191
- - <span style='width:80px;display:inline-block;overflow:visible'><b>level keys</b></span>:<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _size</span>: full&nbsp;&nbsp;&nbsp;&nbsp;mid&nbsp;&nbsp;&nbsp;&nbsp;quarter&nbsp;&nbsp;&nbsp;&nbsp;tiers<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _content</span>: content-max&nbsp;&nbsp;&nbsp;&nbsp;content-min<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _defined-steps</span>: 1&nbsp;&nbsp;&nbsp;&nbsp;2&nbsp;&nbsp;&nbsp;&nbsp;4&nbsp;&nbsp;&nbsp;&nbsp;8&nbsp;&nbsp;&nbsp;&nbsp;16&nbsp;&nbsp;&nbsp;&nbsp;24&nbsp;&nbsp;&nbsp;&nbsp;32&nbsp;&nbsp;&nbsp;&nbsp;48&nbsp;&nbsp;&nbsp;&nbsp;64<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _grid-5</span>: 1-5&nbsp;&nbsp;&nbsp;&nbsp;2-5&nbsp;&nbsp;&nbsp;&nbsp;3-5&nbsp;&nbsp;&nbsp;&nbsp;4-5&nbsp;&nbsp;&nbsp;&nbsp;5-5<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _grid-12</span>: 1-12&nbsp;&nbsp;&nbsp;&nbsp;2-12&nbsp;&nbsp;&nbsp;&nbsp;3-12&nbsp;&nbsp;&nbsp;&nbsp;4-12&nbsp;&nbsp;&nbsp;&nbsp;5-12&nbsp;&nbsp;&nbsp;&nbsp;6-12&nbsp;&nbsp;&nbsp;&nbsp;7-12&nbsp;&nbsp;&nbsp;&nbsp;8-12&nbsp;&nbsp;&nbsp;&nbsp;9-12&nbsp;&nbsp;&nbsp;&nbsp;10-12&nbsp;&nbsp;&nbsp;&nbsp;11-12&nbsp;&nbsp;&nbsp;&nbsp;12-12
192
-
193
- ---
194
-
195
- #### <strong>module table</strong>
196
-
197
- #### [table]
198
-
199
-
200
- - is a table
201
-
202
-
203
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: table
204
-
205
- ---
206
-
207
- #### <strong>module text</strong>
208
-
209
- #### [text-transform]
210
-
211
-
212
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: text
213
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: cap&nbsp;&nbsp;up&nbsp;&nbsp;low&nbsp;&nbsp;none&nbsp;&nbsp;full
214
-
215
- #### [font-weight]
216
-
217
-
218
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: text
219
-
220
- #### [text-align]
221
-
222
-
223
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: text
224
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: l&nbsp;&nbsp;r&nbsp;&nbsp;center&nbsp;&nbsp;justify
225
-
226
- #### [text-shadow]
227
-
228
-
229
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: text-shad
230
-
231
- ---
232
-
233
- #### <strong>module theme</strong>
234
-
235
- #### [theme]
236
-
237
-
238
- - <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: theme
239
- - <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: text&nbsp;&nbsp;bg&nbsp;&nbsp;border
240
- - <span style='width:80px;display:inline-block;overflow:visible'><b>level keys</b></span>:<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- primary</span>: _&nbsp;&nbsp;&nbsp;&nbsp;light&nbsp;&nbsp;&nbsp;&nbsp;lighter&nbsp;&nbsp;&nbsp;&nbsp;dark&nbsp;&nbsp;&nbsp;&nbsp;darker&nbsp;&nbsp;&nbsp;&nbsp;complement&nbsp;&nbsp;&nbsp;&nbsp;invert<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- secondary</span>: _&nbsp;&nbsp;&nbsp;&nbsp;light&nbsp;&nbsp;&nbsp;&nbsp;lighter&nbsp;&nbsp;&nbsp;&nbsp;dark&nbsp;&nbsp;&nbsp;&nbsp;darker&nbsp;&nbsp;&nbsp;&nbsp;complement&nbsp;&nbsp;&nbsp;&nbsp;invert<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- tertiary</span>: _&nbsp;&nbsp;&nbsp;&nbsp;light&nbsp;&nbsp;&nbsp;&nbsp;lighter&nbsp;&nbsp;&nbsp;&nbsp;dark&nbsp;&nbsp;&nbsp;&nbsp;darker&nbsp;&nbsp;&nbsp;&nbsp;complement&nbsp;&nbsp;&nbsp;&nbsp;invert
56
+ ```bash
57
+ npm publish
58
+ ```
@@ -0,0 +1,41 @@
1
+ <script>export let name = "";
2
+ export let children = [];
3
+ export let indent = 0;
4
+ export let data = {};
5
+ let open = true;
6
+ function toggleOpen() {
7
+ open = !open;
8
+ }
9
+ </script>
10
+
11
+ <!-- <h3 style="padding-left: {indent}px" on:click={toggleOpen}>
12
+ {name}
13
+ {open ? '(open)' : '(closed)'}
14
+ </h3> -->
15
+
16
+ {#if open}
17
+ {#each Object.keys(data) as key}
18
+ <!-- {@html JSON.stringify(key)} -->
19
+ {@const child = Object.values(data[key])}
20
+ {@const ofType = typeof Object.values(data[key])?.[0] }
21
+ <div class="flex-v">
22
+ <div class=" border-r pad-1">
23
+ {key}
24
+ </div>
25
+ </div>
26
+ {#if ofType == 'object' && Object.keys(data[key])?.[0] !='classNames' }
27
+ <div class="marg-l-4"><svelte:self data={data[key]} indent={indent + 24} /></div>
28
+ {/if}
29
+
30
+ {#if Object.keys(data[key])?.[0] =='classNames' }
31
+ <div class="marg-l-4"><pre>{JSON.stringify(Object.keys(data[key].classNames),undefined,' ')}</pre></div>
32
+ {/if}
33
+ {/each}
34
+ {/if}
35
+
36
+ <style>
37
+ h3 {
38
+ cursor: pointer;
39
+ user-select: none;
40
+ }
41
+ </style>
@@ -0,0 +1,19 @@
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ name?: string | undefined;
5
+ children?: any[] | undefined;
6
+ indent?: number | undefined;
7
+ data?: Record<string, any> | undefined;
8
+ };
9
+ events: {
10
+ [evt: string]: CustomEvent<any>;
11
+ };
12
+ slots: {};
13
+ };
14
+ export type NewMenuProps = typeof __propDef.props;
15
+ export type NewMenuEvents = typeof __propDef.events;
16
+ export type NewMenuSlots = typeof __propDef.slots;
17
+ export default class NewMenu extends SvelteComponentTyped<NewMenuProps, NewMenuEvents, NewMenuSlots> {
18
+ }
19
+ export {};
@@ -0,0 +1,13 @@
1
+ {"cssfabric":{"modules":{"animation":{"_data": {"attention_props": [], "in_out_props": {"back": []}}, "_metadata": {"title": "animation", "description": "cssfabric simplest animation module"}, "_docs": {"attention_props": "", "in_out_props": ""}},
2
+ "base":{"_data": {"cfg-has-dimension-strict": true, "CFG_HAS_DIMENSION_MIN": true, "CFG_HAS_DIMENSION_MAX": true, "size_step": "0.5rem", "sizes": {"tiny": 32, "small": 64, "medium": 128, "large": 256, "full": "100%"}}, "_metadata": {"title": "base", "tag": "base", "description": "cssfabric base config variables"}, "_docs": []},
3
+ "box":{"_data": {"unit-config": "rem", "border-unit-config": "px", "unit-size-config": 0.5, "unit-border-size-config": 1, "sizes-config": 12, "border-sizes-px-config": 3, "shadows-steps": 5, "shadows_step_multiplier": 2, "position-shorthand-config": "pos", "display-shorthand-config": "dsp", "shadow-shorthand-config": "shad", "border-shorthand-config": "border", "padding-shorthand-config": "pad", "margin-shorthand-config": "marg", "cssProps": {"borderShorthands": {"_": ["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"]}, "positionProps": {"abs": "absolute", "rel": "relative", "stat": "static", "fix": "fixed", "sticky": "sticky"}, "displayProps": {"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"}}}, "_metadata": {"title": "box", "tag": "box", "description": "cssfabric box module to set heights, paddings, margins and shadows on all html elements"}, "_docs": {"attributes": {"padding": {"tag": "pad", "keys": ["_", "t", "b", "l", "r", "all", "u", "ii", "tb"], "values": {"_": "_", "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"}, "levels": {"_": ["_", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]}, "about": "padding properties for html elements"}, "margin": {"tag": "marg", "keys": ["_", "t", "b", "l", "r", "all", "u", "ii", "tb"], "values": {"_": "_", "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"}, "levels": {"_": ["_", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]}, "about": "margin properties for html elements"}, "border": {"tag": "border", "keys": ["_", "t", "b", "l", "r", "all", "u", "ii", "tb"], "values": {"_": "_", "1": "1px", "2": "2px", "3": "3px"}, "levels": {"_": ["_", 1, 2, 3]}, "about": "border properties for html elements"}, "radius": {"tag": "radiusGuy"}, "shadow": {"tag": "shad", "values": {"2": "0.83333333331.724137931", "4": "1.66666666673.4482758621", "8": "3.33333333336.8965517241", "16": "6.666666666713.7931034483", "32": "13.333333333327.5862068966"}, "levels": {"_": [2, 4, 8, 16, 32]}, "about": "applying shadows give depth and levels to your design"}}}},
4
+ "color":{"_data": {"gray-config": {"start": "#f4f4f4", "end": "#999", "steps": 5}, "color-types-config": ["color", "bg", "bg-themed", "border-color"], "theme": {"primary": "rgb(32, 23, 0)", "secondary": "#D14B02", "tertiary": "#88D102", "foreground": "#282230", "background": "#ffffff", "paper": "#f1f1f1"}, "scheme": {"discrete": "#ccc", "success": "green", "info": "#ffdd57", "warning": "hsl(48, 96%, 46%)", "alert": "hsl(27, 100%, 50%)", "error": "red"}, "palette": {"yellow": "#ffb900", "orange": "#d83b01", "red": "#d13438", "magenta": "#b4009e", "purple": "#5c2d91", "green": "#107c10", "teal": "#008272", "blue": "#0078d4", "dark": "#323232"}, "gray": "getGraySteps(5, #f4f4f4, #999)"}, "_metadata": {"title": "color", "title_tag": "its about colors", "description": "cssfabric color system: its about colors"}, "_docs": {"attributes": {"color": {"tag": "color", "keys": ["scheme", "palette", "gray"], "levelsLinked": {"scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"], "gray": ["getGraySteps(5, #f4f4f4, #999)"]}, "levelsDeclin": {"palette": ["_", "lighter", "light", "dark", "darker", "complement"]}, "about": "color for text level html elements"}, "background-color": {"tag": "bg", "keys": ["scheme", "palette", "gray"], "levelsLinked": {"scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"], "gray": ["getGraySteps(5, #f4f4f4, #999)"]}, "levelsDeclin": {"palette": ["_", "lighter", "light", "dark", "darker", "complement"]}, "about": "background colors"}, "background-themed": {"tag": "bg-themed", "keys": ["scheme", "palette", "gray"], "levelsLinked": {"gray": ["getGraySteps(5, #f4f4f4, #999)"], "scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"]}, "levelsDeclin": {"palette": ["_", "lighter", "light", "dark", "darker", "complement"]}, "about": "same as background-color, but with added contrasted color to text"}, "border-color": {"tag": "border-color", "keys": ["palette", "gray"], "levelsLinked": {"gray": ["getGraySteps(5, #f4f4f4, #999)"], "scheme": ["discrete", "success", "info", "warning", "alert", "error"], "palette": ["yellow", "orange", "red", "magenta", "purple", "green", "teal", "blue", "dark"]}, "about": "border colors are slightly darker to maximize surrounding effect"}}}},
5
+ "flex":{"_data": {"moduleName": "flex", "moduleNameShort": "flex", "horCode": "h", "vertCode": "v", "gridFullWidth": "main", "grow-shrink-steps": 2, "cssProps": {"flexWrap": {"wrap": "wrap", "wrap-reverse": "wrap-reverse"}, "grid-justify": {"start": "flex-start", "end": "flex-end", "between": "space-between", "stretch": "stretch", "center": "flex-center"}, "grid-items": {"baseline": "baseline", "stretch": "stretch", "start": "flex-start", "center": "center", "end": "flex-end"}, "grid-content": {"start": "flex-start", "center": "center", "end": "flex-end", "between": "space-between", "equal": "space-evenly"}}, "cssItemsProps": {"self": {"start": "flex-start", "end": "flex-end", "stretch": "stretch"}}}, "_metadata": {"title": "flex", "tag": "flex", "description": "cssfabric flex system module"}, "_docs": {"attributes": {"grid": {"tag": "flex", "keys": ["v", "h"], "classNames": {"align": ["top", "middle", "bottom", "left", "right", "center", "middle-center", "stretch"], "grid": ["wrap", "wrap-reverse"]}, "about": "a classic flex grid system, and hey, it gets height !"}, "self": {"tag": "self", "keys": ["start", "end", "stretch"], "about": "flex children specific classnames"}}}},
6
+ "grid":{"_data": {"moduleName": "grid", "moduleNameShort": "grid", "horCode": "h", "vertCode": "v", "gridFullWidth": "main", "grow-shrink-steps": 4, "cssProps": {"flexWrap": {"wrap": "wrap", "wrap-reverse": "wrap-reverse"}, "grid-justify": {"start": "flex-start", "end": "flex-end", "between": "space-between", "stretch": "stretch", "center": "flex-center"}, "grid-items": {"baseline": "baseline", "stretch": "stretch", "start": "flex-start", "center": "center", "end": "flex-end"}, "grid-content": {"start": "flex-start", "center": "center", "end": "flex-end", "between": "space-between", "equal": "space-evenly"}}, "cssItemsProps": {"self": {"start": "flex-start", "end": "flex-end", "stretch": "stretch"}}, "grid-max-rows": 8, "grid-max-cols": 12}, "_metadata": {"title": "grid", "tag": "grid", "description": "cssfabric flex grid system module"}, "_docs": {"attributes": {"grid": {"tag": "grid", "keys": ["v", "h"], "classNames": {"align": ["top", "middle", "bottom", "left", "right", "center", "middle-center", "stretch"], "grid": ["wrap", "wrap-reverse"]}, "about": "a classic grid system"}, "self": {"tag": "self", "keys": ["start", "end", "stretch"], "about": "grid children specific classnames"}}}},
7
+ "menu":{"_data": {"menu_class_name": "menu", "menu_class_name_short": "ul", "orientations": {"v": "vertical", "h": "horizontal"}, "menu_item_class_name": "menu-item", "menu_item_class_name_short": "li", "menu_item_disabled_tag": "disabled", "menu_item_selected_tag": "selected", "menu_dropdown_tag": "drop", "menu_dropdown_open": "open", "menu_dropdown_close": "close"}, "_metadata": {"title": "menu", "tag": "ul", "description": "cssfabric menu module to set menu style"}, "_docs": {"attributes": {"menu": {"tag": "menu", "keys": ["h", "v"]}}}},
8
+ "overflow":{"_data": {"overflow_props": ["overflow", "overflow-x", "overflow-y"], "overflow_values": ["visible", "hidden", "clip", "scroll", "auto"], "cssProps": {"overflow": {"visible": "visible", "hidden": "hidden", "clip": "clip", "scroll": "scroll", "_": "auto"}}}, "_metadata": {"title": "overflow", "tag": "flow", "description": "cssfabric overflow module to set overflow styles on all html elements"}, "_docs": {"attributes": {"overflow": {"tag": "flow", "keys": ["visible", "hidden", "clip", "scroll", "auto"]}, "overflowX": {"tag": "flowX", "keys": ["visible", "hidden", "clip", "scroll", "auto"]}, "overflowY": {"tag": "flowY", "keys": ["visible", "hidden", "clip", "scroll", "auto"]}}}},
9
+ "scale":{"_data": {"weight-config": "1em", "unit-tag-config": {"width": "w", "height": "h"}, "grid-ratios-config": 16, "defined-step-size": 2, "defined-step-unit": "rem", "defined-steps": [1, 2, 4, 8, 16, 24, 32, 48, 64], "cssProps": {"size": {"full": "100%", "mid": "50%", "quarter": "25%", "tiers": "33%"}, "content": {"content-max": "max-content", "content-min": "min-content"}, "defined-steps": [1, 2, 4, 8, 16, 24, 32, 48, 64]}}, "_metadata": {"title": "scale", "tag": "scale", "description": "cssfabric scale module to set dimensions and ratios on all html elements"}, "_docs": {"attributes": {"scale": {"tag": "scale", "keys": ["w", "h"], "levels": {"_size": ["full", "mid", "quarter", "tiers"], "_content": ["content-max", "content-min"], "_defined-steps": [1, 2, 4, 8, 16, 24, 32, 48, 64], "_grid-16": ["1-16", "2-16", "3-16", "4-16", "5-16", "6-16", "7-16", "8-16", "9-16", "10-16", "11-16", "12-16", "13-16", "14-16", "15-16", "16-16"]}}}}},
10
+ "table":{"_data": {"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"}, "_metadata": {"title": "table", "tag": "table", "description": "cssfabric table module to set different table styles"}, "_docs": {"attributes": {"table": {"tag": "table", "classNames": {"_": ["bg-strip-2", "bg-strip-5"], "_pos": ["sticky", "layout"], "_deco": ["h-line", "v-line", "border"]}, "about": "is a table"}}}},
11
+ "text":{"_data": {"moduleName": "text", "moduleNameShort": "text", "title-size-declination-config": 6, "font-size-unit-config": "rem", "font-sizes-h1-rem-config": 3.1, "font-size-h-min-rem-config": 1, "text-ellipsis-tag-config": "ellipsis", "cssProps": {"textTransform": {"cap": "capitalize", "up": "uppercase", "low": "lowercase", "none": "none", "full": "full-width"}, "fontWeight": {"50": 50, "100": 100, "300": 400, "500": 500, "900": 900, "light": "lighter", "cap": "normal", "bold": "bold", "bolder": "bolder"}, "textAlign": {"l": "left", "r": "right", "center": "center", "justify": "justify"}}, "scheme": {"discrete": "#ccc", "success": "green", "info": "#ffdd57", "warning": "hsl(48, 96%, 46%)", "alert": "hsl(27, 100%, 50%)", "error": "red"}, "palette": {"yellow": "#ffb900", "orange": "#d83b01", "red": "#d13438", "magenta": "#b4009e", "purple": "#5c2d91", "green": "#107c10", "teal": "#008272", "blue": "#0078d4", "dark": "#323232"}, "gray": "getGraySteps(5, #f4f4f4, #999)"}, "_metadata": {"title": "text", "tag": "text", "description": "cssfabric text module to set text style on all html elements"}, "_docs": {"attributes": {"text-transform": {"tag": "text", "keys": ["cap", "up", "low", "none", "full"]}, "font-weight": {"tag": "text", "keys": [50, 100, 300, 500, 900, "light", "cap", "bold", "bolder"]}, "text-align": {"tag": "text", "keys": ["l", "r", "center", "justify"]}, "text-shadow": {"tag": "text-shad", "keys": ["palette"]}}, "classNames": {"_": {"et": "ellipsis"}}}},
12
+ "theme":{"_data": {"moduleName": "theme", "moduleNameShort": "theme", "color-default-config": {"primary": "rgb(32, 23, 0)", "secondary": "#D14B02", "tertiary": "#88D102", "foreground": "#282230", "background": "#ffffff", "paper": "#f1f1f1"}, "declinations-config": ["primary", "secondary", "tertiary"], "theme-level-config": ["light", "lighter", "dark", "darker", "complement", "invert"], "theme-properties-apply-config": ["text", "bg", "border"], "color": {"primary": "rgb(32, 23, 0)", "primary-light": "#6d4e00", "primary-lighter": "#b98500", "primary-dark": "black", "primary-darker": "black", "primary-complement": "#000920", "primary-invert": "#dfe8ff", "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"}}, "_metadata": {"title": "theme", "description": ""}, "_docs": {"attributes": {"theme": {"tag": "theme", "keys": ["text", "bg", "border"], "levels": {"primary": ["_", "light", "lighter", "dark", "darker", "complement", "invert"], "secondary": ["_", "light", "lighter", "dark", "darker", "complement", "invert"], "tertiary": ["_", "light", "lighter", "dark", "darker", "complement", "invert"]}}}}},
13
+ "zindex":{"_data": {"z_groups": ["a", "z"]}, "_metadata": {"title": "zindex", "tag": "zI", "description": "cssfabric zindex module to set z-index on all html elements"}, "_docs": {"z_groups": "_"}} }}}