wow! fscss just dropped an amazing feature with version 1.1.15 -
@define this is going to change how we write css, no doubt abt it.
before the upgrade, arrays and generators were already powerful tools in our arsenal but @define takes things further by allowing us to create reusable style functions! not just those handy utilities. actual programmable styles that can be applied anywhere.
imagine defining a set of rules once then reusing them across your project with ease - its like having customizable templates for css blocks.
anyone tried playing around with @define yet? what are some cool tricks youve discovered?
how do y'all plan to use this in future projects?
⬇️ anyone wants a quick demo or walkthrough on setting up and using these reusable style functions!
link:
https://dev.to/fscss-ttr/how-it-feels-after-fscss-v1115-introduced-define-2c06