beathers 5.4.0 → 5.5.0

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.
Files changed (42) hide show
  1. package/.prettierrc.js +8 -8
  2. package/CHANGELOG +191 -167
  3. package/css/beathers-icons.min.css +1 -1
  4. package/css/beathers-icons.min.css.map +1 -1
  5. package/css/beathers.min.css +2 -2
  6. package/css/beathers.min.css.map +1 -1
  7. package/data/colors.d.ts +2 -0
  8. package/data/colors.d.ts.map +1 -1
  9. package/data/colors.js +6 -0
  10. package/package.json +15 -14
  11. package/public/fonts/beathers.woff +0 -0
  12. package/readme.md +263 -256
  13. package/scripts/cli.js +0 -0
  14. package/scripts/commands/build.d.ts.map +1 -1
  15. package/scripts/commands/build.js +2 -1
  16. package/scripts/commands/fonts.d.ts.map +1 -1
  17. package/scripts/commands/init.d.ts.map +1 -1
  18. package/scripts/commands/init.js +7 -0
  19. package/scripts/helpers/BuildScssVariables.d.ts +1 -1
  20. package/scripts/helpers/BuildScssVariables.d.ts.map +1 -1
  21. package/scripts/helpers/BuildScssVariables.js +28 -5
  22. package/scripts/helpers/ReadDefaultValues.d.ts.map +1 -1
  23. package/scripts/helpers/ReadDefaultValues.js +11 -0
  24. package/scripts/types.d.ts +22 -3
  25. package/scripts/types.d.ts.map +1 -1
  26. package/scss/_variables.scss +1 -0
  27. package/scss/beathers-icons.min.scss +265 -265
  28. package/scss/beathers.min.scss +11 -11
  29. package/scss/functions/_colors.scss +230 -230
  30. package/scss/functions/_mediaQueries.scss +133 -133
  31. package/scss/functions/_others.scss +87 -87
  32. package/scss/functions/_typographic.scss +129 -129
  33. package/scss/functions/_validations.scss +251 -251
  34. package/scss/settings/_configs.scss +295 -295
  35. package/scss/settings/_defaults.scss +200 -178
  36. package/scss/settings/_index.scss +70 -68
  37. package/scss/style/_colors.scss +146 -146
  38. package/scss/style/_glass.scss +84 -0
  39. package/scss/style/_grid.scss +89 -89
  40. package/scss/style/_resets.scss +112 -110
  41. package/scss/style/_shaping.scss +388 -388
  42. package/scss/style/_typographic.scss +320 -319
@@ -1,110 +1,112 @@
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 '../settings/defaults' as defs;
3
+ @use '../variables' as vars;
4
+ @use '../functions/colors' as colors;
5
+ @use '../settings/index' as settings;
6
+
7
+ // Definitions
8
+ $defaultFontFamilies: if(vars.$defaultFontFamilies != null, vars.$defaultFontFamilies, defs.$defaultFontFamilies);
9
+ $useColors: if(vars.$useColors != null, vars.$useColors, settings.$useColors);
10
+ $useColorsLightMode: if(vars.$useColorsLightMode != null, vars.$useColorsLightMode, settings.$useColorsLightMode);
11
+ $useColorsDarkMode: if(vars.$useColorsDarkMode != null, vars.$useColorsDarkMode, settings.$useColorsDarkMode);
12
+
13
+ html {
14
+ scroll-behavior: smooth;
15
+ interpolate-size: allow-keywords;
16
+ }
17
+
18
+ body {
19
+ position: relative;
20
+ font-family: 'regular', $defaultFontFamilies;
21
+ overflow-x: hidden;
22
+ }
23
+
24
+ *,
25
+ ::before,
26
+ ::after {
27
+ font-family: inherit;
28
+ margin: 0;
29
+ padding: 0;
30
+ box-sizing: border-box;
31
+ }
32
+
33
+ :focus,
34
+ button:focus {
35
+ outline: unset;
36
+ box-shadow: unset;
37
+ }
38
+
39
+ ul {
40
+ margin: unset;
41
+ list-style: none;
42
+ padding: 0;
43
+
44
+ li {
45
+ margin-bottom: unset;
46
+ }
47
+ }
48
+
49
+ a {
50
+ text-decoration: unset;
51
+ }
52
+
53
+ @if $useColors {
54
+ @if $useColorsLightMode {
55
+ .light::selection {
56
+ background-color: colors.useColorWithMap('third');
57
+ color: colors.useColorWithMap('white');
58
+ }
59
+ }
60
+ @if $useColorsDarkMode {
61
+ .dark::selection {
62
+ background-color: colors.useColorWithMap('third', 'dark');
63
+ color: colors.useColorWithMap('black');
64
+ }
65
+ }
66
+ }
67
+
68
+ ::-webkit-scrollbar {
69
+ width: 6px;
70
+
71
+ &-track {
72
+ background-color: transparent;
73
+ border-radius: unset;
74
+ }
75
+ &-thumb {
76
+ border-radius: 100vw;
77
+ }
78
+ }
79
+ @if $useColors {
80
+ @if $useColorsLightMode {
81
+ .light::-webkit-scrollbar-thumb {
82
+ background: colors.useColorWithMap('third');
83
+ }
84
+ }
85
+ @if $useColorsDarkMode {
86
+ .dark::-webkit-scrollbar-thumb {
87
+ background: colors.useColorWithMap('third', 'dark');
88
+ }
89
+ }
90
+ }
91
+
92
+ @each $option, $properties in configs.$clearanceOptions {
93
+ @each $property, $value in $properties {
94
+ .i\:#{$option} {
95
+ /* stylelint-disable declaration-no-important */
96
+ #{$property}: $value !important;
97
+ }
98
+ .#{$option} {
99
+ #{$property}: $value;
100
+ }
101
+ }
102
+ }
103
+
104
+ @each $cursor in configs.$cursors {
105
+ .cursor#{\:}#{$cursor} {
106
+ cursor: #{$cursor};
107
+ }
108
+ }
109
+
110
+ .scroll-smooth {
111
+ scroll-behavior: smooth;
112
+ }