-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The css property could be used to pass arbitrary CSS objects.
<span css={{ color: theme('colors', 'blue.500') }}>Blue</span>Output
import { tw as _tw, directive as _directive } from 'twind'
const _identity = (value) => value
// Indirection is for caching
const _css = (object) => _directive(_identity, object)
<span className={_tw`${_css({ color: theme('colors', 'blue.500') })}`}>Blue</span>References:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels