beathers 5.4.0 → 5.4.1

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.
@@ -1,110 +1,110 @@
1
- @use '../settings/configs' as configs;
2
- @use '../variables' as vars;
3
- @use '../functions/colors' as colors;
4
- @use '../settings/index' as settings;
5
-
6
- // Definitions
7
- $useColors: if(vars.$useColors != null, vars.$useColors, settings.$useColors);
8
- $useColorsLightMode: if(vars.$useColorsLightMode != null, vars.$useColorsLightMode, settings.$useColorsLightMode);
9
- $useColorsDarkMode: if(vars.$useColorsDarkMode != null, vars.$useColorsDarkMode, settings.$useColorsDarkMode);
10
-
11
- html {
12
- scroll-behavior: smooth;
13
- interpolate-size: allow-keywords;
14
- }
15
-
16
- body {
17
- position: relative;
18
- /* stylelint-disable font-family-no-missing-generic-family-keyword */
19
- font-family: 'regular';
20
- overflow-x: hidden;
21
- }
22
-
23
- *,
24
- ::before,
25
- ::after {
26
- margin: 0;
27
- padding: 0;
28
- box-sizing: border-box;
29
- }
30
-
31
- :focus,
32
- button:focus {
33
- outline: unset;
34
- box-shadow: unset;
35
- }
36
-
37
- ul {
38
- margin: unset;
39
- list-style: none;
40
- padding: 0;
41
-
42
- li {
43
- margin-bottom: unset;
44
- }
45
- }
46
-
47
- a {
48
- text-decoration: unset;
49
- }
50
-
51
- @if $useColors {
52
- @if $useColorsLightMode {
53
- .light::selection {
54
- background-color: colors.useColorWithMap('custom-2');
55
- color: colors.useColorWithMap('white');
56
- }
57
- }
58
- @if $useColorsDarkMode {
59
- .dark::selection {
60
- background-color: colors.useColorWithMap('custom-2', 'dark');
61
- color: colors.useColorWithMap('black');
62
- }
63
- }
64
- }
65
-
66
- ::-webkit-scrollbar {
67
- width: 6px;
68
-
69
- &-track {
70
- background-color: transparent;
71
- border-radius: unset;
72
- }
73
- &-thumb {
74
- border-radius: 100vw;
75
- }
76
- }
77
- @if $useColors {
78
- @if $useColorsLightMode {
79
- .light::-webkit-scrollbar-thumb {
80
- background: colors.useColorWithMap('third');
81
- }
82
- }
83
- @if $useColorsDarkMode {
84
- .dark::-webkit-scrollbar-thumb {
85
- background: colors.useColorWithMap('third', 'dark');
86
- }
87
- }
88
- }
89
-
90
- @each $option, $properties in configs.$clearanceOptions {
91
- @each $property, $value in $properties {
92
- .i\:#{$option} {
93
- /* stylelint-disable declaration-no-important */
94
- #{$property}: $value !important;
95
- }
96
- .#{$option} {
97
- #{$property}: $value;
98
- }
99
- }
100
- }
101
-
102
- @each $cursor in configs.$cursors {
103
- .cursor#{\:}#{$cursor} {
104
- cursor: #{$cursor};
105
- }
106
- }
107
-
108
- .scroll-smooth {
109
- scroll-behavior: smooth;
110
- }
1
+ @use '../settings/configs' as configs;
2
+ @use '../variables' as vars;
3
+ @use '../functions/colors' as colors;
4
+ @use '../settings/index' as settings;
5
+
6
+ // Definitions
7
+ $useColors: if(vars.$useColors != null, vars.$useColors, settings.$useColors);
8
+ $useColorsLightMode: if(vars.$useColorsLightMode != null, vars.$useColorsLightMode, settings.$useColorsLightMode);
9
+ $useColorsDarkMode: if(vars.$useColorsDarkMode != null, vars.$useColorsDarkMode, settings.$useColorsDarkMode);
10
+
11
+ html {
12
+ scroll-behavior: smooth;
13
+ interpolate-size: allow-keywords;
14
+ }
15
+
16
+ body {
17
+ position: relative;
18
+ /* stylelint-disable font-family-no-missing-generic-family-keyword */
19
+ font-family: 'regular';
20
+ overflow-x: hidden;
21
+ }
22
+
23
+ *,
24
+ ::before,
25
+ ::after {
26
+ margin: 0;
27
+ padding: 0;
28
+ box-sizing: border-box;
29
+ }
30
+
31
+ :focus,
32
+ button:focus {
33
+ outline: unset;
34
+ box-shadow: unset;
35
+ }
36
+
37
+ ul {
38
+ margin: unset;
39
+ list-style: none;
40
+ padding: 0;
41
+
42
+ li {
43
+ margin-bottom: unset;
44
+ }
45
+ }
46
+
47
+ a {
48
+ text-decoration: unset;
49
+ }
50
+
51
+ @if $useColors {
52
+ @if $useColorsLightMode {
53
+ .light::selection {
54
+ background-color: colors.useColorWithMap('custom-2');
55
+ color: colors.useColorWithMap('white');
56
+ }
57
+ }
58
+ @if $useColorsDarkMode {
59
+ .dark::selection {
60
+ background-color: colors.useColorWithMap('custom-2', 'dark');
61
+ color: colors.useColorWithMap('black');
62
+ }
63
+ }
64
+ }
65
+
66
+ ::-webkit-scrollbar {
67
+ width: 6px;
68
+
69
+ &-track {
70
+ background-color: transparent;
71
+ border-radius: unset;
72
+ }
73
+ &-thumb {
74
+ border-radius: 100vw;
75
+ }
76
+ }
77
+ @if $useColors {
78
+ @if $useColorsLightMode {
79
+ .light::-webkit-scrollbar-thumb {
80
+ background: colors.useColorWithMap('third');
81
+ }
82
+ }
83
+ @if $useColorsDarkMode {
84
+ .dark::-webkit-scrollbar-thumb {
85
+ background: colors.useColorWithMap('third', 'dark');
86
+ }
87
+ }
88
+ }
89
+
90
+ @each $option, $properties in configs.$clearanceOptions {
91
+ @each $property, $value in $properties {
92
+ .i\:#{$option} {
93
+ /* stylelint-disable declaration-no-important */
94
+ #{$property}: $value !important;
95
+ }
96
+ .#{$option} {
97
+ #{$property}: $value;
98
+ }
99
+ }
100
+ }
101
+
102
+ @each $cursor in configs.$cursors {
103
+ .cursor#{\:}#{$cursor} {
104
+ cursor: #{$cursor};
105
+ }
106
+ }
107
+
108
+ .scroll-smooth {
109
+ scroll-behavior: smooth;
110
+ }