PostCSS define-function
PostCSS plugin to implement sass @function.
@) @
It only supports the basic four mixed operations: +
、-
、*
、/
. If you want to be able to use more advanced features, you can use mixins instead or help me to improve it.
Looking forward to your issues and pull requests
Usage
See PostCSS docs for examples for your environment.
Options
Call plugin function to set options:
silent
Remove unknown callFns and do not throw a error. Default is false
.
Test
// basic feature testnpm test// preview visual test resultsnpm run testCase