import { createContext } from "react";
import { mxSetup } from "data/dataMx";
import { ISetup } from "interfaces";

const defaultState = {
  currentTheme: mxSetup.currentTheme,
  fontFamily: mxSetup.fontFamily,
  mediaQuery: mxSetup.mediaQuery,
};

export const ThemeContext = createContext<ISetup>(defaultState);
