UNPKG

@chakra-v2/styled-system

Version:

Style function for css-in-js building component libraries

19 lines (15 loc) 608 B
'use strict'; var index = require('../utils/index.cjs'); var transformFunctions = require('../utils/transform-functions.cjs'); const ring = { ring: { transform: transformFunctions.transformFunctions.ring }, ringColor: index.t.colors((theme) => `--${theme.config.cssVarPrefix}-ring-color`), ringOffset: index.t.prop( (theme) => `--${theme.config.cssVarPrefix}-ring-offset-width` ), ringOffsetColor: index.t.colors( (theme) => `--${theme.config.cssVarPrefix}-ring-offset-color` ), ringInset: index.t.prop((theme) => `--${theme.config.cssVarPrefix}-ring-inset`) }; exports.ring = ring;