@medyll/cssfabric 0.2.4 → 0.2.6
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/.gitignores +3 -0
- package/bin/index.js +33 -5
- package/bin/install.js +131 -0
- package/bin/package-lock.json +2429 -0
- package/bin/package.json +15 -0
- package/package.json +8 -4
- package/src/cssfabric/_utils.scss +2 -2
- package/src/cssfabric/modules/_cssfabric-config.scss +7 -2
- package/src/cssfabric/modules/grid/_grid-build.scss +5 -3
- package/src/cssfabric/modules/vars.scss +8 -6
- package/src/lib/styles/box/box.responsive.css +2579 -1198
- package/src/lib/styles/box/box.responsive.min.css +1 -1
- package/src/lib/styles/color/color.responsive.css +3419 -1852
- package/src/lib/styles/color/color.responsive.min.css +1 -1
- package/src/lib/styles/cssfabric.css +41607 -1
- package/src/lib/styles/cssfabric.min.css +112 -0
- package/src/lib/styles/cssfabric.responsive.css +138257 -0
- package/src/lib/styles/cssfabric.responsive.min.css +73 -1
- package/src/lib/styles/flex/flex.responsive.css +190 -64
- package/src/lib/styles/flex/flex.responsive.min.css +1 -1
- package/src/lib/styles/grid/grid.responsive.css +249 -128
- package/src/lib/styles/grid/grid.responsive.min.css +1 -1
- package/src/lib/styles/menu/menu.responsive.css +155 -70
- package/src/lib/styles/menu/menu.responsive.min.css +1 -1
- package/src/lib/styles/overflow/overflow.responsive.css +110 -49
- package/src/lib/styles/overflow/overflow.responsive.min.css +1 -1
- package/src/lib/styles/scale/scale.responsive.css +1373 -652
- package/src/lib/styles/scale/scale.responsive.min.css +1 -1
- package/src/lib/styles/table/table.responsive.css +141 -67
- package/src/lib/styles/table/table.responsive.min.css +1 -1
- package/src/lib/styles/text/text.responsive.css +56 -7
- package/src/lib/styles/text/text.responsive.min.css +1 -1
- package/src/lib/styles/vars.css +5 -19
- package/src/lib/styles/vars.min.css +1 -1
- package/svelte.config.js +1 -2
package/bin/package.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cssfabric-install",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@medyll/cssfabric": "0.2.5"
|
|
11
|
+
},
|
|
12
|
+
"author": "",
|
|
13
|
+
"license": "ISC",
|
|
14
|
+
"type":"module"
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medyll/cssfabric",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"private": false,
|
|
5
|
-
"bin": {
|
|
6
|
-
"@medyll/cssfabric": "./bin/index.js"
|
|
7
|
-
},
|
|
8
5
|
"repository": {
|
|
9
6
|
"type": "git",
|
|
10
7
|
"url": "https://github.com/medyll/cssfabric.git"
|
|
11
8
|
},
|
|
9
|
+
"main": "bin/index.js",
|
|
10
|
+
"bin": {
|
|
11
|
+
"@medyll/cssfabric": "bin/index.js"
|
|
12
|
+
},
|
|
12
13
|
"scripts": {
|
|
13
14
|
"dev": "svelte-kit dev",
|
|
14
15
|
"build": "svelte-kit build",
|
|
@@ -24,11 +25,14 @@
|
|
|
24
25
|
"css-build": "sass src/cssfabric/modules/vars.scss css/mystyles.css"
|
|
25
26
|
},
|
|
26
27
|
"dependencies": {
|
|
28
|
+
"@colors/colors": "^1.5.0",
|
|
27
29
|
"@lukeed/uuid": "^2.0.0",
|
|
28
30
|
"cookie": "^0.4.1",
|
|
31
|
+
"fs-extra": "^10.1.0",
|
|
29
32
|
"gulp-concat-util": "^0.5.5",
|
|
30
33
|
"gulp-filelist": "^2.0.5",
|
|
31
34
|
"JSON": "^1.0.0",
|
|
35
|
+
"prompt": "^1.3.0",
|
|
32
36
|
"sass": "^1.32.12",
|
|
33
37
|
"svelte2tsx": "^0.5.9"
|
|
34
38
|
},
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
@mixin alphaTize($key,$color,$ranges: (_:0.3,low:0.8,high:0.1)) {
|
|
72
72
|
@each $range, $val in $ranges {
|
|
73
73
|
$rg: if($range==_,'',-#{$range});
|
|
74
|
-
#{$key}-alpha#{$rg} : #{color.change($color,$alpha:$val)};
|
|
74
|
+
#{$key}-alpha#{$rg} : rgba($color,$val); // #{color.change($color,$alpha:$val)};
|
|
75
75
|
}
|
|
76
|
-
}
|
|
76
|
+
}
|
|
77
77
|
|
|
78
78
|
@function getGraySteps($steps, $gray-start, $gray-end) {
|
|
79
79
|
$gray-schemes: ();
|
|
@@ -101,10 +101,15 @@ $cssfabric-config: (
|
|
|
101
101
|
full: 100%
|
|
102
102
|
),
|
|
103
103
|
media_quey_sizes: (
|
|
104
|
-
|
|
104
|
+
sm:640,
|
|
105
|
+
md:768,
|
|
106
|
+
lg:1024,
|
|
107
|
+
xl:1280,
|
|
108
|
+
xxl:1540
|
|
109
|
+
/* xxl: 1300,
|
|
105
110
|
xl: 1200,
|
|
106
111
|
lg: 960,
|
|
107
|
-
md: 760
|
|
112
|
+
md: 760 */
|
|
108
113
|
),
|
|
109
114
|
densities-ratios: $densities-ratios,
|
|
110
115
|
themes:(
|
|
@@ -29,7 +29,7 @@ $grid-code-sep: #{$grid-code}#{$sep};
|
|
|
29
29
|
$h_prop: #{$prefix}#{$sep}#{$grid-h};
|
|
30
30
|
$v_prop: #{$prefix}#{$sep}#{$grid-v};
|
|
31
31
|
|
|
32
|
-
.#{$
|
|
32
|
+
.#{$prefix} {
|
|
33
33
|
display: grid;
|
|
34
34
|
&-auto-flow-cols {
|
|
35
35
|
grid-auto-flow: column;
|
|
@@ -69,15 +69,17 @@ $grid-code-sep: #{$grid-code}#{$sep};
|
|
|
69
69
|
.#{$grid-code-sep}inline {
|
|
70
70
|
display: inline-grid;
|
|
71
71
|
}
|
|
72
|
+
|
|
73
|
+
|
|
72
74
|
/* template-columns */
|
|
73
75
|
@for $col-row from 1 through $grid-max-cols {
|
|
74
|
-
.#{$
|
|
76
|
+
.#{$prefix}-cols-#{$col-row} {
|
|
75
77
|
grid-template-columns: repeat(#{$col-row}, minmax(0, 1fr));
|
|
76
78
|
}
|
|
77
79
|
}
|
|
78
80
|
/* template-rows */
|
|
79
81
|
@for $col-row from 1 through $grid-max-rows {
|
|
80
|
-
.#{$
|
|
82
|
+
.#{$prefix}-rows-#{$col-row} {
|
|
81
83
|
grid-template-rows: repeat(#{$col-row}, minmax(0, 1fr));
|
|
82
84
|
}
|
|
83
85
|
}
|
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
@import "cssfabric-config";
|
|
10
10
|
|
|
11
|
-
/*
|
|
11
|
+
/*
|
|
12
|
+
cssFabric vars
|
|
13
|
+
*/
|
|
12
14
|
:root {
|
|
13
15
|
/* --theme-color-primary|*-alpha-|* */
|
|
14
16
|
@include themeBuild.themeCssVars($theme-color-primary, $theme-color-secondary, $theme-color-tertiary);
|
|
@@ -20,16 +22,16 @@
|
|
|
20
22
|
@include textBuild.textCssVars();
|
|
21
23
|
/* shadows */
|
|
22
24
|
@include boxBuild.shadowsCssVars();
|
|
23
|
-
|
|
24
|
-
@include themeBuild.themeBaseVars($theme-color-foreground, $theme-color-background, $theme-color-paper);
|
|
25
|
+
|
|
26
|
+
// @include themeBuild.themeBaseVars($theme-color-foreground, $theme-color-background, $theme-color-paper);
|
|
25
27
|
|
|
26
|
-
|
|
28
|
+
|
|
27
29
|
&,
|
|
28
30
|
[data-theme="light"] {
|
|
29
31
|
@include themeBuild.themeBaseVars($theme-color-foreground, $theme-color-background, $theme-color-paper);
|
|
30
32
|
|
|
31
33
|
--theme-color-border: #{color.change($theme-color-foreground, $alpha: 0.2)};
|
|
32
|
-
--theme-color-overlay: rgba(
|
|
34
|
+
--theme-color-overlay: rgba($theme-color-foreground, 0.4);
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
[data-theme="dark"] {
|
|
@@ -40,6 +42,6 @@
|
|
|
40
42
|
);
|
|
41
43
|
|
|
42
44
|
--theme-color-border: #{color.change($theme-dark-color-foreground, $alpha: 0.3)};
|
|
43
|
-
--theme-color-overlay: rgba(
|
|
45
|
+
--theme-color-overlay: rgba($theme-dark-color-background, 0.4);
|
|
44
46
|
}
|
|
45
47
|
}
|