Files
explore/theme/index.ts
T
2023-01-19 16:38:03 -06:00

30 lines
722 B
TypeScript

import { extendTheme } from '@chakra-ui/react';
import components from './components/index';
import config from './config';
import borders from './foundations/borders';
import breakpoints from './foundations/breakpoints';
import colors from './foundations/colors';
import semanticTokens from './foundations/semanticTokens';
import transition from './foundations/transition';
import typography from './foundations/typography';
import zIndices from './foundations/zIndices';
import global from './global';
const overrides = {
...typography,
...borders,
colors,
components,
config,
styles: {
global,
},
breakpoints,
transition,
zIndices,
semanticTokens,
};
export default extendTheme(overrides);