Skip to content

Commit

Permalink
ADM-982 [frontend][docs]: add colors for classification charts
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou-yinyuan committed Jul 23, 2024
1 parent 4358855 commit 998d814
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ function extractClassificationData(classification: string, dateRanges: string[],
theme.main.boardChart.barColorD,
theme.main.boardChart.barColorE,
theme.main.boardChart.barColorF,
theme.main.boardChart.barColorG,
theme.main.boardChart.barColorH,
theme.main.boardChart.barColorI,
theme.main.boardChart.barColorJ,
],
trendInfo,
};
Expand Down
8 changes: 8 additions & 0 deletions frontend/src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ declare module '@mui/material/styles' {
barColorD: string;
barColorE: string;
barColorF: string;
barColorG: string;
barColorH: string;
barColorI: string;
barColorJ: string;
lineColorA: string;
lineColorB: string;
gridColor: string;
Expand Down Expand Up @@ -143,6 +147,10 @@ export const theme = createTheme({
barColorD: '#769D7B',
barColorE: '#C28830',
barColorF: '#5078e6',
barColorG: '#19caad',
barColorH: '#bee7e9',
barColorI: '#a0eee1',
barColorJ: '#d6d5b7',
lineColorA: '#163C4D',
lineColorB: '#E16A7C',
gridColor: '#D9D9D9',
Expand Down

0 comments on commit 998d814

Please sign in to comment.