import { type BreakpointsOptions, type Palette as MuiPalette, type PaletteColor, type ThemeOptions } from '@mui/material/styles'; import { type FontsUrls } from '../components'; import { type Brand } from '../constants'; import { type Background, type Color, type ComponentsColors } from '../palette'; export type Palette = Omit & { /** * @deprecated * Цвет "info" больше не используется, используйте другие цвета * Причина отказа от поддержки: данный цвет отсутствует на макетах ui-kit */ info: PaletteColor & Color; red: Color; green: Color; yellow: Color; grey: Color; error: Color; warning: Color; success: Color; primary: PaletteColor & Color; secondary: PaletteColor & Color; background: Background; components: ComponentsColors; }; type NextFeatureFlagsParams = { /** * Флаг для включения актуальных шрифтов. */ isUseNextTypography?: boolean; }; export type CreateThemeParams = { brand: Brand; options?: ThemeOptions; /** * @deprecated Данная схема подключения шрифтов устарела. Подключайте шрифты через css файл по ссылке * https://frontend-static.astral.ru/fonts/ubuntu/1.1.0/fonts.css * Инструкция: https://main--61baeff6f06230003a88ef8a.chromatic.com/?path=/docs/getting-started-fonts--docs' */ fontsUrls?: FontsUrls; breakpoints?: BreakpointsOptions; nextFeatureFlags?: NextFeatureFlagsParams; }; export declare const createTheme: (params: CreateThemeParams) => import("@mui/material/styles").Theme; export {};