Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused palette colours #13117

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading