victronenergy / venus-html5-app

HTML5 App including Javascript library that communicates with Venus OS over MQTT websockets
MIT License
102 stars 32 forks source link

chore: bump tailwindcss, postcss to the latest version #426

Open mman opened 5 days ago

mman commented 5 days ago

tailwindcss provides set of predefined CSS classes for colouring and layout as well as custom layout breakpoints, and colors. postcss scans all produced html content, and together with autoprefixer replaces all used CSS classes in the app with the tailwindcss provided ones.

Naive upgrade of tailwindcss broke the layout and colors, so it will require step by step approach coordinated with updating postcss.

mman commented 5 days ago

This one breaks our dark theme and styling. Needs investigation.

-    "tailwindcss": "^3.2.7",
+    "tailwindcss": "^3.3.0",

Here is the blog post announcing the update: https://tailwindcss.com/blog/tailwindcss-v3-3

And here is the appropriate GitHub release: https://github.com/tailwindlabs/tailwindcss/releases/tag/v3.3.0