recastui
Version:
Solidjs components library focused on usability, whitelabel theming, accessibility and developer experience
23 lines (19 loc) • 626 B
JavaScript
/*!
* Original code by Theme-ui
* MIT Licensed, Copyright (c) Brent Jackson.
*
* Credits to the Theme-ui team:
* https://github.com/system-ui/theme-ui/blob/develop/packages/css/src/utils.ts
*/
/**
* 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 };