Sha256: b347bc5e77f26271dbbd0009dcb13f0bbc64fddeeecb341ccd3edbc727a25675

Contents?: true

Size: 1.26 KB

Versions: 108

Compression:

Stored size: 1.26 KB

Contents

@import "../tokens/colors";
@import "../tokens/line_height";
@import "../tokens/typography";
@import "../tokens/border_radius";

[class^=pb_link_kit]{
  @include pb_link($primary);
  &:hover {
    color: $text_lt_default;
  }
  &:focus {
    outline: none;
  }
  &:focus-visible {
    border-radius: $border_rad_light;
    outline: 1px solid $primary;
    outline-offset: 2px;
  }
  &:visited {
    color: $data_3;
  }
  &.dark  {
    @include pb_link($active_dark);
    &:hover {
      color: $text_dk_default;
    }
  }
  @each $color_name, $color_value in $pb_link_colors {
    &[class*=_#{"" + $color_name}] {
      @include pb_link($color_value);

      &:hover {
        color: map-get($pb_link_hover_colors, $color_name);
      }

      &:visited {
        color: $data_3;
      }
    }
  }

  @each $dark_color_name, $dark_color_value in $pb_dark_link_colors{
    &[class*=_#{$dark_color_name}][class*=dark]{
      @include pb_link($dark_color_value);
      
      &:hover {
        color: map-get($pb_dark_link_hover_colors, $dark_color_name);
      }

      &:visited {
        color: $data_3;
      }
    }
  }

  &[class*=_underline] {
    text-decoration: underline;
  }

  &[class*=_disabled] {
    pointer-events: none;
    cursor: default;
    color: $text_lt_lighter;
  }

}

Version data entries

108 entries across 108 versions & 1 rubygems

Version Path
playbook_ui-14.8.0.pre.alpha.PLAY1615movenegativetoleftofcurrencysign4539 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.9.0.pre.rc.0 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.7.0.pre.alpha.dependabotnpmandyarnfloatinguireact026284532 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.8.0 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.7.0.pre.alpha.revert3916revert3893PBNTR667railstypeaheadformintegration4523 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.8.0.pre.rc.8 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.8.0.pre.rc.7 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.8.0.pre.rc.6 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.8.0.pre.rc.5 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.8.0.pre.rc.4 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.8.0.pre.rc.3 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.7.0.pre.alpha.PBNTR637quickpickdefaultdate4492 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.8.0.pre.rc.2 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.7.0.pre.alpha.spacingquickchange4482 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.7.0.pre.alpha.PBNTR637quickpickdefaultdate4478 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.7.0.pre.alpha.PBNTR667railstypeaheadformintegration4454 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.8.0.pre.rc.1 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.7.0.pre.alpha.dependabotnpmandyarnintltelinput24704448 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.8.0.pre.rc.0 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.7.0 app/pb_kits/playbook/pb_link/_link.scss