add stroke colors

This commit is contained in:
Abhinav 2022-06-22 10:40:56 +05:30
parent e0b8420b1c
commit 13fbc92fad

View file

@ -2,16 +2,19 @@ import {
createTheme,
PaletteColor,
PaletteColorOptions,
TypeText,
} from '@mui/material/styles';
declare module '@mui/material/styles' {
interface Palette {
accent: PaletteColor;
danger: PaletteColor;
stroke: TypeText;
}
interface PaletteOptions {
accent?: PaletteColorOptions;
danger?: PaletteColorOptions;
stroke?: Partial<TypeText>;
}
interface TypographyVariants {
@ -131,6 +134,11 @@ const darkThemeOptions = createTheme({
danger: {
main: '#c93f3f',
},
stroke: {
primary: '#ffffff',
secondary: 'rgba(256,256,256,0.24)',
disabled: 'rgba(256,256,256,0.12)',
},
background: { default: '#000000', paper: '#1b1b1b' },
grey: {
A100: '#ccc',