postcss-utilities
postcss-utilities copied to clipboard
@util hr - should be able to pass 0-4 parameters without any warnings
Hi - Thanks for the helpful plugin!
I believe i've discovered a bug with @util hr;
As per the documentation, 4 parameters can be passed to the hr
utility. This works as expected as far as functionality.
The Issue: I'm currently getting a warning in the build output when I pass only one param or when I pass more than 2 params.
It seems that the issue lies in the walkAtRules function in index.js
Solution: Regarding @util hr;
, based on documentation, you should be able to pass 0-4 parameters with out any warnings.