elad2412 / the-new-css-reset

The New Simple and Lighter CSS Reset
https://elad2412.github.io/the-new-css-reset/
MIT License
2.26k stars 229 forks source link

Any plans to output css in JavaScript object notation syntax? #42

Closed Brisklemonade closed 2 years ago

Brisklemonade commented 2 years ago

I myself am a creator of a library, and would love to update my normalize css to use this. However, my library uses css-in-js, so I won't be able to use it in its current state.

Will there be any plans to release a JS object syntax version of this css reset?

elektronik2k5 commented 2 years ago

@Brisklemonade you can read the file and inline it as part of your build stage. There are appropriate tools for this kind of setup. In webpack, for example, you can use the raw-loader for this purpose (v4) or the modern equivalent https://webpack.js.org/guides/asset-modules/#inlining-assets in v5.

elad2412 commented 2 years ago

Hi @Brisklemonade, see if @elektronik2k5 is answering your question