feat(system): improve typography styles
This commit is contained in:
parent
8e8302b5e1
commit
d167ca3b6c
|
@ -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