Created
March 24, 2022 15:26
-
-
Save wttj-tech/52025cd19fcbdd39b7cef5ebe932fd2a to your computer and use it in GitHub Desktop.
How we implemented our open-source design system
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
export const Hint = styled.div` | |
/* Values from the theme file (see below) */ | |
${th('hints')}; | |
/* Directly check the color from theme object */ | |
color: dark.900; | |
margin-top: sm; | |
display: flex; | |
align-items: center; | |
/* get system props from xstyled */ | |
${system}; | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment