import { createTheme } from "@mui/material";
import { components } from "./components";
import { palette } from "./palette";

const theme = createTheme({
	...palette,
	...components,
});
const fontFamily = {
	fontFamily: [
		"Inter",
		"Open Sans",
		"-apple-system",
		"BlinkMacSystemFont",
		"Arial",
		"sans-serif",
	].join(","),
};

theme.p = {
	...fontFamily,
};

export default theme;
