Skip to content

Commit

Permalink
Revert "refactor: improve tokens exports"
Browse files Browse the repository at this point in the history
This reverts commit f869552.
  • Loading branch information
matheushdsbr committed Jul 21, 2023
1 parent f869552 commit 8676516
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
15 changes: 15 additions & 0 deletions packages/tokens/src/global/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,22 @@ import elevations from './elevations';
import spacing from './spacing';
import transition from './transition';

const tokens = {
borders,
breakpoints,
colors,
fonts,
fontSizes,
fontWeights,
lineHeights,
radii,
elevations,
spacing,
transition,
};

export {
tokens as default,
borders,
breakpoints,
colors,
Expand Down
3 changes: 1 addition & 2 deletions packages/tokens/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as tokens from './global';
import tokens from './global';
import znCn from './locale/zn-cn';

export * from './global';
export { tokens as default, znCn };

0 comments on commit 8676516

Please sign in to comment.