import { atom } from 'recoil'; import { ThemeColors, typography } from '../styles/theme'; import { IColors, IColorsSettings, ITypography } from '../types/theme'; const colorsSettings = atom({ key: 'colors', default: ThemeColors, }); const droppedId = atom({ key: 'droppedId', default: '790', }); const eventsToSpaces = atom({ key: 'eventsToSpaces', default: {}, }); const events = atom({ key: 'events', default: {}, }); const typographySettings = atom({ key: 'typography', default: { ...typography, }, }); export const Store = { colorsSettings, droppedId, eventsToSpaces, events, typographySettings, };