fix: correct text- prefix on typography tokens

This commit is contained in:
Jeffrey 2026-03-04 22:02:46 +01:00
parent 4e9e51004f
commit 1b68297766
2 changed files with 3 additions and 3 deletions

View File

@ -121,14 +121,14 @@ export const FDVideoHeroBlockComponent: React.FC<FDVideoHeroBlockProps> = (props
<div className={`max-w-[640px] ${textAlign === 'center' ? 'mx-auto' : ''}`}> <div className={`max-w-[640px] ${textAlign === 'center' ? 'mx-auto' : ''}`}>
{heading && ( {heading && (
<h1 <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} {heading}
</h1> </h1>
)} )}
{body && ( {body && (
<p <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} {body}
</p> </p>

File diff suppressed because one or more lines are too long