08122023
This commit is contained in:
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
||||
// ==============================|| PRESET THEME - DEFAULT ||============================== //
|
||||
|
||||
const Default = (colors) => {
|
||||
const { blue, red, gold, cyan, green, grey } = colors;
|
||||
const { blue, red, gold, cyan, green, grey,purple } = colors;
|
||||
const greyColors = {
|
||||
0: grey[0],
|
||||
50: grey[1],
|
||||
@@ -26,17 +26,30 @@ const Default = (colors) => {
|
||||
const contrastText = '#fff';
|
||||
|
||||
return {
|
||||
// primary: {
|
||||
// lighter: blue[0],
|
||||
// 100: blue[1],
|
||||
// 200: blue[2],
|
||||
// light: blue[3],
|
||||
// 400: blue[4],
|
||||
// main: blue[5],
|
||||
// dark: blue[6],
|
||||
// 700: blue[7],
|
||||
// darker: blue[8],
|
||||
// 900: blue[9],
|
||||
// contrastText
|
||||
// },
|
||||
primary: {
|
||||
lighter: blue[0],
|
||||
100: blue[1],
|
||||
200: blue[2],
|
||||
light: blue[3],
|
||||
400: blue[4],
|
||||
main: blue[5],
|
||||
dark: blue[6],
|
||||
700: blue[7],
|
||||
darker: blue[8],
|
||||
900: blue[9],
|
||||
lighter: purple[0],
|
||||
100: purple[1],
|
||||
200: purple[2],
|
||||
light: purple[3],
|
||||
400: purple[4],
|
||||
main: '#662582',
|
||||
dark: purple[6],
|
||||
700: purple[7],
|
||||
darker: purple[8],
|
||||
900: purple[9],
|
||||
contrastText
|
||||
},
|
||||
secondary: {
|
||||
|
||||
@@ -33,6 +33,7 @@ const Theme = (colors, presetColor, mode) => {
|
||||
return Theme8(colors, mode);
|
||||
default:
|
||||
return Default(colors);
|
||||
// return Theme8(colors, mode);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user