-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(Tokens): Export individual tokens (#3803)
- Loading branch information
1 parent
88407bf
commit 1a8b129
Showing
8 changed files
with
35 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,35 @@ | ||
import selectors from './selectors' | ||
|
||
export * from './types' | ||
export * from './flat' | ||
|
||
export { getTheme } from './getters' | ||
|
||
export { default as selectors } from './selectors' | ||
export { selectors } | ||
|
||
export { default as lightTheme } from './themes/light' | ||
export { default as darkTheme } from './themes/dark' | ||
|
||
const { | ||
animation, | ||
breakpoint, | ||
color, | ||
fontSize, | ||
mediaQuery, | ||
mq, | ||
shadow, | ||
spacing, | ||
zIndex, | ||
} = selectors | ||
|
||
export { | ||
animation, | ||
breakpoint, | ||
color, | ||
fontSize, | ||
mediaQuery, | ||
mq, | ||
shadow, | ||
spacing, | ||
zIndex, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
packages/react-component-library/src/tokens/SpacingScaleTable.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
packages/react-component-library/src/tokens/TypographyTable.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters