@import '../../settings/settings-global';


@mixin font-style($fs-map, $fs-breakpoints: $breakpoints) {
  @each $fs-breakpoint, $fs-font-style in $fs-map {
    @if $fs-breakpoint == null {
      @include make-font-style($fs-font-style);
    }
    @else {
      @if map-has-key($fs-breakpoints, $fs-breakpoint) {
        $fs-breakpoint: map-get($fs-breakpoints, $fs-breakpoint);
      }
      @media screen and (min-width: $fs-breakpoint) {
        @include make-font-style($fs-font-style);
      }
    }
  }
}
@mixin make-font-style($fs-font-style) {
  @if type-of($fs-font-style) == "list" {
    font-size: nth($fs-font-style, 1);
    @if (length($fs-font-style) > 1) {
      font-weight: nth($fs-font-style, 2);
    }
    @if (length($fs-font-style) > 2) {
      line-height: nth($fs-font-style, 3);
    }
    @if (length($fs-font-style) > 3) {
      padding-bottom: nth($fs-font-style, 4);
    }

  }
  @else {
    font-style: $fs-font-style;
  }
}

 
$heading-preset-1-font-styles: (
  mobile: ($font-size-32, $font-weight-900, $line-height-42, $padding-bottom-16),
  tablet: ($font-size-40, $font-weight-900, $line-height-48, $padding-bottom-16),
  desktop: ($font-size-48, $font-weight-900, $line-height-58, $padding-bottom-16)

);

$heading-preset-2-font-styles: (
  mobile: ($font-size-26, $font-weight-900, $line-height-30, $padding-bottom-16),
  tablet: ($font-size-32, $font-weight-900, $line-height-40, $padding-bottom-16),
  desktop: ($font-size-40, $font-weight-900, $line-height-50, $padding-bottom-16)

);

$heading-preset-3-font-styles: (
  mobile: ($font-size-24, $font-weight-900, $line-height-28, $padding-bottom-16),
  tablet: ($font-size-28, $font-weight-900, $line-height-34, $padding-bottom-16),
  desktop: ($font-size-32, $font-weight-900, $line-height-42, $padding-bottom-16)

);

$heading-preset-4-font-styles: (
  mobile: ($font-size-22, $font-weight-900, $line-height-26, $padding-bottom-16),
 tablet: ($font-size-22, $font-weight-900, $line-height-30, $padding-bottom-16),
  desktop: ($font-size-28, $font-weight-900, $line-height-38, $padding-bottom-16)
);

$heading-preset-5-font-styles: (
  mobile: ($font-size-20, $font-weight-900, $line-height-26, $padding-bottom-16),
  tablet: ($font-size-22, $font-weight-900, $line-height-28, $padding-bottom-16),
  desktop: ($font-size-22, $font-weight-900, $line-height-30, $padding-bottom-16)
);


$heading-preset-6-font-styles: (
 mobile: ($font-size-18, $font-weight-900, $line-height-26, $padding-bottom-16),
 tablet: ($font-size-18, $font-weight-900, $line-height-26, $padding-bottom-16),
  desktop: ($font-size-18, $font-weight-900, $line-height-26, $padding-bottom-16)

);




$button-preset-1-font-styles: (
  desktop: ($font-size-14, $font-weight-900, $line-height-18, $padding-bottom-16)
);

$p-font-styles-preset-1: (
    mobile: ($font-size-16, $font-weight-500, $line-height-22, $padding-bottom-16),
    tablet: ($font-size-16, $font-weight-500, $line-height-22, $padding-bottom-16),
    desktop: ($font-size-16, $font-weight-500, $line-height-22, $padding-bottom-16)
);





$label-font-styles-preset-1: (
 
  high: ($font-size-16, $font-weight-500, $line-height-18)
),
// lists



