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