Sha256: ae44cb0c2aad23a8016253189381e582a336feb25925f4d5bbcbbb28110c10dd

Contents?: true

Size: 1.69 KB

Versions: 7

Compression:

Stored size: 1.69 KB

Contents

// ==========
// HEADLINES
// ==========
$STYLEGUIDE_HEADLINES_ID: headline !default;
$STYLEGUIDE_HEADLINES: () !default;

@if not styleguide-component-exists($STYLEGUIDE_HEADLINES_ID, $CONFIG_THEME) {
$a-blackhole: styleguide-add-component($STYLEGUIDE_HEADLINES_ID,  $STYLEGUIDE_HEADLINES, (
  (default, (
    font-size           nth($CONFIG_FONT_HEADLINE_LARGE, 1),
    font-weight         bold,
    line-height         nth-cyclic($CONFIG_FONT_HEADLINE_LARGE, 2),
    color               nth($CONFIG_COLOR_STRONG, 1)
  )),
  (muted, (
    font-weight         normal,
    nil
  )),
  (xlarge, (
    font-size           nth($CONFIG_FONT_HEADLINE_XLARGE, 1),
    line-height         nth-cyclic($CONFIG_FONT_HEADLINE_XLARGE, 2)
  )),
  (xxlarge, (
    font-size           nth($CONFIG_FONT_HEADLINE_XXLARGE, 1),
    line-height         nth-cyclic($CONFIG_FONT_HEADLINE_XXLARGE, 2)
  )),
  (large, (
    nil
  )),
  (medium, (
    font-size           nth($CONFIG_FONT_HEADLINE_MEDIUM, 1),
    line-height         nth-cyclic($CONFIG_FONT_HEADLINE_MEDIUM, 2)
  )),
  (small, (
    font-size           nth($CONFIG_FONT_HEADLINE_SMALL, 1),
    line-height         nth-cyclic($CONFIG_FONT_HEADLINE_SMALL, 2)
  )),
  (xsmall, (
    font-size           nth($CONFIG_FONT_HEADLINE_XSMALL, 1),
    line-height         nth-cyclic($CONFIG_FONT_HEADLINE_XSMALL, 2)
  )),
  (in-dark, (
    color               nth-cyclic($CONFIG_COLOR_STRONG, 2),
    nil
  )),
  (in-bristol, (
    inherit (in-dark),
    nil
  )),
  (in-tooltip, (
    inherit (in-dark),
    nil
  )),
  (in-alert, (
    inherit (in-dark),
    nil
  )),
  (in-punchcut, (
    inherit (in-dark),
    text-shadow         nth-cyclic($CONFIG_SHADOW_COPY, 2)
  ))
), $CONFIG_THEME);
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
archetype-0.0.1.pre.3.90263a7 stylesheets/archetype/styleguide/components/_headlines.scss
archetype-0.0.1.pre.3.6ed259b stylesheets/archetype/styleguide/components/_headlines.scss
archetype-0.0.1.pre.3.f9dde24 stylesheets/archetype/styleguide/components/_headlines.scss
archetype-0.0.1.pre.3.00dfd9a stylesheets/archetype/styleguide/components/_headlines.scss
archetype-0.0.1.pre.3.83f0d7a stylesheets/archetype/styleguide/components/_headlines.scss
archetype-0.0.1.pre.3.55c4182 stylesheets/archetype/styleguide/components/_headlines.scss
archetype-0.0.1.pre.3.811928f stylesheets/archetype/styleguide/components/_headlines.scss