beathers 5.7.3 → 5.9.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 (44) hide show
  1. package/.prettierrc.js +2 -0
  2. package/CHANGELOG +39 -1
  3. package/css/beathers.min.css +3 -3
  4. package/css/beathers.min.css.map +1 -1
  5. package/package.json +40 -34
  6. package/readme.md +2 -2
  7. package/scripts/cli.js +0 -0
  8. package/scripts/commands/build.js +4 -4
  9. package/scripts/commands/clean.d.ts +2 -0
  10. package/scripts/commands/clean.d.ts.map +1 -0
  11. package/scripts/commands/clean.js +22 -0
  12. package/scripts/commands/fonts.d.ts.map +1 -1
  13. package/scripts/commands/fonts.js +4 -3
  14. package/scripts/commands/index.js +8 -8
  15. package/scripts/commands/init.js +1 -1
  16. package/scripts/commands/version-update.d.ts +2 -0
  17. package/scripts/commands/version-update.d.ts.map +1 -0
  18. package/scripts/commands/version-update.js +122 -0
  19. package/scripts/commands/version.js +1 -1
  20. package/scripts/helpers/BuildScssVariables.d.ts +1 -1
  21. package/scripts/helpers/BuildScssVariables.d.ts.map +1 -1
  22. package/scripts/helpers/BuildScssVariables.js +20 -10
  23. package/scripts/helpers/LoadUserConfigs.js +1 -1
  24. package/scripts/helpers/ReadDefaultValues.js +20 -20
  25. package/scripts/types.d.ts +1 -1
  26. package/scripts/types.d.ts.map +1 -1
  27. package/scss/_variables.scss +106 -106
  28. package/scss/beathers.min.scss +2 -2
  29. package/scss/functions/_colors.scss +19 -7
  30. package/scss/functions/_mediaQueries.scss +7 -3
  31. package/scss/functions/_others.scss +49 -15
  32. package/scss/functions/_typographic.scss +6 -2
  33. package/scss/functions/_validations.scss +71 -29
  34. package/scss/settings/_configs.scss +48 -48
  35. package/scss/settings/_defaults.scss +26 -31
  36. package/scss/style/_button.scss +9 -7
  37. package/scss/style/_colors.scss +15 -5
  38. package/scss/style/_dialog.scss +28 -27
  39. package/scss/style/_glass.scss +27 -9
  40. package/scss/style/_grid.scss +36 -10
  41. package/scss/style/_loader.scss +20 -8
  42. package/scss/style/_resets.scss +12 -4
  43. package/scss/style/_shaping.scss +235 -106
  44. package/scss/style/_typographic.scss +101 -46
@@ -7,14 +7,14 @@ $colorsPropertiesMap: (
7
7
  border: border-color,
8
8
  fill: fill,
9
9
  stroke: stroke,
10
- text-stroke: -webkit-text-stroke-color,
10
+ text-stroke: -webkit-text-stroke-color
11
11
  );
12
12
 
13
13
  // Defines pseudo-classes for color variants.
14
14
  $colorsPseudoMap: (
15
15
  'placeholder': '::placeholder',
16
16
  'hover': ':hover',
17
- 'focus': ':focus',
17
+ 'focus': ':focus'
18
18
  );
19
19
 
20
20
  // Defines available font weights.
@@ -27,7 +27,7 @@ $fontWeightsValues: (
27
27
  'semibold': 600,
28
28
  'bold': 700,
29
29
  'extra-bold': 800,
30
- 'black': 900,
30
+ 'black': 900
31
31
  );
32
32
 
33
33
  // Defines text transformation and decoration options.
@@ -35,18 +35,18 @@ $fontShapes: (
35
35
  'transform': (
36
36
  uppercase,
37
37
  lowercase,
38
- capitalize,
38
+ capitalize
39
39
  ),
40
40
  'decoration': (
41
41
  underline,
42
- line-through,
42
+ line-through
43
43
  ),
44
44
  'styles': (
45
45
  wavy,
46
46
  double,
47
47
  dotted,
48
- dashed,
49
- ),
48
+ dashed
49
+ )
50
50
  );
