added theming

This commit is contained in:
Carter 2024-10-29 13:05:00 -06:00
parent eafb88ebfc
commit 61b789b725
4 changed files with 402 additions and 15 deletions

21
src/theme/theme.ts Normal file
View 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;