Sha256: 79295aa7e7dc9331570a0b65c2674467a092d966a8444ec291054739f279a240

Contents?: true

Size: 1.29 KB

Versions: 5

Compression:

Stored size: 1.29 KB

Contents

// ==========
// LINKS
// ==========
$STYLEGUIDE_LINKS_ID: link !default;
$STYLEGUIDE_LINKS: () !default;

@if should-register-component($STYLEGUIDE_LINKS_ID) {
$a-blackhole: styleguide-add-component($STYLEGUIDE_LINKS_ID,  $STYLEGUIDE_LINKS, (
  default: (
    color:                    nth($CONFIG_COLOR_BRAND, 1),
    text-decoration:          nth($CONFIG_DECORATION_LINK, 1),
    states: (
       hover: (
         text-decoration:     nth-cyclic($CONFIG_DECORATION_LINK, 2)
      )
    )
  ),
  without underline: (
    states: (
      hover: (
        text-decoration:      none
      )
    )
  ),
  in dark: (
    color:                    nth-cyclic($CONFIG_COLOR_BRAND, 2)
  ),
  in $STYLEGUIDE_PUNCHCUTS_ID: (
    inherit:                  in dark
  ),
  in $STYLEGUIDE_BRISTOLS_ID: (
    inherit:                  in dark
  ),
  in a $STYLEGUIDE_ALERTS_ID: (
    color:                    nth-cyclic($CONFIG_COLOR_COPY, 2),
    font-weight:              bold,
    states: (
      hover: (
        color:                null
      )
    )
  ),
  muted: (
    // de-emphasized links have no color until you hover over them
    color:                    null,
    states: (
      hover: (
        color:                nth($CONFIG_COLOR_BRAND, 1),
        text-decoration:      none
      )
    )
  )
)) !global;
}

Version data entries

5 entries across 5 versions & 1 rubygems

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