You can create a typography theme in your devup.json
file and pass variables to typography
props.
1{ 2 "theme": { 3 "typography": { 4 "h1": { 5 "fontSize": "24px", 6 "fontWeight": "bold" 7 } 8 } 9 } 10}
1{ 2 "theme": { 3 "typography": { 4 "h1": { 5 "fontSize": "24px", 6 "fontWeight": "bold" 7 } 8 } 9 } 10}
1const text = <Text typography="h1">Hello</Text>
1const text = <Text typography="h1">Hello</Text>