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-13.34.1.pre.alpha.PLAY14043436 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.1.pre.alpha.pbntr258paginationkitforreact3413 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.1.pre.alpha.pbntr258paginationkitforreact3411 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.1.pre.alpha.pbntr258paginationkitforreact3409 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.1.pre.alpha.pbntr258paginationkitforreact3404 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.1.pre.alpha.powerfontsexternal3403 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-14.0.0 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.1.pre.alpha.PLAY14633399 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.1.pre.alpha.play1407statvaluekitinconsistencies3388 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.1.pre.alpha.PLAY14703378 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.0.pre.alpha.PLAY14143373 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.0.pre.alpha.PLAY14143372 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.1 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3370 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3369 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3368 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3366 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.0.pre.alpha.PLAY14143358 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.0.pre.alpha.PLAY14143357 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.34.0 app/pb_kits/playbook/pb_title/_title.scss