Sha256: b8737123e0db4f16c06540ff2466547ffbc5e8a55e572aa6906c34ad0f79eddd

Contents?: true

Size: 1.08 KB

Versions: 131

Compression:

Stored size: 1.08 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:        $success,
  error:          $error,
);

$pb_dark_caption_colors: (
  default:        $text_dk_default,
  light:          $text_dk_light,
  link:           $primary,
  success:        $success,
  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

131 entries across 131 versions & 1 rubygems

Version Path
playbook_ui-11.12.1.pre.alpha.passphrase1 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.12.1 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.13.0.pre.alpha.fileupload1 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.12.0 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.11.0.pre.alpha.paginate2 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.11.0.pre.alpha.dialog2 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.11.0.pre.alpha.paginate1 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.11.0.pre.alpha.renderer1 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.11.0.pre.alpha.dialog1 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.11.0 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.10.0.pre.alpha.pre.bold1 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.10.0.pre.alpha.pagination1 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.10.0 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.9.0 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.9.0.pre.alpha.fileupload1 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.8.1 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.8.0 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.7.0.pre.alpha.table1 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.7.0 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-11.6.0.pre.alpha.fontawesome app/pb_kits/playbook/pb_caption/_caption_mixin.scss