What are PostCSS functions?
postcss-preset-mantine provides functions,
mixins and other helpers to simplify working with Mantine styles. Example of using
light-dark
function in styles:
Can I use PostCSS functions in inline styles?
No, PostCSS functions are not supported in inline styles. You can use PostCSS functions only in .css
files.
The following example will not work: