Sha256: e01b38ea1dbd67d21b813424e0e140bfadb43893e72d6bb5ca88396235d03f93

Contents?: true

Size: 1.33 KB

Versions: 414

Compression:

Stored size: 1.33 KB

Contents

@import "../tokens/titles";
@import "../tokens/colors";
@import "../tokens/screen_sizes";
@import './title_mixin';

[class^=pb_title_kit] {
  &[class*=_1] {
    @include pb_title_1;
    @include title_colors;
    @include pb_title_bold;
  }

  &[class*=_2] {
    @include pb_title_2;
    @include title_colors;
    @include pb_title_bold;
  }

  &[class*=_3] {
    @include pb_title_3;
    @include title_colors;
    @include pb_title_bold;
  }

  &[class*=_4] {
    @include pb_title_4;
    @include title_colors;
  }

  &[class*=_thin] {
    @include pb_title_thin;
  }

  @each $size, $size_value in $breakpoints_grid {
    @for $title_size_value from 1 through 4 {
      $min_size: map-get($size_value, "min");
      $max_size: map-get($size_value, "max");
      &[class*=_#{$size}_#{$title_size_value}] {
        @include break_on($min_size, $max_size) {
          @if $title_size_value == 1 { @include pb_title_1; }
          @else if $title_size_value == 2 { @include pb_title_2; }
          @else if $title_size_value == 3 { @include pb_title_3; }
          @else if $title_size_value == 4 { @include pb_title_4; }
          @include title_colors;
          @if $title_size_value != 4 { @include pb_title_bold; }
        }
      }
    }
  }

  &.dark {
    @include pb_title_dark; 
  }

  &.dark[class*=_link] { 
    @include pb_title_dark_link; 
  }
}

Version data entries

414 entries across 414 versions & 1 rubygems

Version Path
playbook_ui-14.10.0.pre.rc.5 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.10.0.pre.rc.4 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.9.0.pre.alpha.PLAY16264818 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.9.0.pre.alpha.PBNTR702stickyleftcolrails4806 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.10.0.pre.rc.3 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.10.0.pre.rc.2 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.9.0.pre.alpha.play1742globalheightfixes4766 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.10.0.pre.rc.1 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.9.0.pre.alpha.PBNTR686advancedtablepaginationpoc4747 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.9.0.pre.alpha.pbntr700newresettodefaultprop4736 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.10.0.pre.rc.0 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.9.0 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.9.0.pre.rc.18 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.9.0.pre.rc.17 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.9.0.pre.rc.16 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.9.0.pre.rc.15 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.9.0.pre.rc.14 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.9.0.pre.rc.13 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.9.0.pre.rc.12 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.9.0.pre.rc.11 app/pb_kits/playbook/pb_title/_title.scss