Created
March 9, 2020 16:32
-
-
Save ademilter/4c35e0e54e545ea16fd7bf691d401b02 to your computer and use it in GitHub Desktop.
theme for styled-system
This file contains hidden or 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 toPx = value => `${value}px` | |
export const colors = { | |
dark: 'rgb(38, 49, 67)', | |
white: 'rgba(255, 255, 255, 1)', | |
black: 'rgba(0, 0, 0, 1)' | |
} | |
export const space = [] | |
export const size = { | |
finger: 46 | |
} | |
export const sizes = { | |
finger: toPx(size.finger) | |
} | |
export const fonts = { | |
// light: 'Custom-Typeface' | |
} | |
export const lineHeights = [] | |
export const fontSize = { | |
small: 14, | |
normal: 16 | |
} | |
export const fontSizes = { | |
small: toPx(fontSize.small), | |
normal: toPx(fontSize.normal) | |
} | |
export const radii = { | |
zero: 0, | |
normal: 3, | |
big: 10, | |
full: 9999, | |
} | |
export default { | |
space, | |
colors, | |
sizes, | |
fonts, | |
fontSizes, | |
lineHeights, | |
radii | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment