windicss / vite-plugin-windicss

🍃 Windi CSS for Vite ⚡️
MIT License
854 stars 65 forks source link

fix: support multiple whitespace in attribute/value pair #298

Closed eugenesvk closed 2 years ago

eugenesvk commented 2 years ago

The vertically-aligned attributes

  bg     = "blue-400 hover:blue-500 dark:blue-500 dark:hover:blue-600"
  text   = "sm white"
  font   = "mono light"
  p      = "y-2 x-4"
  border = "2 rounded blue-200"

are much more readable vs the non-vertically-aligned

  bg="blue-400 hover:blue-500 dark:blue-500 dark:hover:blue-600"
  text="sm white"
  font="mono light"
  p="y-2 x-4"
  border="2 rounded blue-200"

fix #256