UNPKG

@theme-ui/css

Version:

[![Minified Size on Bundlephobia](https://badgen.net/bundlephobia/minzip/@theme-ui/css)](https://bundlephobia.com/package/@theme-ui/css)

15 lines (12 loc) 426 B
/** * Constrained identity function used to constrain user's theme type to Theme * while preserving its exact type. */ const makeTheme = theme => theme; /** * Constrained identity function used to create a styles dictionary * assignable to ThemeStyles while preserving its exact type. */ const makeStyles = styles => styles; const makeColorsScale = colors => colors; export { makeColorsScale, makeStyles, makeTheme };