Skip to content

Proposal to Adopt Tailwind CSS for Improved Styling #179

@Abhijay007

Description

@Abhijay007

Discussed in #177

Originally posted by Abhijay007 January 22, 2024
Hi, Uptane Community 👋 ,

I'd like to bring up a suggestion regarding the current styling practices on our site. we currently employ vanilla CSS styles, with each component having its own separate CSS file. This approach necessitates a considerable amount of CSS for each component, and we've encountered challenges with certain components not exhibiting the desired responsiveness.

Considering these issues, I propose a transition to Tailwind CSS to overhaul our site styles. Tailwind offers several advantages over vanilla CSS, including rapid development, consistency, a mobile-first approach, increased customization capabilities, the need for minimal CSS, enhanced flexibility, and support for responsive design.

Switching to Tailwind would not only enhance the site's visual appeal but also streamline the development process. Tailwind has gained widespread adoption in open-source projects, fostering a robust community. This community support can potentially attract volunteers to contribute and expand our existing set of components.

I encourage everyone to consider this proposal and share your thoughts on adopting Tailwind for our site. Your feedback and contributions are vital to making this transition successful. Let's leverage the benefits of Tailwind CSS to improve our site's design, responsiveness, and overall user experience.

Here are a few resources below to see how we can leverage Tailwind in our documents project and how some sites are already doing the same.

  1. A Guide to Seamless Integration with Tailwind CSS in Docusaurus
  2. Using Tailwind CSS v3 in Docusaurus in 5 Steps
  3. Example from Medusa.js, an open-source project utilizing Tailwind in Docusaurus
  4. Supabase, another popular OSS project using SCSS + Tailwind + Docusaurus

If you have any suggestions or alternative approaches for this transition, please feel free to share them in the discussion below. I am looking forward to your valuable input and support in making our site more efficient and responsive.

Thank you!

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions