@medyll/cssfabric 0.2.1-beta.6 → 0.2.1-beta.8

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 (48) hide show
  1. package/dist/NewMenu.svelte +11 -8
  2. package/dist/NewMenu.svelte.d.ts +4 -4
  3. package/dist/css/cssfabric.css +4829 -4830
  4. package/dist/css/cssfabric.min.css +1 -4877
  5. package/dist/css/cssfabric.responsive.css +11791 -11791
  6. package/dist/css/cssfabric.responsive.min.css +1 -1
  7. package/dist/cssf/README.md +2 -48
  8. package/dist/cssf/cssFabricMixins.scss +95 -0
  9. package/dist/cssf/cssfLib.d.ts +28 -28
  10. package/dist/generated/cssFabric.vars.json +12 -12
  11. package/dist/generated/cssFabric.vars.md +105 -105
  12. package/dist/legacy/scripts/cssfabric.d.ts +5 -5
  13. package/dist/scss/_utils.scss +23 -21
  14. package/dist/scss/modules/_cssfabric-config.scss +2 -1
  15. package/dist/scss/modules/box/_box-build.scss +3 -2
  16. package/dist/scss/modules/box/box-responsive.scss +2 -1
  17. package/dist/scss/modules/color/_color-build.scss +8 -7
  18. package/dist/scss/modules/color/color-responsive.scss +1 -1
  19. package/dist/scss/modules/flex/_flex-build.scss +11 -10
  20. package/dist/scss/modules/flex/_flex-vars.scss +3 -2
  21. package/dist/scss/modules/flex/flex-responsive.scss +2 -1
  22. package/dist/scss/modules/grid/_grid-build.scss +11 -10
  23. package/dist/scss/modules/grid/_grid-vars.scss +3 -2
  24. package/dist/scss/modules/grid/grid-responsive.scss +2 -1
  25. package/dist/scss/modules/menu/_menu-build.scss +11 -10
  26. package/dist/scss/modules/menu/menu-responsive.scss +2 -1
  27. package/dist/scss/modules/overflow/_overflow-build.scss +3 -2
  28. package/dist/scss/modules/overflow/overflow-responsive.scss +1 -1
  29. package/dist/scss/modules/scale/_scale-build.scss +4 -3
  30. package/dist/scss/modules/scale/scale-responsive.scss +2 -1
  31. package/dist/scss/modules/table/_table-build.scss +9 -8
  32. package/dist/scss/modules/table/table-responsive.scss +2 -1
  33. package/dist/scss/modules/text/_text-build.scss +15 -14
  34. package/dist/scss/modules/text/_text-vars.scss +7 -6
  35. package/dist/scss/modules/text/text-responsive.scss +1 -1
  36. package/dist/scss/modules/theme/_theme-build.scss +7 -6
  37. package/dist/scss/modules/theme/_theme-vars.scss +30 -24
  38. package/dist/scss/modules/vars.scss +8 -8
  39. package/dist/scss/modules/zindex/zindex.scss +2 -1
  40. package/dist/style/cssfabric.css +0 -0
  41. package/dist/style/cssfabric.min.css +0 -0
  42. package/dist/style/cssfabric.responsive.css +0 -0
  43. package/dist/style/cssfabric.responsive.min.css +0 -0
  44. package/dist/styles/cssfabric.css +0 -0
  45. package/dist/styles/cssfabric.min.css +0 -0
  46. package/dist/styles/cssfabric.responsive.css +0 -0
  47. package/dist/styles/cssfabric.responsive.min.css +0 -0
  48. package/package.json +28 -27
@@ -87,7 +87,7 @@
87
87
  --at-apply: width height;
88
88
  --at-apply: left top right bottom margin;
89
89
  --at-apply: border shadow radius;
90
- --at-apply: color bg;
90
+ --at-apply: color bg border;
91
91
  --at-apply: absolute fixed static sticky;
