Closed milesj closed 5 years ago
Some points.
theme
@selectors
// Before { ':first-child': {}, '::-moz-focus-inner': {} ':not([disabled]):hover': {}, } // After { ':first-child': {}, '@selectors': { '::-moz-focus-inner': {} ':not([disabled]):hover': {}, }, }
@keyframes
// Before { '@keyframes': { fade: { from: {}, to: {}, }, }, element: { animationName: 'fade', }, } // After { element: { animationName: { name: 'fade', from: {}, to: {}, }, }, }
@font-face
// Before // Before { '@font-face': { Roboto: { src: 'url()', }, }, element: { fontFamily: 'Roboto', }, } // After { element: { fontFamily: { src: 'url()', fontFamily: 'Roboto', }, }, }
Donezo.
Some points.
theme
prop may be optional now, assuming previous types weren't optional.@selectors
.@keyframes
is no longer definable within a component.@font-face
is no longer definable within a component.