/******************************************************************************** * Copyright (c) 2020 TypeFox and others * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * SPDX-License-Identifier: EPL-2.0 ********************************************************************************/ import { CSSProperties } from 'react'; import { Theme } from '@mui/material'; type Color = CSSProperties['color']; interface StatusColors { dark: Color; light: Color; } interface NeutralColors { light: Color; dark: Color; } interface SelectedColors { border: Color; background: Color; backgroundHover: Color; hover: Color; } interface ScanBackgroundColors { default: Color; light: Color; dark: Color; } interface GrayColors { start: Color; middle: Color; end: Color; gradient: string; } interface UnenforcedColors { stripe: string; } interface CustomPaletteColors { neutral: NeutralColors; textHint: Color; checkboxUnchecked: Color; passed: StatusColors; quarantined: StatusColors; rejected: StatusColors; errorStatus: StatusColors; allowed: Color; blocked: Color; review: Color; selected: SelectedColors; scanBackground: ScanBackgroundColors; gray: GrayColors; unenforced: UnenforcedColors; } declare module '@mui/material/styles/createPalette' { interface Palette extends CustomPaletteColors { } interface PaletteOptions extends Partial { neutral: NeutralColors; textHint: Color; } } export default function createDefaultTheme(themeType: 'light' | 'dark'): Theme; export {}; //# sourceMappingURL=theme.d.ts.map