Created
February 12, 2021 16:57
-
-
Save chetanraj/67352d9045858033116b9a574d458d58 to your computer and use it in GitHub Desktop.
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
const fontSizes = [12, 14, 16, 18, 20, 24, 36, 48, 80, 96]; | |
const fontWeights = [100, 200, 300, 400, 500, 600, 700, 800, 900]; | |
const lineHeights = [1, 1.25, 1.5]; | |
const radii = ['0px', '2px', '4px', '8px', '16px', '48px']; | |
const space = [0, 4, 8, 16, 24, 32, 48, 64, 128, 256, 512]; | |
const theme = { | |
breakpoints: [32, 48, 64], | |
space, | |
fontSizes, | |
fontWeights, | |
lineHeights, | |
colors: { | |
black: '#000', | |
white: '#fff', | |
transparent: 'transparent', | |
blue: '#1862FD', | |
gray: '#aaa', | |
red: '#eb5757', | |
orange: '#fca503' | |
}, | |
radii | |
}; | |
export default theme; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment