Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
fix: slab-highlight should set font-family
Browse files Browse the repository at this point in the history
When using either the `slab-highlight` mixin or utility class, it should set the
font family to Zilla

Fix #529
  • Loading branch information
Schalk Neethling committed Mar 15, 2021
1 parent bd1df43 commit da38379
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sass/atoms/_typography.scss
Expand Up @@ -58,6 +58,10 @@ p {
font-size: $tiny-text;
}

.slab-highlight {
@include slab-highlight();
}

.readable-line-length {
@include readable-line-length();
}
Expand Down
1 change: 1 addition & 0 deletions sass/mixins/_typography.scss
Expand Up @@ -64,6 +64,7 @@
@mixin slab-highlight() {
background-color: $neutral-100;
color: $text-color-inverted;
font-family: $heading-font-family;
font-weight: normal;
max-width: max-content;
padding: 0 $base-unit;
Expand Down

0 comments on commit da38379

Please sign in to comment.