mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
42 lines
1.1 KiB
TypeScript
42 lines
1.1 KiB
TypeScript
import { createSystem, defaultConfig, defineConfig } from '@chakra-ui/react';
|
|
|
|
import { keyframes } from './foundations/animations';
|
|
import * as borders from './foundations/borders';
|
|
import breakpoints from './foundations/breakpoints';
|
|
import colors from './foundations/colors';
|
|
import durations from './foundations/durations';
|
|
import semanticTokens from './foundations/semanticTokens';
|
|
import shadows from './foundations/shadows';
|
|
import { fonts, textStyles } from './foundations/typography';
|
|
import zIndex from './foundations/zIndex';
|
|
import globalCss from './globalCss';
|
|
import { recipes, slotRecipes } from './recipes';
|
|
|
|
const customConfig = defineConfig({
|
|
globalCss,
|
|
theme: {
|
|
breakpoints,
|
|
keyframes,
|
|
recipes,
|
|
slotRecipes,
|
|
semanticTokens,
|
|
textStyles,
|
|
tokens: {
|
|
...borders,
|
|
colors,
|
|
durations,
|
|
fonts,
|
|
shadows,
|
|
zIndex,
|
|
fontWeights: {
|
|
normal: { value: '400' },
|
|
medium: { value: '500' },
|
|
semibold: { value: '600' },
|
|
bold: { value: '700' },
|
|
},
|
|
},
|
|
},
|
|
});
|
|
|
|
export default createSystem(defaultConfig, customConfig);
|