fix: correct text- prefix on typography tokens
This commit is contained in:
parent
4e9e51004f
commit
1b68297766
@ -121,14 +121,14 @@ export const FDVideoHeroBlockComponent: React.FC<FDVideoHeroBlockProps> = (props
|
||||
<div className={`max-w-[640px] ${textAlign === 'center' ? 'mx-auto' : ''}`}>
|
||||
{heading && (
|
||||
<h1
|
||||
className={`fd-h1 font-joey-heavy ${textColorHeading} mb-4 md:mb-6`}
|
||||
className={`text-fd-display font-joey-heavy ${textColorHeading} mb-4 md:mb-6`}
|
||||
>
|
||||
{heading}
|
||||
</h1>
|
||||
)}
|
||||
{body && (
|
||||
<p
|
||||
className={`fd-body-lg font-joey ${textColorBody} mb-8 md:mb-10 whitespace-pre-line`}
|
||||
className={`text-fd-body-lg font-joey ${textColorBody} mb-8 md:mb-10 whitespace-pre-line`}
|
||||
>
|
||||
{body}
|
||||
</p>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user