51
51
 
52
52
  // Defines text alignment options.
@@ -55,7 +55,7 @@ $aligns: (left, start, right, end, justify, center);
55
55
  // Defines flexbox properties.
56
56
  $flexProperties: (
57
57
  flex-wrap: wrap nowrap,
58
- flex-direction: row row-reverse column column-reverse,
58
+ flex-direction: row row-reverse column column-reverse
59
59
  );
60
60
 
61
61
  // Defines display utility options.
@@ -97,49 +97,49 @@ $cursors: (
97
97
  // Defines shadow presets.
98
98
  $shadows: (
99
99
  'light': (
100
- rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em,
101
- rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em,
102
- rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset,
100
+ rgb(0, 0, 0, 0.25) 0px 0.0625em 0.0625em,
101
+ rgb(0, 0, 0, 0.25) 0px 0.125em 0.5em,
102
+ rgb(255, 255, 255, 0.1) 0px 0px 0px 1px inset
103
103
  ),
104
104
  'soft': (
105
- rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
106
- rgba(0, 0, 0, 0.04) 0px 10px 10px -5px,
105
+ rgb(0, 0, 0, 0.1) 0px 20px 25px -5px,
106
+ rgb(0, 0, 0, 0.04) 0px 10px 10px -5px
107
107
  ),
108
108
  'medium': (
109
- rgba(0, 0, 0, 0.1) 0px 10px 50px,
109
+ rgb(0, 0, 0, 0.1) 0px 10px 50px
110
110
  ),
111
111
  'solid': (
112
- rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,
113
- rgba(0, 0, 0, 0.1) 0px 2px 4px 0px,
114
- rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset,
112
+ rgb(0, 0, 0, 0.2) 0px 12px 28px 0px,
113
+ rgb(0, 0, 0, 0.1) 0px 2px 4px 0px,
114
+ rgb(255, 255, 255, 0.05) 0px 0px 0px 1px inset
115
115
  ),
116
116
  'floating': (
117
- rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
118
- rgba(0, 0, 0, 0.3) 0px 8px 16px -8px,
117
+ rgb(50, 50, 93, 0.25) 0px 13px 27px -5px,
118
+ rgb(0, 0, 0, 0.3) 0px 8px 16px -8px
119
119
  ),
120
120
  'flat': (
121
- rgba(0, 0, 0, 0.15) 0px 3px 3px 0px,
122
- ),
121
+ rgb(0, 0, 0, 0.15) 0px 3px 3px 0px
122
+ )
123
123
  ) !default;
124
124
 
125
125
  // Defines utility classes for clearing properties.
126
126
  $clearanceOptions: (
127
127
  no-bg: (
128
128
  background: unset,
129
- background-color: unset,
129
+ background-color: unset
130
130
  ),
131
131
  no-border: (
132
- border: unset,
132
+ border: unset
133
133
  ),
134
134
  no-radius: (
135
- border-radius: unset,
135
+ border-radius: unset
136
136
  ),
137
137
  no-events: (
138
- pointer-events: none,
138
+ pointer-events: none
139
139
  ),
140
140
  no-position: (
141
- position: unset,
142
- ),
141
+ position: unset
142
+ )
143
143
  );
144
144
 
145
145
  // Defines available position values.
@@ -158,7 +158,7 @@ $spacesDirections: (
158
158
  'max#{\:}w': max-width,
159
159
  'h': height,
160
160
  'min#{\:}h': min-height,
161
- 'max#{\:}h': max-height,
161
+ 'max#{\:}h': max-height
162
162
  );
163
163
 
164
164
  // Defines properties for padding, margin and gap utilities.
