fix: Bubble typography (#10653)

![CleanShot 2025-01-08 at 18 22
36@2x](https://github.com/user-attachments/assets/77cc99d2-1bdf-49ff-9016-57bb9c50b149)
This commit is contained in:
Shivam Mishra
2025-01-10 15:40:12 +05:30
committed by GitHub
parent 4912140893
commit e70f7a2550
3 changed files with 20 additions and 12 deletions

View File

@@ -43,7 +43,7 @@ const tailwindConfig = {
interDisplay: ['Inter Display', ...defaultSansFonts],
},
typography: {
email: {
bubble: {
css: {
color: 'rgb(var(--slate-12))',
lineHeight: '1.6',
@@ -100,26 +100,37 @@ const tailwindConfig = {
color: 'rgb(var(--text-blue))',
textDecoration: 'underline',
},
ul: {
paddingInlineStart: '0.625em',
},
ol: {
paddingInlineStart: '0.625em',
},
'ul li': {
margin: '0 0 0.5em 1.5em',
margin: '0 0 0.5em 1em',
listStyleType: 'disc',
},
'ol li': {
margin: '0 0 0.5em 1.5em',
margin: '0 0 0.5em 1em',
listStyleType: 'decimal',
},
blockquote: {
fontStyle: 'italic',
color: 'rgb(var(--slate-11))',
borderLeft: `4px solid rgb(var(--border-strong))`,
borderLeft: `4px solid rgb(var(--black-alpha-1))`,
paddingLeft: '1em',
},
code: {
backgroundColor: 'rgb(var(--alpha-3))',
color: 'rgb(var(--solid-amber))',
color: 'rgb(var(--slate-11))',
padding: '0.2em 0.4em',
borderRadius: '4px',
fontSize: '0.95em',
'&::before': {
content: `none`,
},
'&::after': {
content: `none`,
},
},
pre: {
backgroundColor: 'rgb(var(--alpha-3))',