Sha256: 5756f167e08423479a2478c0b4732e97b2d542dfe50061d78576cb2cf758fbc6
Contents?: true
Size: 1.32 KB
Versions: 69
Compression:
Stored size: 1.32 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: darken($primary_action, 10%); } &.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: darken($primary_action, 10%); } } } @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: darken($primary_action, 10%); } } } &[class*=_underline] { text-decoration: underline; } &[class*=_disabled] { pointer-events: none; cursor: default; color: $text_lt_lighter; } }
Version data entries
69 entries across 69 versions & 1 rubygems