macaron-css / macaron

Compiler-augmented typesafe CSS-in-JS with zero runtime, colocation, maximum safety and productivity
https://macaron.js.org/
MIT License
735 stars 16 forks source link

Is there an option to customize class name? #62

Open alexamy opened 2 weeks ago

alexamy commented 2 weeks ago

As for current implementation, the class name is just a hash:

const App = styled(...) => "uuinuq0"

Is there an option to prepend variable name, like so:

const App = styled(...) => "App_uuinuq0"

It is better for debugging, at least.