Sha256: 77598bfcb584f8b64c1a5be6889e521dc708e772d561c2ccdf0ac6f7427e54e5

Contents?: true

Size: 715 Bytes

Versions: 72

Compression:

Stored size: 715 Bytes

Contents

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

@mixin pb_title(
    $fontSize: $heading_1,
    $fontWeight: $lighter,
    $lineHeight: $lh_tighter
){
  font-size: $fontSize;
  letter-spacing: $lspace_tight;
  font-weight: $fontWeight;
  color: $text_lt_default;
  margin: 0;
  line-height: $lineHeight;
  font-family: $font_family_base;
}

@mixin pb_title_1 {
  @include pb_title($heading_1);
  letter-spacing: -0.03em;
}

@mixin pb_title_2 {
  @include pb_title($heading_2, $lighter, 0.96);
}

@mixin pb_title_3 {
  @include pb_title($heading_3);
}

@mixin pb_title_4 {
  @include pb_title($heading_4, $bolder);
}

@mixin pb_title_dark {
  color: $text_dk_default;
}

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
playbook_ui-5.0.2 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-5.0.1.pre.beta app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-5.1.0.pre.alpha4 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-5.1.0.pre.alpha2 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-5.1.0.pre.alpha1 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-5.0.1 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-5.0.1.pre.alpha1 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-4.18.1.pre.alpha1 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-4.18.1 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-4.18.0 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-4.17.0 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-4.17.0.pre.alpha1 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-4.16.0 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-4.15.0 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-4.14.0 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-4.15.1.alpha1 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-4.13.1 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-4.13.0 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-4.12.0 app/pb_kits/playbook/pb_title/_title_mixin.scss
playbook_ui-4.11.0 app/pb_kits/playbook/pb_title/_title_mixin.scss