Skip to content

Commit

Permalink
update links in Audio components to use dark theme colors
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverabrahams committed Oct 21, 2024
1 parent 8cbb7a6 commit 955ed4a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions dotcom-rendering/src/palette.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3172,9 +3172,15 @@ const articleLinkTextDark: PaletteFunction = ({ display, theme }) => {
}
};

const articleLinkBorderLight: PaletteFunction = ({ design, theme }) => {
const articleLinkBorderLight: PaletteFunction = ({
display,
design,
theme,
}) => {
if (theme === ArticleSpecial.Labs) return sourcePalette.neutral[60];

if (design === ArticleDesign.Audio) {
return articleLinkBorderDark({ display, design, theme });
}
if (theme === ArticleSpecial.SpecialReport) {
return sourcePalette.specialReport[300];
}
Expand Down

0 comments on commit 955ed4a

Please sign in to comment.