Skip to content

Commit

Permalink
chore(stylelint): Only allow rem for font-size. (#4605)
Browse files Browse the repository at this point in the history
REM units align with what the specification uses as `sp` closest. So we uses rem in order to adjust
to client font size changes.
  • Loading branch information
Garbee authored and traviskaufman committed Jul 27, 2016
1 parent 2db87a8 commit 2ff26e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .stylelintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ rules:
- vertical-align
- visibility
- z-index
declaration-property-unit-whitelist:
font-size:
- "rem"
# The following prefix rules are enabled since we use autoprefixer
at-rule-no-vendor-prefix: true
media-feature-name-no-vendor-prefix: true
Expand Down

0 comments on commit 2ff26e8

Please sign in to comment.