Sha256: 8060ab73e7e0d8700a81e6cf026e505a855d876c46777b5280bfd04a703ed33a

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

@mixin link-colors($clr, $hover-clr: default, $active-clr: default, $focus-clr: null, $theme: default) {
  @include clickable($clr, null, $hover-clr, null, $active-clr, null, $focus-clr, null, $theme: default);

  // @if $theme == default {
  //   @if $hover-clr == default {
  //     $theme: get-color-theme($clr);
  //   } @else {
  //     $theme: get-color-theme($hover-clr);
  //   }
  // }

  // @if $hover-clr == default {
  //   @if $theme == 'light' {
  //     $hover-clr: darken($clr, 14%);
  //   }
  //   @if $theme == 'dark' {
  //     $hover-clr: lighten($clr, 18%);
  //   }
  // }

  // @if $active-clr == default {
  //   @if $theme == 'light' {
  //     $active-clr: darken($hover-clr, 15%);
  //   }
  //   @if $theme == 'dark' {
  //     $active-clr: lighten($hover-clr, 16%);
  //   }
  // }

  // @if $focus-clr == default {
  //   @if $theme == 'light' {
  //     $focus-clr: $hover-clr;
  //   }
  //   @if $theme == 'dark' {
  //     $focus-clr: $hover-clr;
  //   }
  // }

  // @include plain {
  //   color: $clr;
  //   svg path {
  //     fill: $clr;
  //   }
  // }
  // @include hover {
  //   color: $hover-clr;
  //   svg path {
  //     fill: $hover-clr;
  //   }
  // }
  // @include active {
  //   color: $active-clr;
  //   svg path {
  //     fill: $active-clr;
  //   }
  // }
  // @if $focus-clr {
  //   @include focus {
  //     color: $focus-clr;
  //     svg path {
  //       fill: $focus-clr;
  //     }
  //   }
  // }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-text-theme-2.0.1 _sass/common/classes/_link.scss