Sha256: 056f30884238d221d072d2eb1a1fda192a4ba6f7c405f8648e6f6f5fb596483e

Contents?: true

Size: 1.1 KB

Versions: 369

Compression:

Stored size: 1.1 KB

Contents

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

$pb_caption_colors: (
  default:        $text_lt_default,
  light:          $text_lt_light,
  link:           $primary,
  lighter:        $text_lt_lighter,
  success:        $text_lt_success_sm,
  error:          $error,
);

$pb_dark_caption_colors: (
  default:        $text_dk_default,
  light:          $text_dk_light,
  link:           $primary,
  success:        $text_dk_success_sm,
  error:          $error,
);


@mixin caption($font_size: $font_smaller, $font_weight: $bold) {
  font-weight: $font_weight;
  color: $text_lt_light;
  text-transform: uppercase;
  font-size: $font_size;
  letter-spacing: $lspace_looser;
}

@mixin caption_color($color: $text_lt_light) {
  color: $color;
}

@mixin caption_lg {
  @include caption($font_large, $regular);
}

@mixin caption_xs {
  @include caption($font_smaller, $regular);
  text-transform: none;
  letter-spacing: unset;
}

@mixin caption_dark {
  color: $text_dk_light;
}
@mixin pb_caption_kit_colors {
  @each $name, $color in $pb_caption_colors {
    &[class*="#{$name}"] {
      color: $color
    }
  }
}

Version data entries

369 entries across 369 versions & 1 rubygems

Version Path
playbook_ui-12.17.0.pre.alpha.lightboxcurrentPhotoIndex582 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-12.17.0 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-12.16.0.pre.alpha.tooltippositionprop566 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-12.16.0.pre.alpha.PLAY693tooltipwrongbg558 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-12.16.0.pre.alpha.PLAY693tooltipwrongbg547 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-12.16.0.pre.alpha.PLAY693tooltipwrongbg532 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-12.16.0.pre.alpha.lightboxcurrentphotoprop531 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-12.16.0.pre.alpha.tiptaptestingpart1528 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-12.16.0 app/pb_kits/playbook/pb_caption/_caption_mixin.scss