@@ -179,7 +179,7 @@ $gutters: (
179
179
  mb: margin-block-end,
180
180
  g: gap,
181
181
  gx: column-gap,
182
- gy: row-gap,
182
+ gy: row-gap
183
183
  );
184
184
 
185
185
  // Defines border direction properties.
@@ -188,42 +188,42 @@ $bordersDirections: (
188
188
  'top': border-block-start,
189
189
  'bottom': border-block-end,
190
190
  'start': border-inline-start,
191
- 'end': border-inline-end,
191
+ 'end': border-inline-end
192
192
  );
193
193
 
194
194
  // Defines border-radius direction properties.
195
195
  $radiusDirection: (
196
196
  null: (
197
- border-radius,
197
+ border-radius
198
198
  ),
199
199
  'top': (
200
200
  border-start-start-radius,
201
- border-start-end-radius,
201
+ border-start-end-radius
202
202
  ),
203
203
  'bottom': (
204
204
  border-end-start-radius,
205
- border-end-end-radius,
205
+ border-end-end-radius
206
206
  ),
207
207
  'start': (
208
208
  border-start-start-radius,
209
- border-end-start-radius,
209
+ border-end-start-radius
210
210
  ),
211
211
  'end': (
212
212
  border-start-end-radius,
213
- border-end-end-radius,
213
+ border-end-end-radius
214
214
  ),
215
215
  'top-start': (
216
- border-start-start-radius,
216
+ border-start-start-radius
217
217
  ),
218
218
  'top-end': (
219
- border-start-end-radius,
219
+ border-start-end-radius
220
220
  ),
221
221
  'bottom-start': (
222
- border-end-start-radius,
222
+ border-end-start-radius
223
223
  ),
224
224
  'bottom-end': (
225
- border-end-end-radius,
226
- ),
225
+ border-end-end-radius
226
+ )
227
227
  );
228
228
 
229
229
  $justify: (
@@ -234,13 +234,13 @@ $justify: (
234
234
  end,
235
235
  between,
236
236
  around,
237
- evenly,
237
+ evenly
238
238
  ),
239
239
  self: (
240
240
  auto,
241
241
  center,
242
- stretch,
243
- ),
242
+ stretch
243
+ )
244
244
  ),
245
245
  align: (
246
246
  content: (
@@ -249,14 +249,14 @@ $justify: (
249
249
  end,
250
250
  around,
251
251
  between,
252
- stretch,
252
+ stretch
253
253
  ),
254
254
  items: (
255
255
  start,
256
256
  center,
257
257
  end,
258
258
  stretch,
259
- baseline,
259
+ baseline
260
260
  ),
261
261
  self: (
262
262
  auto,
@@ -264,7 +264,7 @@ $justify: (
264
264
  center,
265
265
  end,
266
266
  stretch,
267
- baseline,
268
- ),
269
- ),
267
+ baseline
268
+ )
269
+ )
270
270
  );
