feat(system): improve typography styles

This commit is contained in:
Pavel Prichodko 2022-04-13 14:25:34 +02:00
parent 8e8302b5e1
commit d167ca3b6c
No known key found for this signature in database
GPG Key ID: 8E4C82D464215E83
2 changed files with 3 additions and 0 deletions

View File

@ -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: {

View File

@ -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: {