import {colorGenerator} from '../utils/color-generator'; import {THEME_COLORS} from '../../constants/theme-colors'; import {COLORS} from '../../constants/colors'; import type {ThemeOptions} from '@mui/material'; export const DEFAULT_THEME_CONFIG: ThemeOptions = { palette: { primary: colorGenerator('BLUE'), error: colorGenerator('ERROR'), success: colorGenerator('SUCCESS'), warning: colorGenerator('WARNING'), blue: colorGenerator('BLUE'), blueDark: colorGenerator('BLUE_DARK'), blueLight: colorGenerator('BLUE_LIGHT'), cyan: colorGenerator('CYAN'), fuchsia: colorGenerator('FUCHSIA'), grey: colorGenerator('GRAY'), gray: colorGenerator('GRAY'), grayBlue: colorGenerator('GRAY_BLUE'), grayCool: colorGenerator('GRAY_COOL'), grayIron: colorGenerator('GRAY_IRON'), grayModern: colorGenerator('GRAY_MODERN'), grayNeutral: colorGenerator('GRAY_NEUTRAL'), grayTrue: colorGenerator('GRAY_TRUE'), grayWarm: colorGenerator('GRAY_WARM'), green: colorGenerator('GREEN'), greenLight: colorGenerator('GREEN_LIGHT'), indigo: colorGenerator('INDIGO'), moss: colorGenerator('MOSS'), orange: colorGenerator('ORANGE'), orangeDark: colorGenerator('ORANGE_DARK'), pink: colorGenerator('PINK'), purple: colorGenerator('PURPLE'), rose: colorGenerator('ROSE'), teal: colorGenerator('TEAL'), violet: colorGenerator('VIOLET'), yellow: colorGenerator('YELLOW'), digikala: colorGenerator('DIGIKALA'), info: colorGenerator('BLUE_LIGHT'), border: colorGenerator('BORDER'), shadow: colorGenerator('SHADOW'), text: { primary: THEME_COLORS.TEXT[500], secondary: THEME_COLORS.TEXT[400], disabled: THEME_COLORS.TEXT[100], }, divider: THEME_COLORS.BORDER[100], black: COLORS.BLACK, white: COLORS.WHITE, typography: colorGenerator('TEXT'), }, typography: { fontFamily: 'inherit', }, fonts: { en: { inter: { normal: 'inherit', }, }, fa: { iranYekan: { faNum: 'inherit', normal: 'inherit', }, }, }, components: { MuiButtonBase: { defaultProps: { disableRipple: true, }, }, MuiButton: { defaultProps: { disableElevation: true, }, }, MuiCard: { defaultProps: { elevation: 0, }, }, MuiPaper: { defaultProps: { elevation: 0, }, }, MuiAppBar: { defaultProps: { elevation: 0, }, }, }, };