Sha256: 04db1d6e9fd0a3614b2bb261a12f4c80dc5d62d8f3a2364224096ff9b84f8c72

Contents?: true

Size: 1.29 KB

Versions: 58

Compression:

Stored size: 1.29 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;
  }

  &.dark {
    @include pb_title_dark;
  }

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

  @each $size, $size_value in $breakpoints_grid {
    @each $title_size_value in [1, 2, 3, 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; }
          }
        }
    }
  }
}

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
playbook_ui-12.33.1.pre.alpha.PLAY933navkitcollapsible994 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.33.1 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.33.0.pre.alpha.PLAY905reactionbuttons982 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.33.0.pre.alpha.PLAY905reactionbuttons979 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.33.0.pre.alpha.revert2650closedialogonoutsideclick977 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.33.0 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.32.0 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.31.0.pre.alpha.hoverrails951 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.31.0.pre.alpha.hoverrails948 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.31.0.pre.alpha.multilevelnopillsdesigns944 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.31.0.pre.alpha.multilevelnopillsdesigns941 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.31.0.pre.alpha.PLAY814removemomentjs935 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.31.0.pre.alpha.PLAY814removemomentjs933 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.31.0.pre.alpha.datepickerdisableddatefix931 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.31.0.pre.alpha.customiconsfa928 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.31.0 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.30.1.pre.alpha.PLAY802responsivetitlekit909 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-12.30.0 app/pb_kits/playbook/pb_title/_title.scss