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.
- package/.prettierrc.js +8 -8
- package/CHANGELOG +176 -167
- package/css/beathers-icons.min.css.map +1 -1
- package/css/beathers.min.css +1 -1
- package/css/beathers.min.css.map +1 -1
- package/package.json +14 -14
- package/readme.md +263 -256
- package/scripts/cli.js +0 -0
- package/scss/beathers-icons.min.scss +265 -265
- package/scss/beathers.min.scss +11 -11
- package/scss/functions/_colors.scss +230 -230
- package/scss/functions/_mediaQueries.scss +133 -133
- package/scss/functions/_others.scss +87 -87
- package/scss/functions/_typographic.scss +129 -129
- package/scss/functions/_validations.scss +251 -251
- package/scss/settings/_configs.scss +295 -295
- package/scss/settings/_defaults.scss +178 -178
- package/scss/settings/_index.scss +68 -68
- package/scss/style/_colors.scss +146 -146
- package/scss/style/_grid.scss +89 -89
- package/scss/style/_resets.scss +110 -110
- package/scss/style/_shaping.scss +388 -388
- package/scss/style/_typographic.scss +319 -319
package/scss/style/_resets.scss
CHANGED
|
@@ -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
|
+
}
|