@medyll/cssfabric 0.2.9 → 0.3.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.
- package/package.json +1 -1
- package/src/cssfabric/modules/_cssfabric-config.scss +1 -1
- package/src/cssfabric/modules/base/base.scss +0 -12
- package/src/cssfabric/modules/box/_box-build.scss +4 -3
- package/src/cssfabric/modules/css-fabric.scss +1 -1
- package/src/cssfabric/modules/vars.scss +3 -3
- package/src/lib/_generated/cssFabric.vars.json +13 -1122
- package/src/lib/styles/base/base.css +0 -9
- package/src/lib/styles/base/base.min.css +1 -1
- package/src/lib/styles/box/box.css +116 -0
- package/src/lib/styles/box/box.min.css +1 -1
- package/src/lib/styles/box/box.responsive.css +580 -0
- package/src/lib/styles/box/box.responsive.min.css +1 -1
- package/src/lib/styles/cssfabric.css +121289 -1
- package/src/lib/styles/cssfabric.min.css +322 -0
- package/src/lib/styles/cssfabric.responsive.css +489832 -0
- package/src/lib/styles/cssfabric.responsive.min.css +207 -0
- package/src/lib/styles/vars.css +42 -34
- package/src/lib/styles/vars.min.css +1 -1
package/package.json
CHANGED
|
@@ -67,7 +67,7 @@ $box-padding-shorthand: pad !default;
|
|
|
67
67
|
$box-margin-shorthand: marg !default;
|
|
68
68
|
$box-gap-shorthand: gap !default;
|
|
69
69
|
|
|
70
|
-
$box-unit-presets: (tiny:0.
|
|
70
|
+
$box-unit-presets: (tight:0.25,tiny:0.25, small:0.5, default: 1,medium:1.5, large:3) !default;
|
|
71
71
|
$box-radius: (tiny:4px, small:8px, medium:16px) !default;
|
|
72
72
|
|
|
73
73
|
$scale-tag-width-shorthand: w !default;
|
|
@@ -43,18 +43,6 @@ h6 {
|
|
|
43
43
|
margin-inline-end: 0 !important;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
label, .label {
|
|
50
|
-
padding: 0.125rem 0.5rem;
|
|
51
|
-
border: 1px solid #ccc;
|
|
52
|
-
display: inline-block;
|
|
53
|
-
border-radius: 4px;
|
|
54
|
-
background-color: #ededed;
|
|
55
|
-
text-shadow: white;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
46
|
.box-content {
|
|
59
47
|
padding: 0.25rem;
|
|
60
48
|
margin: 0.25rem 0;
|
|
@@ -32,7 +32,7 @@ $box-gap-shorthand: cssfabric-config.$box-gap-shorthand !default;
|
|
|
32
32
|
$box-shadows-steps: box.$box-shadows-steps !default;
|
|
33
33
|
$box-shadows-step-multiplier: box.$box-shadows-step-multiplier !default;
|
|
34
34
|
|
|
35
|
-
$box-radius: cssfabric-config.$box-radius;
|
|
35
|
+
$box-radius: cssfabric-config.$box-radius; //
|
|
36
36
|
$box-unit-presets: cssfabric-config.$box-unit-presets;
|
|
37
37
|
|
|
38
38
|
$densities-ratios : cssfabric-config.$densities-ratios;
|
|
@@ -46,7 +46,7 @@ $densities-ratios : cssfabric-config.$densities-ratios;
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
// support ratios
|
|
49
|
+
// support ratios, set densities
|
|
50
50
|
// for paddings margins positions
|
|
51
51
|
@mixin pmbCssVars() {
|
|
52
52
|
$iterator: $box-sizes-config;
|
|
@@ -57,7 +57,8 @@ $densities-ratios : cssfabric-config.$densities-ratios;
|
|
|
57
57
|
|
|
58
58
|
// presets
|
|
59
59
|
@each $preset, $preset-value in $box-unit-presets{
|
|
60
|
-
$value: ($preset-value * $box-unit-size-config) + $box-unit-config;
|
|
60
|
+
// $value: ($preset-value * $box-unit-size-config) + $box-unit-config;
|
|
61
|
+
$value: $preset-value + $box-unit-config;
|
|
61
62
|
--box-density-preset-#{$preset}: #{$value};
|
|
62
63
|
}
|
|
63
64
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
@use '../../../src/vendor/normalize/normalize.min.css';
|
|
2
|
-
// old name css-fabric.scss
|
|
2
|
+
// old name css-fabric.scss
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
cssFabric vars
|
|
13
13
|
*/
|
|
14
14
|
:root {
|
|
15
|
-
/* --theme-color-primary|*-alpha-|*
|
|
15
|
+
/* --theme-color-primary|*-alpha-|* */
|
|
16
16
|
@include themeBuild.themeCssVars($theme-color-primary, $theme-color-secondary, $theme-color-tertiary);
|
|
17
17
|
|
|
18
18
|
@include colorBuild.buildColorCssVars();
|
|
19
|
-
/* boxes */
|
|
20
|
-
@include boxBuild.pmbCssVars();
|
|
21
19
|
/* text */
|
|
22
20
|
@include textBuild.textCssVars();
|
|
21
|
+
/* boxes */
|
|
22
|
+
@include boxBuild.pmbCssVars();
|
|
23
23
|
/* shadows */
|
|
24
24
|
@include boxBuild.shadowsCssVars();
|
|
25
25
|
|