Sha256: 7252310cc83e0a2c63ac4c1c7519f8c919b88b377a72b60214d3585ca0b2a22a

Contents?: true

Size: 1.37 KB

Versions: 7

Compression:

Stored size: 1.37 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),
        text-decoration     none
      )),
      nil
    ))
  )),
  nil
), $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/_links.scss
archetype-0.0.1.pre.3.6ed259b stylesheets/archetype/styleguide/components/_links.scss
archetype-0.0.1.pre.3.f9dde24 stylesheets/archetype/styleguide/components/_links.scss
archetype-0.0.1.pre.3.00dfd9a stylesheets/archetype/styleguide/components/_links.scss
archetype-0.0.1.pre.3.83f0d7a stylesheets/archetype/styleguide/components/_links.scss
archetype-0.0.1.pre.3.55c4182 stylesheets/archetype/styleguide/components/_links.scss
archetype-0.0.1.pre.3.811928f stylesheets/archetype/styleguide/components/_links.scss