Sha256: 47f78a053ef6aced3a093c1123ccd32a6851b0eaef0096893ce7efcc8591180a

Contents?: true

Size: 1.26 KB

Versions: 113

Compression:

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

Version data entries

113 entries across 113 versions & 1 rubygems

Version Path
playbook_ui-13.22.0.pre.alpha.playbookgemspecrailsversion2608 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.23.0 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.21.0.pre.alpha.PLAY12582531 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.21.0.pre.alpha.PLAY12582516 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.21.0.pre.alpha.PLAY12582515 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.21.0.pre.alpha.PLAY12582514 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.22.0 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.21.0.pre.alpha.PBNTR243globalpositioningpropinset2504 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.21.0.pre.alpha.PLAY12652489 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.21.0.pre.alpha.PLAY12582474 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.21.0.pre.alpha.PBNTR224letuserresetrowexpansion2466 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.21.0.pre.alpha.PLAY120322465 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.21.0.pre.alpha.pbntr220improveexpansionspeed2451 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.21.0.pre.alpha.PBNTR224letuserresetrowexpansion2441 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.21.0.pre.alpha.PBNTR225advancedtablefeedback2438 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.21.0.pre.alpha.PBNTR238DatePickerYearBug2436 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.21.0.pre.alpha.pbntr220improveexpansionspeed2431 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.21.0.pre.alpha.pbntr220improveexpansionspeed2415 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.20.0.pre.alpha.play1247htmloptions2404 app/pb_kits/playbook/pb_title/_title.scss
playbook_ui-13.20.0.pre.alpha.play1247htmloptions2403 app/pb_kits/playbook/pb_title/_title.scss