Skip to content

Commit

Permalink
Remove accreditation text (#12969)
Browse files Browse the repository at this point in the history
* Remove accreditation text

* conflicts
  • Loading branch information
DanielCliftonGuardian authored Dec 13, 2024
1 parent 5a04327 commit 411e928
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 47 deletions.
40 changes: 0 additions & 40 deletions dotcom-rendering/src/components/Titlepiece.importable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import {
from,
headlineBold14,
space,
textSansBold14,
textSansBold17,
until,
visuallyHidden,
} from '@guardian/source/foundations';
Expand Down Expand Up @@ -62,32 +60,6 @@ const slimNavEditionSwitcherOverrides = css`
}
`;

const accreditationStyles = css`
${gridContent}
grid-row: 1;
justify-self: start;
align-self: start;
display: flex;
flex-wrap: wrap;
padding-top: 10px;
color: ${themePalette('--masthead-accreditation-text')};
${textSansBold14}
${until.mobileMedium} {
display: none;
}
${until.mobileLandscape} {
max-width: 100px;
}
`;

const accreditationStylesFromLeftCol = css`
${from.leftCol} {
${textSansBold17}
}
`;

const logoStyles = css`
${gridMainColumn}
grid-row: 1;
Expand Down Expand Up @@ -540,18 +512,6 @@ export const Titlepiece = ({
<Logo />
</div>

{/* Accreditation text */}
{!showSlimNav && editionId === 'UK' && (
<span
css={[
accreditationStyles,
!hasPageSkin && accreditationStylesFromLeftCol,
]}
>
News provider of the year
</span>
)}

{/** Expanded menu checkbox */}
<input
type="checkbox"
Expand Down
7 changes: 0 additions & 7 deletions dotcom-rendering/src/paletteDeclarations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5505,9 +5505,6 @@ const highlightsCardKickerText: PaletteFunction = (format) => {
}
};

const mastheadAccreditationText: PaletteFunction = () =>
sourcePalette.brandAlt[400];

const pinnedPostBorderLight: PaletteFunction = ({ theme }) => {
switch (theme) {
case Pillar.News:
Expand Down Expand Up @@ -6640,10 +6637,6 @@ const paletteColours = {
light: liveBlockContainerBackgroundLight,
dark: liveBlockContainerBackgroundDark,
},
'--masthead-accreditation-text': {
light: mastheadAccreditationText,
dark: mastheadAccreditationText,
},
'--masthead-nav-background': {
light: mastheadNavBackground,
dark: mastheadNavBackground,
Expand Down

0 comments on commit 411e928

Please sign in to comment.