CSS

System Props for the `css` prop

css

System Props for the css prop. Get all of the theme token aliases, function syntax, and media queries from theme for the css prop.

createCss

createCss returns css, and works similarly to createSystem. Its first argument is the configuration object, whose keys will become your system props. Its second argument is an options object. Use this if you need to customize the functionality of the css function.

Responsive Syntax

css differs from normal system props and styled-system by providing an alternative API for breakpoints. Instead of using the array syntax, css will leverage the mediaQueries property in your theme object, and make them accessible via the $ prefix.