@appartmint/mint 2.1.4 → 2.1.6

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.
@@ -524,14 +524,15 @@ $bootstrap5: false !default;
524
524
  @error 'The break-max mixin requires one or two of the following values: #{map-keys($break)}';
525
525
  }
526
526
 
527
+ $break-max: break($max) - 1px;
527
528
  @if (map.has-key($break, $min)) {
528
- @media (min-width: break($min)) and (max-width: break($max)) {
529
+ @media (min-width: break($min)) and (max-width: $break-max) {
529
530
  @content;
530
531
  }
531
532
  }
532
533
 
533
534
  @else {
534
- @media (max-width: break($max)) {
535
+ @media (max-width: $break-max) {
535
536
  @content;
536
537
  }
537
538
  }
@@ -125,15 +125,6 @@ $image-shadow-size: 0.5rem !default;
125
125
  $link-color: brand-4 !default;
126
126
  $link-color-hover: accent-2 !default;
127
127
 
128
- $menu-bar-height: 0.4rem !default;
129
- $menu-bar-width: $menu-bar-height * 8 !default;
130
- $menu-btn-height: $menu-bar-height * 8 !default;
131
- $menu-btn-padding: $menu-bar-height * 1.5 !default;
132
- $menu-bar-color: fore !default;
133
- $menu-btn-color: shadow-6 !default;
134
- $menu-btn-shadow-color: $shadow-color !default;
135
- $menu-btn-shadow-size: $shadow-size !default;
136
-
137
128
  $btn-radius: $border-radius !default;
138
129
  $btn-fore: fore !default;
139
130
  $btn-fore-alt: $btn-fore !default;
@@ -267,3 +258,15 @@ $amp-font-error: $amp-font-error-default !default;
267
258
  $amp-font-secondary: if($amp-font-secondary != $amp-font-secondary-default, $amp-font-secondary, brand-0);
268
259
  $amp-font-error: if($amp-font-error != $amp-font-error-default, $amp-font-error, danger-4);
269
260
  }
261
+
262
+ /// Menu button
263
+ $menu-bar-height: 0.4rem !default;
264
+ $menu-bar-width: $menu-bar-height * 8 !default;
265
+ $menu-btn-height: $menu-bar-height * 8 !default;
266
+ $menu-btn-padding: $menu-bar-height * 1.5 !default;
267
+ $menu-bar-color: fore !default;
268
+ $menu-bar-color-hover: $header-link-fore-hover !default;
269
+ $menu-btn-color: shadow-6 !default;
270
+ $menu-btn-color-hover: $header-link-back-hover !default;
271
+ $menu-btn-shadow-color: $shadow-color !default;
272
+ $menu-btn-shadow-size: $shadow-size !default;