@theme-ui/css
Version:
[](https://bundlephobia.com/package/@theme-ui/css)
15 lines (12 loc) • 426 B
JavaScript
/**
* 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 };