Skip to content

Commit

Permalink
remove unused palette colours (#13117)
Browse files Browse the repository at this point in the history
  • Loading branch information
cemms1 authored Jan 10, 2025
1 parent a484aaf commit f132152
Showing 1 changed file with 0 additions and 41 deletions.
41 changes: 0 additions & 41 deletions dotcom-rendering/src/paletteDeclarations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1953,31 +1953,6 @@ const articleInnerAdBorderLight: PaletteFunction = ({ design, theme }) => {

const adBorderDark: PaletteFunction = () => sourcePalette.neutral[38];

const adSupportBannerBackgroundLight: PaletteFunction = () => {
return sourcePalette.neutral[93];
};
const adSupportBannerBackgroundDark: PaletteFunction = () => {
return sourcePalette.neutral[46];
};
const adSupportBannerButtonBackgroundLight: PaletteFunction = () => {
return sourcePalette.brand[400];
};
const adSupportBannerButtonBackgroundDark: PaletteFunction = () => {
return sourcePalette.neutral[100];
};
const adSupportBannerButtonTextLight: PaletteFunction = () => {
return sourcePalette.neutral[100];
};
const adSupportBannerButtonTextDark: PaletteFunction = () => {
return sourcePalette.neutral[0];
};
const adSupportBannerTextLight: PaletteFunction = () => {
return sourcePalette.brand[400];
};
const adSupportBannerTextDark: PaletteFunction = () => {
return sourcePalette.neutral[100];
};

const appsFooterLinksTextLight: PaletteFunction = () =>
sourcePalette.neutral[7];
const appsFooterLinksTextDark: PaletteFunction = () =>
Expand Down Expand Up @@ -5863,22 +5838,6 @@ const paletteColours = {
light: articleInnerAdLabelsTextLight,
dark: adLabelsTextDark,
},
'--ad-support-banner-background': {
light: adSupportBannerBackgroundLight,
dark: adSupportBannerBackgroundDark,
},
'--ad-support-banner-button-background': {
light: adSupportBannerButtonBackgroundLight,
dark: adSupportBannerButtonBackgroundDark,
},
'--ad-support-banner-button-text': {
light: adSupportBannerButtonTextLight,
dark: adSupportBannerButtonTextDark,
},
'--ad-support-banner-text': {
light: adSupportBannerTextLight,
dark: adSupportBannerTextDark,
},
'--affiliate-disclaimer-background': {
light: affiliateDisclaimerBackgroundLight,
dark: affiliateDisclaimerBackgroundDark,
Expand Down

0 comments on commit f132152

Please sign in to comment.