92
92
  &:hover {
93
93
  --at-apply: color bg;
@@ -143,55 +143,9 @@
143
143
  - a parser : to walk trough the model
144
144
  - a transformer : to render back the rules.
145
145
 
146
- the needed mental strength :
146
+ the needed mental rail :
147
147
 
148
148
  - a guide: bringing active solidity
149
149
  - a hole: there are some glitches to ditch in it, some properties to abandon, sadness to have
150
150
  - a goal: the browser is not the goal, could it be ?
151
151
 
152
- Let's start with something else : the guide to ensure consistency
153
-
154
- ```typescript
155
- /**
156
- * cssGuide :
157
- * transforms the model to a ts declaration file and an associated class methods.
158
- */
159
- export class CssGuide {
160
- cssfModelTypes: CssfModelTypes;
161
- interfaceName = 'CssfInterface';
162
- className = 'CssfCkass';
163
-
164
- constructor(cssfModel: CssfModelTypes) {
165
- this.cssfModelTypes = cssfModel;
166
- }
167
-
168
- generate(objModel: Record<string, any>) {
169
- const unify = (arr: string[] | string): string => {
170
- return
171
- };
172
-
173
- let meta = `imports;\n`;
174
- let interfaces = `export interface ${this.interfaceName} {\n`;
175
- let classMethods = `export class ${this.className} {\n`;
176
-
177
- for (const type of this.cssfModelTypes) {
178
- meta += `type ${val};\n`;
179
- }
180
-
181
- for (const [outerKey, value] of Object.entries(objModel)) {
182
- interfaces += `${outerKey}: {\n`;
183
- classMethods += `${outerKey}(decl: postcss.Declaration) {\n return {\n`;
184
-
185
- for (const [key, val] of Object.entries(value)) {...}
186
-
187
- interfaces += ' };\n';
188
- classMethods += ' };\n }\n';
189
- }
190
-
191
- interfaces += '}\n';
192
- classMethods += '}\n';
193
-
194
- return { meta, interfaces, classMethods };
195
- }
196
- }
197
- ```
@@ -0,0 +1,95 @@
1
+ @use "sass:list";
2
+ @use "sass:selector";
3
+
4
+ @mixin width($width: auto, $min: auto, $max: auto) {
5
+ @if $width {
6
+ width: $width;
7
+ }
8
+ @if $min {
9
+ min-width: $min;
10
+ }
11
+ @if $max {
12
+ max-width: $max;
13
+ }
14
+ }
15
+ @mixin w($width: auto, $selector...) {
16
+ @if $width {
17
+ width: $width;
18
+ }
19
+ @for $i from 0 to list.length($selectors) {
20
+ }
21
+ }
22
+ @mixin height($width: auto, $min: auto, $max: auto) {
23
+ @if $width {
24
+ width: $width;
25
+ }
26
+ @if $min {
27
+ min-width: $min;
28
+ }
29
+ @if $max {
30
+ max-width: $max;
31
+ }
32
+ }
33
+
34
+ @mixin left($left: 0, $margin: 0) {
35
+ @if $left {
36
+ left: $left;
37
+ }
38
+ }
39
+
40
+ @mixin right($right: 0, $margin: 0) {
41
+ @if $right {
42
+ right: $right;
43
+ }
44
+ }
45
+
46
+ @mixin top($top: 0, $margin: 0) {
47
+ @if $top {
48
+ top: $top;
49
+ }
50
+ }
51
+
52
+ @mixin bottom($bottom: 0, $margin: 0) {
53
+ @if $bottom {
54
+ bottom: $bottom;
55
+ }
56
+ }
57
+
58
+ @mixin border($border: 1, $style: solid) {
59
+ @if $border {
60
+ border-width: $border;
61
+ }
62
+ @if $style {
63
+ border-style: $style;
64
+ }
65
+ }
66
+
67
+ @mixin shadow($shadow: none) {
68
+ @if $shadow {
69
+ box-shadow: $shadow;
70
+ }
71
+ }
72
+
73
+ @mixin radius($radius: 0) {
74
+ @if $radius {
75
+ border-radius: $radius;
76
+ }
77
+ }
78
+
79
+ @mixin color($color) {
80
+ @if $color {
81
+ color: $color;
82
+ }
83
+ }
84
+
85
+ @mixin background($color) {
86
+ @if $color {
87
+ background: $color;
88
+ }
89
+ }
90
+
91
+ @mixin contour($color) {
92
+ @if $border {
93
+ border-width: $border;
94
+ }
95
+ }
@@ -90,45 +90,45 @@ export interface CssfInterface {
90
90
  }
91
91
  export declare class CssfClass {
92
92
  gutter(decl: postcss.Declaration): {
93
- type: (...args: CssfInterface['gutter']['type'][]) => ("flex" | "grid")[];
94
- gap: (...args: CssfInterface['gutter']['gap'][]) => "string"[];
95
- padding: (...args: CssfInterface['gutter']['padding'][]) => ("all" | ["top" | "bottom"] | ["top" | "bottom" | "left" | "right"])[];
93
+ type: (...args: CssfInterface["gutter"]["type"][]) => ("flex" | "grid")[];
94
+ gap: (...args: CssfInterface["gutter"]["gap"][]) => "string"[];
95
+ padding: (...args: CssfInterface["gutter"]["padding"][]) => ("all" | ["top" | "bottom"] | ["top" | "bottom" | "left" | "right"])[];
96
96
  };
97
97
  position(decl: postcss.Declaration): {
98
- left: (...args: CssfInterface['position']['left'][]) => "string"[];
99
- top: (...args: CssfInterface['position']['top'][]) => "string"[];
100
- right: (...args: CssfInterface['position']['right'][]) => "string"[];
101
- bottom: (...args: CssfInterface['position']['bottom'][]) => "string"[];
102
- margin: (...args: CssfInterface['position']['margin'][]) => ("all" | ["top" | "bottom"] | ["top" | "bottom" | "left" | "right"])[];
98
+ left: (...args: CssfInterface["position"]["left"][]) => "string"[];
99
+ top: (...args: CssfInterface["position"]["top"][]) => "string"[];
100
+ right: (...args: CssfInterface["position"]["right"][]) => "string"[];
101
+ bottom: (...args: CssfInterface["position"]["bottom"][]) => "string"[];
102
+ margin: (...args: CssfInterface["position"]["margin"][]) => ("all" | ["top" | "bottom"] | ["top" | "bottom" | "left" | "right"])[];
103
103
  };
104
104
  box(decl: postcss.Declaration): {
105
- border: (...args: CssfInterface['box']['border'][]) => ("all" | ["top" | "bottom"] | ["top" | "bottom" | "left" | "right"])[];
106
- shadow: (...args: CssfInterface['box']['shadow'][]) => [][];
107
- radius: (...args: CssfInterface['box']['radius'][]) => ("string" | "string?")[];
108
- overflow: (...args: CssfInterface['box']['overflow'][]) => ["visible | hidden" | ["x" | "y"]][];
105
+ border: (...args: CssfInterface["box"]["border"][]) => ("all" | ["top" | "bottom"] | ["top" | "bottom" | "left" | "right"])[];
106
+ shadow: (...args: CssfInterface["box"]["shadow"][]) => [][];
107
+ radius: (...args: CssfInterface["box"]["radius"][]) => ("string" | "string?")[];
108
+ overflow: (...args: CssfInterface["box"]["overflow"][]) => ["visible | hidden" | ["x" | "y"]][];
109
109
  };
110
110
  size(decl: postcss.Declaration): {
111
- width: (...args: CssfInterface['size']['width'][]) => ("string" | "min?" | "max?")[];
112
- height: (...args: CssfInterface['size']['height'][]) => ("string" | "min?" | "max?")[];
113
- ratio: (...args: CssfInterface['size']['ratio'][]) => "string , string?"[];
111
+ width: (...args: CssfInterface["size"]["width"][]) => ("string" | "min?" | "max?")[];
112
+ height: (...args: CssfInterface["size"]["height"][]) => ("string" | "min?" | "max?")[];
113
+ ratio: (...args: CssfInterface["size"]["ratio"][]) => "string , string?"[];
114
114
  };
115
115
  typography(decl: postcss.Declaration): {
116
- font: (...args: CssfInterface['typography']['font'][]) => "string"[];
117
- size: (...args: CssfInterface['typography']['size'][]) => "string"[];
118
- style: (...args: CssfInterface['typography']['style'][]) => ("string" | "bold" | "italic" | "normal")[];
119
- underline: (...args: CssfInterface['typography']['underline'][]) => ("string" | "none" | "dotted" | "dashed" | "solid" | "double" | "wavy")[];
120
- shadow: (...args: CssfInterface['typography']['shadow'][]) => ("string" | "string?")[];
116
+ font: (...args: CssfInterface["typography"]["font"][]) => "string"[];
117
+ size: (...args: CssfInterface["typography"]["size"][]) => "string"[];
118
+ style: (...args: CssfInterface["typography"]["style"][]) => ("string" | "bold" | "italic" | "normal")[];
119
+ underline: (...args: CssfInterface["typography"]["underline"][]) => ("string" | "none" | "dotted" | "dashed" | "solid" | "double" | "wavy")[];
120
+ shadow: (...args: CssfInterface["typography"]["shadow"][]) => ("string" | "string?")[];
121
121
  };
122
122
  color(decl: postcss.Declaration): {
123
- text: (...args: CssfInterface['color']['text'][]) => "string"[];
124
- bg: (...args: CssfInterface['color']['bg'][]) => "string"[];
125
- opacity: (...args: CssfInterface['color']['opacity'][]) => ("string" | "number")[];
123
+ text: (...args: CssfInterface["color"]["text"][]) => "string"[];
124
+ bg: (...args: CssfInterface["color"]["bg"][]) => "string"[];
125
+ opacity: (...args: CssfInterface["color"]["opacity"][]) => ("string" | "number")[];
126
126
  };
127
127
  animate(decl: postcss.Declaration): {
128
- transition: (...args: CssfInterface['animate']['transition'][]) => ["duration" | "timing" | "delay"][];
129
- all: (...args: CssfInterface['animate']['all'][]) => ("all" | "none" | "cssProp")[];
130
- duration: (...args: CssfInterface['animate']['duration'][]) => "string"[];
131
- timing: (...args: CssfInterface['animate']['timing'][]) => "string"[];
132
- delay: (...args: CssfInterface['animate']['delay'][]) => "string"[];
128
+ transition: (...args: CssfInterface["animate"]["transition"][]) => ["duration" | "timing" | "delay"][];
129
+ all: (...args: CssfInterface["animate"]["all"][]) => ("all" | "none" | "cssProp")[];
130
+ duration: (...args: CssfInterface["animate"]["duration"][]) => "string"[];
131
+ timing: (...args: CssfInterface["animate"]["timing"][]) => "string"[];
132
+ delay: (...args: CssfInterface["animate"]["delay"][]) => "string"[];
133
133
  };
134
134
  }
@@ -1,13 +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"}}}},
1
+ {"cssfabric":{"modules":{"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": "_"}},
12
2
  "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": "_"}} }}}
3
+ "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"}}}},
4
+ "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"}}}},
5
+ "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"]}}}}},
6
+ "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"]}}}},
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
+ "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"}}}},
9
+ "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"}}}},
10
+ "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"}}}},
11
+ "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"}}}},
12
+ "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": []},
13
+ "animation":{"_data": {"attention_props": [], "in_out_props": {"back": []}}, "_metadata": {"title": "animation", "description": "cssfabric simplest animation module"}, "_docs": {"attention_props": "", "in_out_props": ""}} }}}