UNPKG

uinix-theme

Version:

Fully configurable framework-agnostic theme system (spec, theme, renderer, themed styles/keyframes/CSS variables) for building UIs. Your theme your rules 🤘.

8 lines (7 loc) • 311 B
export function flattenTheme(theme: Theme, path?: string | undefined): FlattenedTheme; export type CssValue = import('../types.js').CssValue; export type Theme = import('../types.js').Theme; /** * Returns a flattened object with property path as keys */ export type FlattenedTheme = Record<string, CssValue>;