Skip to content

Commit

Permalink
fix: use correct prefix for font sizes types
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadsammy committed Jul 5, 2020
1 parent 6d1aa08 commit c5b6640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generation/ClassesGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export class ClassesGenerator implements IGenerator {
return {
...defaultClasses.Typography,
fontFamily: Object.keys(this.theme.fontFamily).map(value => 'font-' + value),
fontSize: Object.keys(this.theme.fontSize).map(size => 'font-' + size),
fontSize: Object.keys(this.theme.fontSize).map(size => 'text-' + size),
fontWeight: Object.keys(this.theme.fontWeight).map(weight => 'font-' + weight),
letterSpacing: Object.keys(this.theme.letterSpacing).map(value => 'tracking-' + value),
lineHeight: Object.keys(this.theme.lineHeight).map(value => 'leading-' + value),
Expand Down

0 comments on commit c5b6640

Please sign in to comment.