@@ -40,6 +40,7 @@ module.exports = ({ theme }) => ({
4040 // Base
4141 color : 'var(--tw-prose-body)' ,
4242 fontSize : theme ( 'fontSize.sm' ) [ 0 ] ,
43+ ...theme ( 'fontSize.sm' ) [ 1 ] ,
4344 lineHeight : theme ( 'lineHeight.7' ) ,
4445
4546 // Layout
@@ -57,6 +58,7 @@ module.exports = ({ theme }) => ({
5758 // Text
5859 p : {
5960 fontSize : theme ( 'fontSize.base' ) [ 0 ] ,
61+ ...theme ( 'fontSize.base' ) [ 1 ] ,
6062 marginTop : theme ( 'spacing.6' ) ,
6163 marginBottom : theme ( 'spacing.6' ) ,
6264 } ,
@@ -316,17 +318,20 @@ module.exports = ({ theme }) => ({
316318 paddingLeft : theme ( 'padding[1.5]' ) ,
317319 boxShadow : 'inset 0 0 0 1px var(--tw-prose-code-ring)' ,
318320 backgroundColor : 'var(--tw-prose-code-bg)' ,
319- fontSize : theme ( 'fontSize.2xs' ) ,
321+ fontSize : theme ( 'fontSize.2xs' ) [ 0 ] ,
322+ ...theme ( 'fontSize.2xs' ) [ 1 ] ,
320323 } ,
321324 ':is(a, h1, h2, h3, blockquote, thead th) code' : {
322325 color : 'inherit' ,
323326 } ,
324327 'h2 code' : {
325328 fontSize : theme ( 'fontSize.base' ) [ 0 ] ,
329+ ...theme ( 'fontSize.base' ) [ 1 ] ,
326330 fontWeight : 'inherit' ,
327331 } ,
328332 'h3 code' : {
329333 fontSize : theme ( 'fontSize.sm' ) [ 0 ] ,
334+ ...theme ( 'fontSize.sm' ) [ 1 ] ,
330335 fontWeight : 'inherit' ,
331336 } ,
332337
0 commit comments