Skip to content

Commit

Permalink
feat: generate transition duration types from theme
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadsammy committed Jun 24, 2020
1 parent 822414c commit c4819e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/generation/ClassesGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ export class ClassesGenerator implements IClassesGenerator {
transitionProperty: Object.keys(this.configScanner.themeConfig.transitionProperty).map(
property => 'transition-' + property,
),
transitionDuration: Object.keys(this.configScanner.themeConfig.transitionDuration).map(
duration => 'duration-' + duration,
),
};

this.allGeneratedClasses.Transitions = Transitions;
Expand Down

0 comments on commit c4819e2

Please sign in to comment.