-
-
Notifications
You must be signed in to change notification settings - Fork 877
Open
Labels
enhancementNew feature or request.New feature or request.
Description
What is the feature you are proposing?
Currently, when using css template literal helper, the generated CSS class looks cryptic, such as css-2458908649.
My proposal is an option to customize it because of readability and debugging (especially for development phase).
For example, Linaria zero-runtime CSS in JS offers classNameSlug in its configuration.
It can even be a function:
module.exports = {
classNameSlug: (hash, title, args) => sha1(`${args.name}-${title}`)
};For me, option to get some kind of css template literal "title" in the class name would be the best one. Be it the variable name, or component name.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request.New feature or request.