Sha256: 11b19484dd8fd40eac80d13775787a417b4a664893a8e58a826b7efb15b20a0a

Contents?: true

Size: 1.1 KB

Versions: 6

Compression:

Stored size: 1.1 KB

Contents

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

$pb_body_colors: (
  default:        $text_lt_default,
  light:          $text_lt_light,
  lighter:        $text_lt_lighter,
  dark:           $text_dk_default,
  light_dark:     $text_dk_light,
  lighter_dark:   $text_dk_lighter,
);

$pb_body_status: (
  default:        $text_lt_default,
  negative:       $error,
  positive:       $success,
);

@mixin pb_body($color: $text_lt_default) {
  line-height: $lh_tight;
  color: $color;
  font-size: $text_default;
  font-weight: $regular;
  font-family: $font-family-base;
}


// Colors ======================
@mixin pb_body_light {
  @include pb_body($text_lt_light);
}

@mixin pb_body_lighter {
  @include pb_body($text_lt_lighter);
}

@mixin pb_body_dark {
  @include pb_body($text_dk_default);
}

@mixin pb_body_light_dark {
  @include pb_body($text_dk_light);
}

@mixin pb_body_lighter_dark {
  @include pb_body($text_dk_lighter);
}

// Statuses =====================
@mixin pb_body_negative {
  @include pb_body($error);
}

@mixin pb_body_positive {
  @include pb_body($success);
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
playbook_ui-3.4.0 app/pb_kits/playbook/pb_body/_body_mixins.scss
playbook_ui-3.3.0 app/pb_kits/playbook/pb_body/_body_mixins.scss
playbook_ui-3.2.0 app/pb_kits/playbook/pb_body/_body_mixins.scss
playbook_ui-3.1.0 app/pb_kits/playbook/pb_body/_body_mixins.scss
playbook_ui-3.0.1 app/pb_kits/playbook/pb_body/_body_mixins.scss
playbook_ui-3.0.0 app/pb_kits/playbook/pb_body/_body_mixins.scss