Sha256: 1d7a62d64175766cca85a9eba63bbf6be2b4f93208153de0c3139f01b458261c
Contents?: true
Size: 1.24 KB
Versions: 89
Compression:
Stored size: 1.24 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, ); // Order is important here! $pb_body_status: ( default: $text_lt_default, negative: $error, dark_negative: $error_dark_body, 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_dark_negative { @include pb_body($error_dark_body); } @mixin pb_body_positive { @include pb_body($success); }
Version data entries
89 entries across 89 versions & 1 rubygems