Last active
March 1, 2020 12:04
-
-
Save PaulieScanlon/eb21febdeec1e613d9d043966f24b5b1 to your computer and use it in GitHub Desktop.
All the design tokens for theme-ui and theme-ui/components
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 default { | |
// theme-spec | |
borders, | |
borderStyles, | |
borderWidth, | |
colors, | |
fonts, | |
fontSizes, | |
fontWeights, | |
lettingSpacings, | |
lineHeights, | |
radii, | |
shadows, | |
sizes, | |
space, | |
zIndices, | |
// styles | |
styles : { | |
h1:{}, | |
... | |
a: {}, | |
progress: {}, | |
hr: {} | |
} | |
// variant groups | |
grids: {}, | |
buttons: { | |
//default | |
primary : {}, | |
// referenced by Close component | |
close: {}, | |
// referenced by IconButon component | |
icon: {}, | |
// referenced by MenuButton component | |
menu: {} | |
}, | |
text: { | |
text: {}, | |
heading: {} | |
}, | |
links: { | |
// referenced by NavLink | |
nav: {} | |
}, | |
images: { | |
// referenced by Avatar | |
avatar: {} | |
}, | |
cards: { | |
// default | |
primary: {} | |
}, | |
layout: { | |
// referenced by Container | |
container: {} | |
}, | |
forms: { | |
}, | |
badges: {}, | |
alerts: {}, | |
messages: {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment