Skip to content

Commit

Permalink
fix: add scaling to h1 h2 and h3 (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
Celeste Glavin authored Mar 29, 2019
1 parent 519f3eb commit 7066307
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions packages/core/src/global/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,27 @@
}

.#{$ray-class-prefix}text--h1 {
@include ray-h1;
@include ray-h2;

@media (min-width: map-get($ray-grid-breakpoints, md)) {
@include ray-h1;
}
}

.#{$ray-class-prefix}text--h2 {
@include ray-h2;
@include ray-h3;

@media (min-width: map-get($ray-grid-breakpoints, md)) {
@include ray-h2;
}
}

.#{$ray-class-prefix}text--h3 {
@include ray-h3;
@include ray-h4;

@media (min-width: map-get($ray-grid-breakpoints, md)) {
@include ray-h3;
}
}

.#{$ray-class-prefix}text--h4 {
Expand Down

0 comments on commit 7066307

Please sign in to comment.