This repository has been archived by the owner on Dec 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dale Roberts
committed
Dec 18, 2023
1 parent
16f9d79
commit cf896aa
Showing
7 changed files
with
164 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
const clex_primary_colours = { | ||
"CLEX Red":"#DA1E48", | ||
"CLEX Pink":"#F48580", | ||
"CLEX Sky Blue":"#00BDF2", | ||
"CLEX Mid Blue":"#008DD0", | ||
"CLEX Cobalt Blue":"#0066B3", | ||
"CLEX Midnight Blue":"#113559", | ||
"CLEX Grey":"#4D4D4F" | ||
}; | ||
|
||
const clex_secondary_colours_light = { | ||
"orange":"#E27833", | ||
"yellow":"#D0B252", | ||
"purple":"#7A7CB9", | ||
"blue":"#5D9BAA", | ||
"green":"#51AA62" | ||
}; | ||
|
||
const clex_secondary_colours_dark = { | ||
"orange":"#711E18", | ||
"yellow":"#695B29", | ||
"purple":"#3E437B", | ||
"blue":"#024E62", | ||
"green":"#346D53" | ||
}; | ||
|
||
|
||
export {clex_primary_colours,clex_secondary_colours_light,clex_secondary_colours_dark} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import { defaultTheme } from "react-admin"; | ||
import { | ||
clex_primary_colours, | ||
clex_secondary_colours_light, | ||
clex_secondary_colours_dark, | ||
} from "./colours"; | ||
import { setUncaughtExceptionCaptureCallback } from "process"; | ||
|
||
const dashboardTheme = { | ||
...defaultTheme, | ||
palette: { | ||
background: {default: '#f1f1f1'}, | ||
}, | ||
typography: { | ||
fontFamily: [ | ||
'Ubuntu', | ||
'sans-serif', | ||
].join(','), | ||
}, | ||
components: { | ||
...defaultTheme.components, | ||
RaAppBar: { | ||
styleOverrides: { | ||
root: { | ||
backgroundColor: clex_secondary_colours_dark['blue'], | ||
}, | ||
}, | ||
}, | ||
RaDatagridHeaderCell: { | ||
styleOverrides: { | ||
root: { | ||
fontSize: 16, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}; | ||
|
||
export {dashboardTheme}; |