coer-elements 2.0.71 → 2.0.72

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.
@@ -0,0 +1,22 @@
1
+ @mixin mixin($breakpoint) {
2
+
3
+ @for $i from 0 through 100 {
4
+ .#{$breakpoint}font-size-#{$i}px {
5
+ font-size: $i * 1px !important;
6
+ }
7
+ }
8
+
9
+ @each $key, $value in (
10
+ 'xx-small': xx-small,
11
+ 'x-small' : x-small,
12
+ 'small' : small,
13
+ 'medium' : medium,
14
+ 'large' : large,
15
+ 'x-large' : x-large,
16
+ 'xx-large': xx-large
17
+ ) {
18
+ .#{$breakpoint}font-size-#{$key} {
19
+ font-size: $value;
20
+ }
21
+ }
22
+ }
package/styles/fonts.scss CHANGED
@@ -12,14 +12,7 @@
12
12
 
13
13
  .#{$breakpoint}font-weight-bold {
14
14
  font-weight: bold !important;
15
- }
16
-
17
- //Font Size
18
- @for $i from 0 through 100 {
19
- .#{$breakpoint}font-size-#{$i}px {
20
- font-size: $i * 1px !important;
21
- }
22
- }
15
+ }
23
16
  }
24
17
 
25
18
 
package/styles/index.scss CHANGED
@@ -1,10 +1,11 @@
1
1
  @use "./animations.scss" as _animations;
2
- @use "./borders.scss" as _borders;
2
+ @use "./border.scss" as _border;
3
3
  @use "./colors.scss" as _colors;
4
4
  @use "./components.scss";
5
5
  @use "./containers.scss";
6
6
  @use "./cursors.scss" as _cursors;
7
7
  @use "./displays.scss" as _displays;
8
+ @use "./font-size.scss" as _font-size;
8
9
  @use "./fonts.scss" as _fonts;
9
10
  @use "./icons/icons.scss";
10
11
  @use "./layout-flex-wrap.scss" as _layout-flex-wrap;
@@ -32,10 +33,11 @@
32
33
  ) {
33
34
  @if ($breakpoint == '') {
34
35
  @include _animations.mixin($breakpoint);
35
- @include _borders.mixin($breakpoint);
36
+ @include _border.mixin($breakpoint);
36
37
  @include _colors.mixin($breakpoint);
37
38
  @include _cursors.mixin($breakpoint);
38
39
  @include _displays.mixin($breakpoint);
40
+ @include _font-size.mixin($breakpoint);
39
41
  @include _fonts.mixin($breakpoint);
40
42
  @include _layout-flex-wrap.mixin($breakpoint);
41
43
  @include _layout-flex.mixin($breakpoint);
@@ -52,10 +54,11 @@
52
54
  @else if ($breakpoint == 'mv-') {
53
55
  @media (min-width: $min-width) and (max-width: 499px) {
54
56
  @include _animations.mixin($breakpoint);
55
- @include _borders.mixin($breakpoint);
57
+ @include _border.mixin($breakpoint);
56
58
  @include _colors.mixin($breakpoint);
57
59
  @include _cursors.mixin($breakpoint);
58
60
  @include _displays.mixin($breakpoint);
61
+ @include _font-size.mixin($breakpoint);
59
62
  @include _fonts.mixin($breakpoint);
60
63
  @include _layout-flex-wrap.mixin($breakpoint);
61
64
  @include _layout-flex.mixin($breakpoint);
@@ -73,10 +76,11 @@
73
76
  @else {
74
77
  @media (min-width: $min-width) {
75
78
  @include _animations.mixin($breakpoint);
76
- @include _borders.mixin($breakpoint);
79
+ @include _border.mixin($breakpoint);
77
80
  @include _colors.mixin($breakpoint);
78
81
  @include _cursors.mixin($breakpoint);
79
82
  @include _displays.mixin($breakpoint);
83
+ @include _font-size.mixin($breakpoint);
80
84
  @include _fonts.mixin($breakpoint);
81
85
  @include _layout-flex-wrap.mixin($breakpoint);
82
86
  @include _layout-flex.mixin($breakpoint);
File without changes