$brand-red: #ea433a;
$brand-gold: #cc9300;
$brand-magenta: #b327bf;
$brand-blue: #66f;
$brand-green: #00bf9a;

$spacing-base: 10px;
$spacing-half: math.div($spacing-base, 2);
$spacing-one-quarter: math.div($spacing-base, 4);
$spacing-three-quarters: $spacing-one-quarter * 3;
$spacing-double: $spacing-base * 2;
$spacing-triple: $spacing-base * 3;
$spacing-quadruple: $spacing-base * 4;

$input-padding: $spacing-base * 1.5;
$boolean-padding: $spacing-double;

$input-color-disabled: var(--a-base-4);

@mixin apos-primary-mixin($color) {
  --a-primary: #{$color};
  --a-primary-transparent-90: #{color.adjust($color, $alpha: -0.1)};
  --a-primary-transparent-25: #{color.adjust($color, $alpha: -0.75)};
  --a-primary-transparent-50: #{color.adjust($color, $alpha: -0.5)};
  --a-primary-transparent-15: #{color.adjust($color, $alpha: -0.85)};
  --a-primary-transparent-10: #{color.adjust($color, $alpha: -0.9)};
  --a-primary-transparent-05: #{color.adjust($color, $alpha: -0.95)};
  --a-primary-dark-10: #{color.mix(#000, $color, 10%)};
  --a-primary-dark-15: #{color.mix(#000, $color, 15%)};
  --a-primary-light-40: #{color.mix(#fff, $color, 40%)};
}

//Application Styles

@mixin type-base {
  & {
    color: var(--a-text-primary);
    font-family: var(--a-family-default);
    font-size: var(--a-type-base);
    font-weight: var(--a-weight-base);
    letter-spacing: var(--a-letter-base);
    line-height: var(--a-line-base);
  }
}

@mixin type-help {
  @include type-base;

  & {
    font-size: var(--a-type-small);
    text-transform: uppercase;
  }
}

@mixin type-small {
  @include type-base;

  & {
    font-size: var(--a-type-small);
    line-height: var(--a-line-tall);
  }
}

@mixin type-label {
  @include type-base;

  & {
    font-size: var(--a-type-label);
    line-height: var(--a-line-tall);
  }
}

@mixin type-large {
  @include type-base;

  & {
    font-size: var(--a-type-large);
    line-height: var(--a-line-tall);
  }
}

@mixin type-title {
  @include type-base;

  & {
    font-size: var(--a-type-heading);
    line-height: var(--a-line-tall);
  }
}

@mixin type-display {
  @include type-base;

  & {
    font-size: var(--a-type-display);
  }
}
