tailwindlabs / tailwindcss.com

The Tailwind CSS documentation website.
https://tailwindcss.com
3.29k stars 1.75k forks source link

Utility name cleanup and other consistency improvements #1801

Closed reinink closed 7 months ago

reinink commented 7 months ago

Resolves #1793

This PR updates the documentation to use the utility-* format everywhere instead of the utility-{unit} format. This is the format we've generally used on newer documentation pages as it's a little shorter, and also removes any confusion about whether the curly brackets are required in some way when using Tailwind CSS.

While working through this I also made a bunch of consistency improvements, likely using the same sentence format between each documentation page, making sure that the arbitrary value sections are all using the CSS property and not the utility name, etc.

vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 22, 2024 3:46pm