@medyll/cssfabric 0.2.4 → 0.2.5

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 CHANGED
@@ -1,10 +1,7 @@
1
1
  {
2
2
  "name": "@medyll/cssfabric",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
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"
@@ -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: ();
@@ -8,7 +8,9 @@
8
8
 
9
9
  @import "cssfabric-config";
10
10
 
11
- /* cssFabric vars */
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
- /* themes */
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
- --theme-color-border: #{color.change($theme-color-foreground, $alpha: 0.2)};
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(208, 191, 151, 0.2);
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(255, 255, 255, 0.1);
45
+ --theme-color-overlay: rgba($theme-dark-color-background, 0.4);
44
46
  }
45
47
  }