Sha256: f0e6e16eee731d02e586f57b0af2d3f9b5a9c0a48f934ab6a711caa20ea3bc81

Contents?: true

Size: 1.45 KB

Versions: 10

Compression:

Stored size: 1.45 KB

Contents

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

@if not styleguide-component-exists($STYLEGUIDE_LINKS_ID, $CONFIG_THEME) {
$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),
        nil
      )),
      nil
    ))
  )),
  (without-underline, (
    (states, (
      (hover, (
        text-decoration     none,
        nil
      )),
      nil
    )),
    nil
  )),
  (in-dark, (
    color                   nth-cyclic($CONFIG_COLOR_BRAND, 2),
    nil
  )),
  (in-punchcut, (
    inherit (in-dark),
    nil
  )),
  (in-bristol, (
    inherit (in-dark),
    nil
  )),
  (in-alert, (
    color                   nth-cyclic($CONFIG_COLOR_COPY, 2),
    font-weight             bold,
    (states, (
      (hover, (
        color               nil,
        nil
      )),
      nil
    ))
  )),
  (muted, (
    // de-emphasized links have no color until you hover over them
    color                   nil,
    (states, (
      (hover, (
        color               nth($CONFIG_COLOR_BRAND, 1),
        cursor              pointer,
        target-browser      (ie, cursor, hand),
        text-decoration     none
      )),
      nil
    ))
  )),
  nil
), $CONFIG_THEME);
}

Version data entries

10 entries across 10 versions & 1 rubygems

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