added theming
This commit is contained in:
parent
eafb88ebfc
commit
61b789b725
4 changed files with 402 additions and 15 deletions
21
src/theme/theme.ts
Normal file
21
src/theme/theme.ts
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import { createTheme } from '@mui/material/styles';
|
||||
import {
|
||||
getPrimaryColour,
|
||||
getSecondaryColour,
|
||||
getSignatureAccentColour,
|
||||
getSignatureColour
|
||||
} from "../services/whiteLabel";
|
||||
|
||||
// import * as Colours from "@mui/material/colors";
|
||||
// Colours.
|
||||
|
||||
// let c = getPrimaryColour() as keyof typeof Colours
|
||||
|
||||
// Define the custom theme
|
||||
const theme = createTheme({
|
||||
palette: {
|
||||
primary: getPrimaryColour()
|
||||
},
|
||||
});
|
||||
|
||||
export default theme;
|
||||
Loading…
Add table
Add a link
Reference in a new issue