feat(system): improve typography styles

This commit is contained in:
Pavel Prichodko 2022-04-13 14:25:34 +02:00
parent 25c2759baa
commit 8ea0b46cde
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
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: {