v-eris 1.0.295 → 1.0.297

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,6 +1,6 @@
1
1
  {
2
2
  "name": "v-eris",
3
- "version": "1.0.295",
3
+ "version": "1.0.297",
4
4
  "description": "",
5
5
  "bootstrapVersion": 3,
6
6
  "styleLoaders": [],
@@ -15,21 +15,3 @@
15
15
  @function color( $color, $opacity ){
16
16
  @return #{'rgb(from ' + $color + ' r g b / ' + $opacity + '%)'};
17
17
  }
18
-
19
- @mixin addThemes( $arg ){
20
- @each $theme, $map in $arg {
21
- @if $theme == "default" {
22
- :root {
23
- @each $key, $value in $map {
24
- --#{$key}: #{$value};
25
- }
26
- }
27
- } @else {
28
- [data-theme="#{$theme}"] {
29
- @each $key, $value in $map {
30
- --#{$key}: #{$value};
31
- }
32
- }
33
- }
34
- }
35
- }
@@ -1,7 +1,7 @@
1
1
  @use "functions.scss";
2
2
 
3
3
  $themes: (
4
- cold: (
4
+ "cold": (
5
5
  "bg": rgb(8, 7, 19),
6
6
  "bg-overlay": transparent,
7
7
  "gloss": radial-gradient(100% 121.87% at 0% 100%, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%),
@@ -28,7 +28,7 @@ $themes: (
28
28
  "element-text-multi-shadow": 1.0,
29
29
  "header-multi-shadow": 4.0,
30
30
  ),
31
- purple: (
31
+ "purple": (
32
32
  "bg": rgb(3, 0, 20),
33
33
  "bg-overlay": radial-gradient(
34
34
  96.87% 167.08% at 50% 0%,
@@ -62,7 +62,7 @@ $themes: (
62
62
  "element-text-multi-shadow": 1.0,
63
63
  "header-multi-shadow": 4.0,
64
64
  ),
65
- dark: (
65
+ "dark": (
66
66
  "bg": rgb(17, 17, 17),
67
67
  "bg-overlay": transparent,
68
68
  "gloss": radial-gradient(100% 121.87% at 0% 100%, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%),
@@ -91,7 +91,7 @@ $themes: (
91
91
  "element-text-multi-shadow": 1.0,
92
92
  "header-multi-shadow": 4.0,
93
93
  ),
94
- white: (
94
+ "white": (
95
95
  "bg": rgb(244, 244, 244),
96
96
  "modal-bg": rgba(0, 0, 0, 0.13),
97
97
  "bg-overlay": transparent,
@@ -149,10 +149,22 @@ $themes: (
149
149
  )
150
150
  );
151
151
 
152
- @include addThemes( $themes );
152
+ @mixin theme(){
153
+ @each $theme, $map in $themes {
154
+ @if $theme == "default" {
155
+ :root {
156
+ @each $key, $value in $map {
157
+ --#{$key}: #{$value};
158
+ }
159
+ }
160
+ } @else {
161
+ [data-theme="#{$theme}"] {
162
+ @each $key, $value in $map {
163
+ --#{$key}: #{$value};
164
+ }
165
+ }
166
+ }
167
+ }
168
+ }
153
169
 
154
- @include addThemes((
155
- ert: (
156
- "bg": rgb(3, 0, 20),
157
- ),
158
- ));
170
+ @include theme();
@@ -23,11 +23,11 @@
23
23
  transition: all .2s ease-in-out;
24
24
  }
25
25
  .icon-active{
26
- color: $icons;
26
+ color: #00000080;
27
27
  cursor: pointer;
28
28
  }
29
29
  .icon-active:hover{
30
- color: $icons-accent-hover;
30
+ color: #00a2ff;
31
31
  }
32
32
 
33
33
  @keyframes icon-spin{
@@ -1,7 +1,7 @@
1
1
  @use "../../../assets/styles/preset";
2
2
 
3
3
  .typography{
4
- font-family: $fonts;
4
+ font-family: Roboto;
5
5
  font-size: 14px;
6
6
  font-weight: normal;
7
7
  //color: rgba(0, 0, 0, 0.85);
@@ -26,7 +26,7 @@
26
26
  }
27
27
  .typography-link, .typography-link > a{
28
28
  font-weight: bold;
29
- color: $link;
29
+ color: #56b7ff;
30
30
  cursor: pointer;
31
31
  text-decoration: none;
32
32
  }