Skip to content

refactor(sponsors): replace sass with Tailwind#8118

Open
rolandixor wants to merge 4 commits intowebpack:mainfrom
rolandixor:refactor/sponsors-tailwind
Open

refactor(sponsors): replace sass with Tailwind#8118
rolandixor wants to merge 4 commits intowebpack:mainfrom
rolandixor:refactor/sponsors-tailwind

Conversation

@rolandixor
Copy link
Copy Markdown
Contributor

Summary

This expands on the work to deprecate SASS (see #8047) by updating Sponsors.jsx to use Tailwind. It also removes Sponsors.scss.

What kind of change does this PR introduce?

In Sponsors.jsx I made the following changes:

  • Replaced all custom classes with Tailwind classes.
  • Added a function to change the sponsored images when in darkmode.
  • Removed the reference to Sponsors.scss
  • Captured the values from styles/partials/_vars.scss to ensure visual consistency across the board and that no custom properties were required.

Sponsors.scss was progressively cleaned up and eventually removed.

Did you add tests for your changes?

No.

Does this PR introduce a breaking change?

No.

If relevant, what needs to be documented once your changes are merged or what have you already documented?

N/A - nothing changes visually since all styles were preserved through Tailwind.

Use of AI

I used AI to identify which files needing to be changed initially, and in tandem with Talwind docs, to assist with identifying some of the correct Tailwind classes to use, and to assist with compilation errors from my mistakes along the way. I also used AI to create the dark mode function. All other code changes are solely the result of manual effort. I take full responsibility for all changes introduced in this PR.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webpack-js-org Ready Ready Preview, Comment Mar 24, 2026 7:51pm

Request Review

@rolandixor rolandixor marked this pull request as ready for review March 24, 2026 19:56
@rolandixor rolandixor changed the title refactor(sponsors): Corrected errors identified by the linter refactor(sponsors): replace sass with Tailwind Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant