Files
explore/theme/theme.ts
T
tom goriunovandGitHub 64f09acce9 Pack Chakra theme into NPM package (#2115)
* build package

* update version

* fix name collision

* add workflow
2024-08-12 18:13:07 +02: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);