import { palette } from '../palette'; const simpleColors = { white: '#fff', black: '#000', }; export const colors = { ...simpleColors, ...palette }; export type Colors = typeof colors; type Palette = typeof palette; type PaletteKeys = keyof Palette; export type ColorHue = keyof Palette[PaletteKeys]; export type SimpleColors = keyof typeof simpleColors; export type ColorsWithHue = SimpleColors | `${PaletteKeys}.${ColorHue}`;