Sha256: 26e733ff8d9cfeb0eda4fd9b5acc45b7e18cd84dc557c6e38d5da50ee36b592c

Contents?: true

Size: 1.76 KB

Versions: 5

Compression:

Stored size: 1.76 KB

Contents

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

@if should-register-component($STYLEGUIDE_HEADLINES_ID) {
$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
  ),
  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: null,
  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)
  ),
  in $STYLEGUIDE_BRISTOLS_ID: (
    inherit:              in dark
  ),
  in a $STYLEGUIDE_TOOLTIPS_ID: (
    inherit:              in dark
  ),
  in a $STYLEGUIDE_ALERTS_ID: (
    inherit:              in dark
  ),
  in $STYLEGUIDE_PUNCHCUTS_ID: (
    inherit:              in dark,
    text-shadow:          nth-cyclic($CONFIG_SHADOW_COPY, 2)
  )
)) !global;
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
archetype-theme-1.0.0.alpha.5 stylesheets/archetype/theme/components/_headlines.scss
archetype-theme-1.0.0.alpha.4 stylesheets/archetype/theme/components/_headlines.scss
archetype-theme-1.0.0.alpha.3 stylesheets/archetype/theme/components/_headlines.scss
archetype-theme-1.0.0.alpha.2 stylesheets/archetype/theme/components/_headlines.scss
archetype-theme-1.0.0.alpha.1 /Users/eoneill/workspace/archetype/extensions/archetype-theme/stylesheets/archetype/theme/components/_headlines.scss