Skip to content

Commit

Permalink
#261 simplify heading styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ofrankowska committed Jun 5, 2020
1 parent e80c3df commit 44dd044
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/atoms/heading/Heading.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ $headings-line-height : $font-line-height !default;
$headings-color : $color-primary !default;
$headings-text-transform : none !default;

$heading-font-size--first-level\@screen-m : $font-size-super-extra-large !default;
$heading-font-size--first-level : $font-size-extra-large !default;
$heading-font-size--second-level\@screen-m: $font-size-extra-large !default;
$heading-font-size--second-level : $font-size-large !default;
$heading-font-size--third-level\@screen-m : $font-size-large !default;
$heading-font-size--third-level : $font-size-medium !default;
$heading-font-size--fourth-level : $font-size-medium !default;
$heading-font-size--fifth-level : $font-size-medium !default;
Expand All @@ -28,26 +25,14 @@ $heading-font-size--sixth-level : $font-size-medium !default;

&--first-level {
font-size: $heading-font-size--first-level;

@include mq($screen-m) {
font-size: $heading-font-size--first-level\@screen-m;
}
}

&--second-level {
font-size: $heading-font-size--second-level;

@include mq($screen-m) {
font-size: $heading-font-size--second-level\@screen-m;
}
}

&--third-level {
font-size: $heading-font-size--third-level;

@include mq($screen-m) {
font-size: $heading-font-size--third-level\@screen-m;
}
}

&--fourth-level {
Expand Down

0 comments on commit 44dd044

Please sign in to comment.