UNPKG

recastui

Version:

Solidjs components library focused on usability, whitelabel theming, accessibility and developer experience

29 lines (23 loc) 761 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); /*! * 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; exports.makeColorsScale = makeColorsScale; exports.makeStyles = makeStyles; exports.makeTheme = makeTheme;