Skip to content

Commit bf48cbd

Browse files
committed
Update dark mode palette based on latest designs
1 parent c042bad commit bf48cbd

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

dotcom-rendering/src/components/FootballMatchStat.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { palette } from '../palette';
1212
const containerCss = css`
1313
position: relative;
1414
padding: 5px 10px 10px;
15-
border: 1px solid ${palette('--footall-match-stat-border')};
15+
border: 1px solid ${palette('--football-match-stat-border')};
1616
border-radius: 6px;
1717
&::before {
1818
position: absolute;
@@ -21,7 +21,7 @@ const containerCss = css`
2121
bottom: 0;
2222
width: 1px;
2323
height: 24px;
24-
background-color: ${palette('--footall-match-stat-border')};
24+
background-color: ${palette('--football-match-stat-border')};
2525
}
2626
`;
2727

@@ -43,7 +43,7 @@ const labelCss = css`
4343
${textSansBold14};
4444
grid-area: label;
4545
justify-self: center;
46-
color: ${palette('--footall-match-stat-name')};
46+
color: ${palette('--football-match-stat-name')};
4747
${from.desktop} {
4848
${textSansBold15};
4949
}

dotcom-rendering/src/components/FootballMiniMatchStats.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const FootballMiniMatchStats = ({
7777
iconSide="right"
7878
theme={{
7979
backgroundPrimary: palette(
80-
'--footall-match-stat-button-background',
80+
'--football-match-stat-button-background',
8181
),
8282
}}
8383
>

dotcom-rendering/src/paletteDeclarations.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7068,15 +7068,15 @@ const paletteColours = {
70687068
light: () => sourcePalette.sport[500],
70697069
dark: () => sourcePalette.sport[500],
70707070
},
7071-
'--footall-match-stat-border': {
7071+
'--football-match-stat-border': {
70727072
light: () => sourcePalette.neutral[86],
7073-
dark: () => sourcePalette.neutral[20],
7073+
dark: () => sourcePalette.neutral[38],
70747074
},
7075-
'--footall-match-stat-button-background': {
7075+
'--football-match-stat-button-background': {
70767076
light: () => sourcePalette.sport[400],
7077-
dark: () => sourcePalette.sport[400],
7077+
dark: () => sourcePalette.sport[500],
70787078
},
7079-
'--footall-match-stat-name': {
7079+
'--football-match-stat-name': {
70807080
light: () => sourcePalette.neutral[7],
70817081
dark: () => sourcePalette.neutral[86],
70827082
},

0 commit comments

Comments
 (0)