/// Height of a `<meter>` element.
/// @type Length
-$meter-height: $progress-height !default;
+$meter-height: 1rem !default;
/// Border radius of a `<meter>` element.
/// @type Length
-$meter-radius: $progress-radius !default;
+$meter-radius: $global-radius !default;
/// Background color of a `<meter>` element.
/// @type Color
-$meter-background: $progress-background !default;
+$meter-background: $medium-gray !default;
/// Meter fill for an optimal value in a `<meter>` element.
/// @type Color
$global-flexbox: true;
$print-transparent-backgrounds: true;
+@include add-foundation-colors();
+
// 2. Breakpoints
// --------------
// 23. Meter
// ---------
-$meter-height: $progress-height;
-$meter-radius: $progress-radius;
-$meter-background: $progress-background;
+$meter-height: 1rem;
+$meter-radius: $global-radius;
+$meter-background: $medium-gray;
$meter-fill-good: $success-color;
$meter-fill-medium: $warning-color;
$meter-fill-bad: $alert-color;
// 29. Slider
// ----------
-$slider-width-vertical: $slider-height;
+$slider-width-vertical: 0.5rem;
$slider-transition: all 0.2s ease-in-out;
$slider-height: 0.5rem;
$slider-background: $light-gray;
$topbar-title-spacing: 1rem;
$topbar-input-width: 200px;
$topbar-unstack-breakpoint: medium;
-
}
@return scale-color($color, $lightness: $scale);
}
+
+@mixin add-foundation-colors() {
+ @if map-has-key($foundation-palette, primary) {
+ $primary-color: map-get($foundation-palette, primary) !global;
+ }
+ @if map-has-key($foundation-palette, secondary) {
+ $secondary-color: map-get($foundation-palette, secondary) !global;
+ }
+ @if map-has-key($foundation-palette, success) {
+ $success-color: map-get($foundation-palette, success) !global;
+ }
+ @if map-has-key($foundation-palette, warning) {
+ $warning-color: map-get($foundation-palette, warning) !global;
+ }
+ @if map-has-key($foundation-palette, alert) {
+ $alert-color: map-get($foundation-palette, alert) !global;
+ }
+}