Sha256: 46467145f12c24dcc863174fdd75432d9205ef4c311f1267003641fccd548842

Contents?: true

Size: 1.72 KB

Versions: 10

Compression:

Stored size: 1.72 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-family         headline,
    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

10 entries across 10 versions & 1 rubygems

Version Path
archetype-0.0.1.pre.13 stylesheets/archetype/styleguide/components/_headlines.scss
archetype-0.0.1.pre.12 stylesheets/archetype/styleguide/components/_headlines.scss
archetype-0.0.1.pre.11 stylesheets/archetype/styleguide/components/_headlines.scss
archetype-0.0.1.pre.10 stylesheets/archetype/styleguide/components/_headlines.scss
archetype-0.0.1.pre.9 stylesheets/archetype/styleguide/components/_headlines.scss
archetype-0.0.1.pre.8 stylesheets/archetype/styleguide/components/_headlines.scss
archetype-0.0.1.pre.7 stylesheets/archetype/styleguide/components/_headlines.scss
archetype-0.0.1.pre.6 stylesheets/archetype/styleguide/components/_headlines.scss
archetype-0.0.1.pre.5 stylesheets/archetype/styleguide/components/_headlines.scss
archetype-0.0.1.pre.4 stylesheets/archetype/styleguide/components/_headlines.scss