Skip to content

Commit

Permalink
feat: add placeholder color and opacity types generation
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadsammy committed Jun 24, 2020
1 parent 13289af commit e465e89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/generation/ClassesGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ export class ClassesGenerator implements IClassesGenerator {
letterSpacing: Object.keys(this.configScanner.themeConfig.letterSpacing).map(value => 'tracking-' + value),
lineHeight: Object.keys(this.configScanner.themeConfig.lineHeight).map(value => 'leading-' + value),
listStyleType: Object.keys(this.configScanner.themeConfig.listStyleType).map(value => 'list-' + value),
placeholderColor: this.getGeneratedClassesWithColors('placeholder'),
placeholderOpacity: this.getGeneratedClassesWithOpacities().placeholderOpacities,
textColor: this.getGeneratedClassesWithColors('text'),
};

Expand Down

0 comments on commit e465e89

Please sign in to comment.