fix: completion page apis, validation, email states

This commit is contained in:
Sajad Mirjalili
2025-08-20 20:55:24 +03:30
parent 58c044542a
commit b02f655d4d
38 changed files with 935 additions and 1203 deletions

View File

@@ -4,7 +4,7 @@ import type {
TypeBackground,
TypeText,
} from '@mui/material';
import type { PaletteColorOptions } from 'node_modules/@mui/material';
import type { PaletteColorOptions } from '@mui/material';
export interface Palette {
primary: {

View File

@@ -117,10 +117,12 @@ export const PALETTE: Palette = {
light: {
default: grey[100],
paper: '#FFFFFF',
primary: blue[50],
},
dark: {
default: '#121212',
paper: grey[900],
primary: grey[800],
},
},
// Text colors

View File

@@ -8,6 +8,10 @@ declare module '@mui/material/styles' {
interface PaletteOptions {
club?: PaletteOptions['primary']; // Extend PaletteOptions for optional 'club'
}
interface TypeBackground {
primary: string;
}
}
declare module '@mui/material/Button' {
@@ -16,6 +20,8 @@ declare module '@mui/material/Button' {
}
}
// TODO: move this to types
// has typo
export type PalleteColor =
| 'primary'
| 'secondary'