@@ -11,64 +11,64 @@
11
11
  $colors: (
12
12
  'main': (
13
13
  'light': #ffffff,
14
- 'dark': #1a1d21,
14
+ 'dark': #1a1d21
15
15
  ),
16
16
  'second': (
17
17
  'light': #f8f8ff,
18
- 'dark': #2e2e3f,
18
+ 'dark': #2e2e3f
19
19
  ),
20
20
  'third': (
21
21
  'light': #ebecf7,
22
- 'dark': #39394a,
22
+ 'dark': #39394a
23
23
  ),
24
24
  't1': (
25
25
  'light': #303030,
26
- 'dark': #fafafa,
26
+ 'dark': #fafafa
27
27
  ),
28
28
  't2': (
29
29
  'light': #404040,
30
- 'dark': #f5f5f5,
30
+ 'dark': #f5f5f5
31
31
  ),
32
32
  't3': (
33
33
  'light': #404040,
34
- 'dark': #f5f5f5,
34
+ 'dark': #f5f5f5
35
35
  ),
36
36
  'd1': (
37
37
  'light': #505050,
38
- 'dark': #dfdfdf,
38
+ 'dark': #dfdfdf
39
39
  ),
40
40
  'd2': (
41
41
  'light': #808080,
42
- 'dark': #bdbdbd,
42
+ 'dark': #bdbdbd
43
43
  ),
44
44
  'd3': (
45
45
  'light': #909090,
46
- 'dark': #9e9e9e,
46
+ 'dark': #9e9e9e
47
47
  ),
48
48
  'success': (
49
49
  'light': #099750,
50
- 'dark': #5ff2a9,
50
+ 'dark': #5ff2a9
51
51
  ),
52
52
  'primary': (
53
53
  'light': #2a6e9f,
54
- 'dark': #89c5f0,
54
+ 'dark': #89c5f0
55
55
  ),
56
56
  'secondary': (
57
57
  'light': #545454,
58
- 'dark': #c6c3c3,
58
+ 'dark': #c6c3c3
59
59
  ),
60
60
  'danger': (
61
61
  'light': #b5333b,
62
- 'dark': #ee6b74,
62
+ 'dark': #ee6b74
63
63
  ),
64
64
  'warning': (
65
65
  'light': #ca9420,
66
- 'dark': #fcd06f,
66
+ 'dark': #fcd06f
67
67
  ),
68
68
  'info': (
69
69
  'light': #0c8181,
70
- 'dark': #49d1d1,
71
- ),
70
+ 'dark': #49d1d1
71
+ )
72
72
  ) !default;
73
73
 
74
74
  // Typography
@@ -82,12 +82,7 @@ $fontStyles: ('normal') !default;
82
82
  $textTruncate: (1, 2, 3) !default;
83
83
 
84
84
  // Defines the default font stack.
85
- $defaultFontFamilies:
86
- system-ui,
87
- -apple-system,
88
- Roboto,
89
- Arial,
90
- sans-serif !default;
85
+ $defaultFontFamilies: system-ui, Arial, sans-serif !default;
91
86
 
92
87
  // Defines the typography scale for font sizes.
