initial commit

This commit is contained in:
2026-05-13 17:48:36 +05:30
commit 5a80256856
305 changed files with 80994 additions and 0 deletions

20
src/utils/getColors.js Normal file
View File

@@ -0,0 +1,20 @@
// ==============================|| CUSTOM FUNCTION - COLORS ||============================== //
const getColors = (theme, color) => {
switch (color) {
case 'secondary':
return theme.palette.secondary;
case 'error':
return theme.palette.error;
case 'warning':
return theme.palette.warning;
case 'info':
return theme.palette.info;
case 'success':
return theme.palette.success;
default:
return theme.palette.primary;
}
};
export default getColors;