Sha256: 797bc2af167adcd14b2f3c0dec9e9aaea96075db47bfdd57399e2bfbff66ed21

Contents?: true

Size: 742 Bytes

Versions: 5

Compression:

Stored size: 742 Bytes

Contents

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

.body {

  $selectors: (
    "&",
    "&_light",
    "&_lighter",
    "&_dark",
    "&_light_dark",
    "&_lighter_dark",
  );

  @each $selector in $selectors {
    #{$selector} {
      margin: 0;
      line-height: $lh_tight;
      @if $selector == "&_dark" {
        color: $white;
      } @else if $selector == "&_light" {
        color: $ink_lightest;
      } @else if $selector == "&_lighter" {
        color: $sky_dark;
      } @else if $selector == "&_light_dark" {
        color: $white_opacity_6;
      } @else if $selector == "&_lighter_dark" {
        color: $white_opacity_4;
      } @else {
        color: $ink;
      }

    }
  }

}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-2.7.2 app/pb_kits/playbook/pb_body/_body.scss
playbook_ui-2.7.1 app/pb_kits/playbook/pb_body/_body.scss
playbook_ui-2.7.0 app/pb_kits/playbook/pb_body/_body.scss
playbook_ui-2.6.0 app/pb_kits/playbook/pb_body/_body.scss
playbook_ui-2.5.0 app/pb_kits/playbook/pb_body/_body.scss