prlg-ui 1.2.3 → 1.2.4

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.
@@ -16,48 +16,46 @@
16
16
  * ...
17
17
  */
18
18
 
19
- @mixin font-face($font-family, $weights) {
19
+ @mixin font-face($font-family, $weights) {
20
20
  @each $weight in $weights {
21
21
  $weight-name: if(
22
- $weight == 100,
23
- "Thin",
24
- if(
25
- $weight == 200,
26
- "ExtraLight",
27
- if(
28
- $weight == 300,
29
- "Light",
30
- if(
31
- $weight == 400,
32
- "Regular",
33
- if(
34
- $weight == 500,
35
- "Medium",
36
- if(
37
- $weight == 600,
38
- "SemiBold",
39
- if(
40
- $weight == 700,
41
- "Bold",
42
- if(
43
- $weight == 800,
44
- "ExtraBold",
45
- if($weight == 900, "Black", $weight)
46
- )
47
- )
48
- )
49
- )
50
- )
51
- )
52
- )
22
+ $weight == 100,
23
+ "Thin",
24
+ if(
25
+ $weight == 200,
26
+ "ExtraLight",
27
+ if(
28
+ $weight == 300,
29
+ "Light",
30
+ if(
31
+ $weight == 400,
32
+ "Regular",
33
+ if(
34
+ $weight == 500,
35
+ "Medium",
36
+ if(
37
+ $weight == 600,
38
+ "SemiBold",
39
+ if(
40
+ $weight == 700,
41
+ "Bold",
42
+ if(
43
+ $weight == 800,
44
+ "ExtraBold",
45
+ if($weight == 900, "Black", $weight)
46
+ )
47
+ )
48
+ )
49
+ )
50
+ )
51
+ )
52
+ )
53
53
  );
54
54
  @font-face {
55
55
  font-family: "#{$font-family}";
56
56
  font-weight: #{$weight};
57
- src: url("./fonts/#{$font-family}/#{$font-family}-#{$weight-name}.woff2")
58
- format("woff2"),
59
- url("./fonts/#{$font-family}/#{$font-family}-#{$weight-name}.woff")
60
- format("woff");
57
+ src: url("./fonts/#{$font-family}/#{$font-family}-#{$weight-name}.woff2") format("woff2"),
58
+ url("./fonts/#{$font-family}/#{$font-family}-#{$weight-name}.woff") format("woff");
61
59
  }
62
60
  }
63
61
  }
@@ -107,13 +105,29 @@
107
105
  // 📱 Адаптив
108
106
  @mixin respond($breakpoint) {
109
107
  @if $breakpoint == sm {
110
- @media (min-width: 640px) { @content; }
108
+ @media (min-width: 640px) {
109
+ @content;
110
+ }
111
111
  } @else if $breakpoint == md {
112
- @media (min-width: 768px) { @content; }
112
+ @media (min-width: 768px) {
113
+ @content;
114
+ }
113
115
  } @else if $breakpoint == lg {
114
- @media (min-width: 1024px) { @content; }
116
+ @media (min-width: 1024px) {
117
+ @content;
118
+ }
115
119
  } @else if $breakpoint == xl {
116
- @media (min-width: 1280px) { @content; }
120
+ @media (min-width: 1280px) {
121
+ @content;
122
+ }
123
+ } @else if $breakpoint == xxl {
124
+ @media (min-width: 1420px) {
125
+ @content;
126
+ }
127
+ } @else if $breakpoint == xxxl {
128
+ @media (min-width: 1620px) {
129
+ @content;
130
+ }
117
131
  }
118
132
  }
119
133
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prlg-ui",
3
3
  "private": false,
4
- "version": "1.2.3",
4
+ "version": "1.2.4",
5
5
  "type": "module",
6
6
  "main": "dist/prlg-ui.umd.js",
7
7
  "module": "dist/prlg-ui.es.js",