Skip to content

Commit

Permalink
fix: remove the color change for dark mode to make the text dark
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverabrahams committed Oct 28, 2024
1 parent 16b7743 commit e32189d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions dotcom-rendering/src/palette.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,7 @@ const textblockTextLight: PaletteFunction = (format: ArticleFormat) => {
}
};

const textblockTextDark: PaletteFunction = (format: ArticleFormat) => {
switch (format.design) {
case ArticleDesign.Audio:
return sourcePalette.neutral[7];
default:
return 'inherit';
}
};
const textblockTextDark: PaletteFunction = () => 'inherit';

const headlineTextLight: PaletteFunction = ({ design, display, theme }) => {
switch (display) {
Expand Down

0 comments on commit e32189d

Please sign in to comment.