Sha256: 448e69471d3d15bfbeb08562dbc8b4cca810fab5eac822718db3bf166d18bc5a

Contents?: true

Size: 381 Bytes

Versions: 5

Compression:

Stored size: 381 Bytes

Contents

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

@mixin caption($font_size: $font_smaller) {
  &, &_dark {
    @if $font_size == 12px {
      font-weight: $bold;
    }
    text-transform: uppercase;
    font-size: $font_size;
  }
  & {
    color: $ink_lightest;
  }
  &_dark {
    color: $white_opacity_6;
  }
}


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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-2.7.2 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-2.7.1 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-2.7.0 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-2.6.0 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-2.5.0 app/pb_kits/playbook/pb_caption/_caption_mixin.scss