2022-06-21 00:35:30 +00:00
|
|
|
import React from "react";
|
|
|
|
|
|
|
|
import { Theme } from "@mui/material";
|
|
|
|
|
|
|
|
declare module "@mui/material/styles" {
|
2021-01-20 12:07:40 +00:00
|
|
|
interface Theme {
|
|
|
|
custom: {
|
|
|
|
icon: React.CSSProperties["color"];
|
|
|
|
loadingBar: React.CSSProperties["color"];
|
|
|
|
};
|
|
|
|
}
|
2022-06-21 00:35:30 +00:00
|
|
|
|
2021-01-20 12:07:40 +00:00
|
|
|
interface ThemeOptions {
|
2022-06-21 00:35:30 +00:00
|
|
|
custom?: {
|
|
|
|
icon?: React.CSSProperties["color"];
|
|
|
|
loadingBar?: React.CSSProperties["color"];
|
2021-01-20 12:07:40 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-21 00:35:30 +00:00
|
|
|
declare module "@mui/styles/defaultTheme" {
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
|
|
interface DefaultTheme extends Theme {}
|
|
|
|
}
|
|
|
|
|
2021-06-19 08:20:43 +00:00
|
|
|
export { default as Light } from "@themes/Light";
|
|
|
|
export { default as Dark } from "@themes/Dark";
|
|
|
|
export { default as Grey } from "@themes/Grey";
|