93
88
  $fontSizes: (
@@ -103,7 +98,7 @@ $fontSizes: (
103
98
  'body2': 14px,
104
99
  'button': 14px,
105
100
  'caption': 12px,
106
- 'overline': 10px,
101
+ 'overline': 10px
107
102
  ) !default;
108
103
 
109
104
  // Font families map with language variants, unicode ranges and font weights
@@ -135,7 +130,7 @@ $breakpoints: (
135
130
  md: 768px,
136
131
  lg: 992px,
137
132
  xl: 1200px,
138
- xxl: 1400px,
133
+ xxl: 1400px
139
134
  ) !default;
140
135
 
141
136
  // Defines container max-widths and padding at different breakpoints.
@@ -145,7 +140,7 @@ $wrappers: (
145
140
  md: 720px 3rem,
146
141
  lg: 960px 3rem,
147
142
  xl: 1140px 2rem,
148
- xxl: 1320px 2rem,
143
+ xxl: 1320px 2rem
149
144
  ) !default;
150
145
 
151
146
  // Defines the number of columns/rows in the grid system.
@@ -159,7 +154,7 @@ $guttersValues: (
159
154
  3: 0.75rem,
160
155
  4: 1rem,
161
156
  5: 1.5rem,
162
- 6: 2rem,
157
+ 6: 2rem
163
158
  ) !default;
164
159
 
165
160
  // Defines available opacity values.
@@ -182,19 +177,19 @@ $glassBlur: 8px !default;
182
177
  // Glassmorphism color settings for light and dark modes
183
178
  $glassColor: (
184
179
  'light': #ffffff,
185
- 'dark': #000000,
180
+ 'dark': #000000
186
181
  ) !default;
187
182
  // Glassmorphism border thickness
188
183
  $glassBorderThickness: 1px !default;
189
184
  // Glassmorphism border 1 settings for light and dark modes
190
185
  $glassBorder1Color: (
191
186
  'light': #e6e6e6,
192
- 'dark': #303030,
187
+ 'dark': #303030
193
188
  ) !default;
194
189
  // Glassmorphism border 2 settings for light and dark modes
195
190
  $glassBorder2Color: (
196
191
  'light': #e6e6e6,
197
- 'dark': #303030,
192
+ 'dark': #303030
198
193
  ) !default;
199
194
  // Glassmorphism light angle
200
195
  $glassLightAngle: 45deg !default;
@@ -203,12 +198,12 @@ $glassLightAngle: 45deg !default;
203
198
  // Loader main color settings for light and dark modes
204
199
  $loaderColorMain: (
205
200
  'light': #ffffff,
206
- 'dark': #1a1d21,
201
+ 'dark': #1a1d21
207
202
  ) !default;
208
203
  // Loader second color settings for light and dark modes
209
204
  $loaderColorSecond: (
210
205
  'light': #f4f4f4,
211
- 'dark': #2e2e3f,
206
+ 'dark': #2e2e3f
212
207
  ) !default;
213
208
  // Loader duration
214
209
  $loaderDuration: 2s !default;
@@ -1,7 +1,9 @@
1
1
  $corners: (
2
2
  'rounded': 0.25rem,
3
+ 'big-rounded': 0.75rem,
3
4
  'circle': 100vw,
4
5
  'sharp': 0,
6
+ 'full': 100vw
5
7
  ) !default;
6
8
 
7
9
  button {
@@ -13,7 +15,7 @@ button {
13
15
  position: relative;
14
16
  isolation: isolate;
15
17
  appearance: none;
16
- display: flex;
18
+ display: inline-flex;
17
19
  flex-wrap: nowrap;
18
20
  cursor: pointer;
19
21
  transition: 250ms ease-in-out;
@@ -24,7 +26,7 @@ button {
24
26
  &:not([class*='align-items:']) {
25
27
  align-items: center;
26
28
  }
27
- &:not([class*='text-start'], [class*='text-left'], [class*='text-end'], [class*='text-right']) {
29
+ &:not([class*='text-start']):not([class*='text-left']):not([class*='text-end']):not([class*='text-right']) {
28
30
  text-align: center;
29
31
  }
30
32
  &:not([class*='border:']) {
@@ -78,15 +80,15 @@ button {
78
80
  &:is(:focus-visible, :hover) {
79
81
  transform: translateY(-0.1em);
80
82
 
81
- &:is(.text-variant) {
82
- text-shadow: 0 0.05em rgba(0, 0, 0, 0.4);
83
+ &:is(.btn-text) {
84
+ text-shadow: 0 0.05em rgb(0, 0, 0, 0.4);
83
85
  }
84
86
 
85
- &:not(.text-variant) {
86
- box-shadow: 0 0.15em 0.15em rgba(0, 0, 0, 0.4);
87
+ &:not(.btn-text) {
88
+ box-shadow: 0 0.15em 0.15em rgb(0, 0, 0, 0.4);
87
89
 
88
90
  &::before {
89
- background-color: rgba(0, 0, 0, 0.15);
91
+ background-color: rgb(0, 0, 0, 0.15);
90
92
  opacity: 1;
91
93
  }
92
94
  }
@@ -7,10 +7,18 @@
7
7
  @use '../settings/index' as settings;
8
8
 
9
9
  // Definitions
10
- $useColors: if(vars.$useColors != null, vars.$useColors, settings.$useColors);
11
- $colors: if(vars.$colors != (), vars.$colors, defs.$colors);
12
- $useCurrentColors: if(vars.$useCurrentColors != null, vars.$useCurrentColors, settings.$useCurrentColors);
13
- $useRootColors: if(vars.$useRootColors != null, vars.$useRootColors, settings.$useRootColors);
10
+ $useColors: if(
11
+ sass(vars.$useColors != null): vars.$useColors; else: settings.$useColors
12
+ );
13
+ $colors: if(
14
+ sass(vars.$colors != null): vars.$colors; else: defs.$colors
15
+ );
16
+ $useCurrentColors: if(
17
+ sass(vars.$useCurrentColors != null): vars.$useCurrentColors; else: settings.$useCurrentColors
18
+ );
19
+ $useRootColors: if(
20
+ sass(vars.$useRootColors != null): vars.$useRootColors; else: settings.$useRootColors
21
+ );
14
22
 
15
23
  // Colors System Module
16
24
  // --------------------------
@@ -80,7 +88,9 @@ $useRootColors: if(vars.$useRootColors != null, vars.$useRootColors, settings.$u
80
88
  // This text uses currentColor and background changes to currentColor on hover
81
89
  // </div>
82
90
  @each $class, $property in configs.$colorsPropertiesMap {
83
- $mainClass: if($class, '#{$class}#{\:}current-color', 'current-color');
91
+ $mainClass: if(
92
+ sass($class): '#{$class}#{\:}current-color' ; else: 'current-color'
93
+ );
84
94
 
85
95
  .#{$mainClass} {
86
96
  #{$property}: currentColor;
@@ -2,96 +2,97 @@
2
2
  @use '../variables' as vars;
3
3
 
4
4
  // Definitions
5
- $useLoader: if(vars.$useLoader != null, vars.$useLoader, settings.$useLoader);
6
-
5
+ $useLoader: if(
6
+ sass(vars.$useLoader != null): vars.$useLoader; else: settings.$useLoader
7
+ );
7
8
 
8
9
  $dialogInline: (
9
10
  height: 100dvh,
10
- transition: all 300ms ease-in-out,
11
+ transition: all 300ms ease-in-out
11
12
  );
12
13
 
13
14
  $dialogBlock: (
14
15
  transform: translateX(-50%),
15
16
  max-width: 95%,
16
17
  max-height: 95%,
17
- transition: all 300ms ease-in-out,
18
+ transition: all 300ms ease-in-out
18
19
  );
19
20
 
20
21
  $dialogCenter: (
21
22
  transform: translate(-50%, -50%),
22
23
  max-width: 95%,
23
24
  max-height: 95%,
24
- transition: all 300ms cubic-bezier(0, 2.5, 1, 1),
25
+ transition: all 300ms cubic-bezier(0, 2.5, 1, 1)
25
26
  );
26
27
 
27
28
  $dialogPositions: (
28
29
  'top': (
29
30
  origin: (
30
31
  top: -150%,
31
- left: 50%,
32
+ left: 50%
32
33
  ),
33
34
  active: (
34
- top: 2.5%,
35
- ),
35
+ top: 2.5%
36
+ )
36
37
  ),
37
38
  'bottom': (
38
39
  origin: (
39
40
  bottom: -150%,
40
- left: 50%,
41
+ left: 50%
41
42
  ),
42
43
  active: (
43
- bottom: 2.5%,
44
- ),
44
+ bottom: 2.5%
45
+ )
45
46
  ),
46
47
  'left': (
47
48
  origin: (
48
49
  top: 0,
49
50
  left: -100%,
50
- right: unset,
51
+ right: unset
51
52
  ),
52
53
  active: (
53
- left: 0,
54
- ),
54
+ left: 0
55
+ )
55
56
  ),
56
57
  'start': (
57
58
  origin: (
58
59
  top: 0,
59
60
  inset-inline-start: -100%,
60
- inset-inline-end: unset,
61
+ inset-inline-end: unset
61
62
  ),
62
63
  active: (
63
- inset-inline-start: 0,
64
- ),
64
+ inset-inline-start: 0
65
+ )
65
66
  ),
66
67
  'right': (
67
68
  origin: (
68
69
  top: 0,
69
70
  right: -100%,
70
- left: unset,
71
+ left: unset
71
72
  ),
72
73
  active: (
73
- right: 0,
74
- ),
74
+ right: 0
75
+ )
75
76
  ),
76
77
  'end': (
77
78
  origin: (
78
79
  top: 0,
79
80
  inset-inline-end: -100%,
80
- inset-inline-start: unset,
81
+ inset-inline-start: unset
81
82
  ),
82
83
  active: (
83
- inset-inline-end: 0,
84
- ),
84
+ inset-inline-end: 0
85
+ )
85
86
  ),
86
87
  'center': (
87
88
  origin: (
88
89
  top: 150%,
89
- left: 50%,
90
+ left: 50%
90
91
  ),
91
92
  active: (
92
- top: 50%,
93
- ),
94
- ),
93
+ top: 50%
94
+ )
95
+ )
95
96
  );
96
97
 
97
98
  .dialog {
@@ -5,15 +5,33 @@
5
5
  @use '../variables' as vars;
6
6
 
7
7
  // Definitions
8
- $useGlass: if(vars.$useGlass != null, vars.$useGlass, settings.$useGlass);
9
- $useColorsLightMode: if(vars.$useColorsLightMode != null, vars.$useColorsLightMode, settings.$useColorsLightMode);
10
- $useColorsDarkMode: if(vars.$useColorsDarkMode != null, vars.$useColorsDarkMode, settings.$useColorsDarkMode);
11
- $glassBlur: if(vars.$glassBlur != null, vars.$glassBlur, defs.$glassBlur);
12
- $glassColor: if(vars.$glassColor != null, vars.$glassColor, defs.$glassColor);
13
- $glassBorderThickness: if(vars.$glassBorderThickness != null, vars.$glassBorderThickness, defs.$glassBorderThickness);
14
- $glassBorder1Color: if(vars.$glassBorder1Color != null, vars.$glassBorder1Color, defs.$glassBorder1Color);
15
- $glassBorder2Color: if(vars.$glassBorder2Color != null, vars.$glassBorder2Color, defs.$glassBorder2Color);
16
- $glassLightAngle: if(vars.$glassLightAngle != null, vars.$glassLightAngle, defs.$glassLightAngle);
8
+ $useGlass: if(
9
+ sass(vars.$useGlass != null): vars.$useGlass; else: settings.$useGlass
10
+ );
11
+ $useColorsLightMode: if(
12
+ sass(vars.$useColorsLightMode != null): vars.$useColorsLightMode; else: settings.$useColorsLightMode
13
+ );
14
+ $useColorsDarkMode: if(
15
+ sass(vars.$useColorsDarkMode != null): vars.$useColorsDarkMode; else: settings.$useColorsDarkMode
16
+ );
17
+ $glassBlur: if(
18
+ sass(vars.$glassBlur != null): vars.$glassBlur; else: defs.$glassBlur
19
+ );
20
+ $glassColor: if(
21
+ sass(vars.$glassColor != null): vars.$glassColor; else: defs.$glassColor
22
+ );
23
+ $glassBorderThickness: if(
24
+ sass(vars.$glassBorderThickness != null): vars.$glassBorderThickness; else: defs.$glassBorderThickness
25
+ );
26
+ $glassBorder1Color: if(
27
+ sass(vars.$glassBorder1Color != null): vars.$glassBorder1Color; else: defs.$glassBorder1Color
28
+ );
29
+ $glassBorder2Color: if(
30
+ sass(vars.$glassBorder2Color != null): vars.$glassBorder2Color; else: defs.$glassBorder2Color
31
+ );
32
+ $glassLightAngle: if(
33
+ sass(vars.$glassLightAngle != null): vars.$glassLightAngle; else: defs.$glassLightAngle
34
+ );
17
35
 
18
36
  @if $useGlass {
19
37
  $glassColorLight: colors.hexToRgba(map.get($glassColor, 'light'), 0.15, 'Glass.light');