{ type.body2 }
=>{ type.levels.subtext.medium }
Last active
May 28, 2021 20:35
-
-
Save alanbsmith/9b28620705ac365600719734ced7cbc4 to your computer and use it in GitHub Desktop.
Type Mappings
{ type.variant.button }
=>{ fontWeight: type.properties.fontWeights.medium }
{ type.variant.caps }
=>{ fontWeight: type.properties.fontWeights.bold, textTransform: 'uppercase' }
{ type.variant.label }
=>{ fontWeight: type.properties.fontWeights.medium }
- use
Hyperlink
component
{ type.variant.mono }
=>{ fontFamily: type.properties.fonts.monospace }
{ type.variant.error }
=>{ type.variants.error }
{ type.variant.hint }
=>{ type.variants.hint }
{ type.variant.inverse }
=>{ type.variants.inverse }
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment