feat(system): improve typography styles
This commit is contained in:
parent
25c2759baa
commit
8ea0b46cde
|
@ -4,6 +4,7 @@ import type React from 'react'
|
||||||
|
|
||||||
const Heading = styled('div', {
|
const Heading = styled('div', {
|
||||||
fontFamily: theme.fonts.sans,
|
fontFamily: theme.fonts.sans,
|
||||||
|
overflowWrap: 'break-word',
|
||||||
|
|
||||||
variants: {
|
variants: {
|
||||||
size: {
|
size: {
|
||||||
|
|
|
@ -4,6 +4,8 @@ import type React from 'react'
|
||||||
|
|
||||||
const Text = styled('div', {
|
const Text = styled('div', {
|
||||||
fontFamily: theme.fonts.sans,
|
fontFamily: theme.fonts.sans,
|
||||||
|
overflowWrap: 'break-word',
|
||||||
|
lineHeight: 1.5,
|
||||||
|
|
||||||
variants: {
|
variants: {
|
||||||
size: {
|
size: {
|
||||||
|
|
Loading…
Reference in New Issue