Jarzka / stylefy

Clojure(Script) library for styling user interface components with ease.
MIT License
317 stars 11 forks source link

how to define CSS Reset at the global level? #51

Closed pragyanatvade closed 3 years ago

pragyanatvade commented 3 years ago

I wish to define a global CSS for CSS reset, is there a way to do it in stylefy?

Jarzka commented 3 years ago

There is no direct support for CSS resets. I have seen some people using stylefy/tag to select * and resetting options. However, it would be nice if there was a separate option for this as this feels a bit hacky.

If you need more specific CSS reset rules, I believe the easiest way is to include a separate CSS file which contains your reset options.