diff --git a/src/blocks/LMTextBlock/Component.tsx b/src/blocks/LMTextBlock/Component.tsx index 9bf6370..f319a79 100644 --- a/src/blocks/LMTextBlock/Component.tsx +++ b/src/blocks/LMTextBlock/Component.tsx @@ -24,6 +24,11 @@ const maxWidthMap: Record = { // Navy text color = adapts to dark mode. White/yellow = always explicit. const textColorMap: Record = { + dark: { + h1: 'text-fd-navy dark:text-fd-yellow', + h2: 'text-fd-navy dark:text-fd-yellow', + body: 'text-fd-navy dark:text-white', + }, navy: { h1: 'text-fd-navy dark:text-fd-yellow', h2: 'text-fd-navy dark:text-fd-yellow', @@ -38,7 +43,7 @@ export const LMTextBlockComponent: React.FC = ({ subheading, body, alignment = 'left', - textColor = 'navy', + textColor = 'dark', sectionBackground = 'white', maxWidth = 'wide', anchorId,