jantimon/next-yak

use variable name for css class name

Closed this issue · 0 comments

we extract the variable name for runtime replacements.

we could use this name for the class name - this would be quite helpful during development:

const MyButton = styled.button`
  color: orange;
`

right now this would generated the classname yak-1

instead we should generate MyButton_1