Skip to content

Instantly share code, notes, and snippets.

@PaulieScanlon
Last active March 1, 2020 12:04
Show Gist options
  • Save PaulieScanlon/eb21febdeec1e613d9d043966f24b5b1 to your computer and use it in GitHub Desktop.
Save PaulieScanlon/eb21febdeec1e613d9d043966f24b5b1 to your computer and use it in GitHub Desktop.
All the design tokens for theme-ui and theme-ui/components
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