stylify / packages

💎 Monorepository for Stylify packages. Stylify uses CSS-like selectors to generate Extremely optimized utility-first CSS dynamically based on what you write 💎.
https://stylifycss.com
MIT License
424 stars 9 forks source link

Macro should return an object of properties instead of using `selectorProperties.add/addMultiple` #245

Closed Machy8 closed 1 year ago

Machy8 commented 1 year ago

Describe the problem

Describe the proposed solution

Allow returning an object with custom key:

return { [key]: value } 

and for multiple

return {
  [key]: value, 
  'another-property': 'some value'
}

Alternatives considered

.

Importance

nice to have