Sha256: a07f9afdb13e0758827f8c02c45c3171d59f3d9766d0593aeb952ea1dd00a680

Contents?: true

Size: 687 Bytes

Versions: 5

Compression:

Stored size: 687 Bytes

Contents

// @page Pattern Library/Components
// @name Anchor links
//
// @description
//   Anchor tag styling, with and without a border.
//
// @state .us-link - Adds a border bottom to the link.
// @state .us-link--light - Changes the link colours to white for when links are placed on dark backgrounds.
//
// @markup
//   <a href="#" class="{$modifiers}">Link</a>

%anchor-link {
  text-decoration: underline;
}

a,
.us-link {
  @extend %anchor-link;
  @include link-colors($c-uswitch-navy, $c-darker-grey, $c-uswitch-navy, $c-uswitch-navy, $c-uswitch-navy);
  transition: color 333ms;
}

.us-link--light {
  @include link-colors($c-white, $c-super-light-grey, $c-white, $c-white, $c-white);
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
reustyle-2.0.11 vendor/assets/stylesheets/reustyle/components/_links.scss
reustyle-2.0.10 vendor/assets/stylesheets/ustyle/components/_links.scss
reustyle-2.0.9 vendor/assets/stylesheets/ustyle/components/_links.scss
reustyle-2.0.8 vendor/assets/stylesheets/ustyle/components/_links.scss
reustyle-2.0.7 vendor/assets/stylesheets/ustyle/components/_links.scss