Patch Changes
-
a032375: Add a way to create config conditions with nested at-rules/selectors
export default defaultConfig({ conditions: { extend: { supportHover: ['@media (hover: hover) and (pointer: fine)', '&:hover'], }, }, })
import { css } from '../styled-system/css' css({ _supportHover: { color: 'red', }, })
will generate the following CSS:
@media (hover: hover) and (pointer: fine) { &:hover { color: red; } }
-
89ffb6b: Add missing config dependencies for some
styled-system/types
files