import { colors, sizes, space, font, fontSizes, lineHeights, fontWeights, borders, borderWidths, shadows, } from '../theme.js' import type { NonNullishPartialRecord } from './non-nullish-partial-record.type.js' export interface Theme { colors: typeof colors; sizes: typeof sizes; borders: typeof borders; space: typeof space; fontSizes: typeof fontSizes; lineHeights: typeof lineHeights; fontWeights: typeof fontWeights; font: typeof font; shadows: typeof shadows; borderWidths: typeof borderWidths; } export type ThemeOverride = { [key in keyof T]?: NonNullishPartialRecord }