Skip to content

Commit

Permalink
feat: add grow-* and shrink-* utilities, deprecate flex-grow-*
Browse files Browse the repository at this point in the history
…and `flex-shrink-*`

Fixes #333
  • Loading branch information
muhammadsammy committed Dec 17, 2021
1 parent 8e900bb commit 73ee65d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/core/ClassnamesGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ export class ClassnamesGenerator {
return {
...nonConfigurableClassNames.flexBox,
flexBasis: Object.keys(this._theme.flexBasis).map(x => `basis-${x}`),
flexGrow: Object.keys(this._theme.flexGrow).map(x => `flex-grow-${x}`),
flexShrink: Object.keys(this._theme.flexShrink).map(x => `flex-shrink-${x}`),
flexGrow: Object.keys(this._theme.flexGrow).map(x => `grow-${x}`),
flexShrink: Object.keys(this._theme.flexShrink).map(x => `shrink-${x}`),
order: Object.keys(this._theme.order).map(x => `order-${x}`),
};
};
Expand Down

0 comments on commit 73ee65d

Please sign in to comment.