Sha256: 5447a44958ff95ff9d7472a009272c88ec96686909a34ac0cb1ba59fd820379f

Contents?: true

Size: 409 Bytes

Versions: 9

Compression:

Stored size: 409 Bytes

Contents

@mixin text-emphasis-variant($parent, $color) {
  #{$parent} {
    color: $color !important;
  }

  @if $emphasized-link-hover-darken-percentage != 0 {
    a#{$parent} {
      &:hover,
      &:focus {
        color: darken($color, $emphasized-link-hover-darken-percentage) !important;
      }
    }
  }
}

@each $color, $value in $theme-colors {
  @include text-emphasis-variant(".text-#{$color}", $value);
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
trestle-0.9.8 frontend/theme/trestle/theme/bootstrap/utilities/_text.scss
trestle-0.9.7 frontend/theme/trestle/theme/bootstrap/utilities/_text.scss
trestle-0.9.6 frontend/theme/trestle/theme/bootstrap/utilities/_text.scss
trestle-0.9.5 frontend/theme/trestle/theme/bootstrap/utilities/_text.scss
trestle-0.9.4 frontend/theme/trestle/theme/bootstrap/utilities/_text.scss
trestle-0.9.3 frontend/theme/trestle/theme/bootstrap/utilities/_text.scss
trestle-0.9.2 frontend/theme/trestle/theme/bootstrap/utilities/_text.scss
trestle-0.9.1 frontend/theme/trestle/theme/bootstrap/utilities/_text.scss
trestle-0.9.0 frontend/theme/trestle/theme/bootstrap/utilities/_text.scss