Skip to content

Removed Tailwind, Theme Handling, Cleaned up codebase - #2

Merged
JManion32 merged 13 commits into
mainfrom
remove-tailwind
Jun 24, 2026
Merged

Removed Tailwind, Theme Handling, Cleaned up codebase#2
JManion32 merged 13 commits into
mainfrom
remove-tailwind

Conversation

@JManion32

@JManion32 JManion32 commented May 20, 2026

Copy link
Copy Markdown
Owner

GOOD BYE AND GOOD RIDDANCE, TAILWIND!

It was helpful for scaling fast, but slowly became a maintainability nightmare. In the past year, I have come to appreciate the elegance of using normal CSS classes and variables. Now, Speed Roulette uses that only, and the Tailwind dependency is GONE!

Dark Mode toggle has been switched to ThemeToggle. Perhaps in the future we can add more than just light and dark mode, and now it is extensible.

Overall, the site feels smoother, with several small cleanups as a result of a few new shared components and CSS classes. I will dive further into the layout of my components and hooks in future PRs, as they are quite messy right now.

JManion32 added 2 commits May 20, 2026 16:08
Dark Mode toggle has been switched to ThemeToggle. Perhaps in the future we can add more than just light and dark mode, and now it is extensible. Refactored the Leaderboard page to strictly use CSS classes instead of Tailwind preset. colors.css is slowly being populated. It will support all of the color variables and how they should appear based on theme. Next step is to continue to remove Tailwind while making all of the CSS depend on those color variables.
@JManion32 JManion32 changed the title Started Tailwind Refactor, Overhauled Dark Mode Toggle Started Tailwind Removal, Overhauled Dark Mode Toggle May 20, 2026
I should've committed this several weeks ago.
Centralizes the time to switch between themes to a single variable for CSS classes. This is extremeley messy so I am going to jump to another branch to create infrastructure for working on the UI without having to build containers.
Much work still to do, and once tailwind is removed, we need to smoothen out the light/dark mode transitions, and make sure the font and transition vars are set from colors.css.
Removed all Tailwind in favor of CSS classes, and did some small refactoring of components
Ready for merge after testing with a real API and passing CI
@JManion32 JManion32 changed the title Started Tailwind Removal, Overhauled Dark Mode Toggle Removed Tailwind, Overalled Theme Handling, Cleaned some code up Jun 24, 2026
@JManion32 JManion32 changed the title Removed Tailwind, Overalled Theme Handling, Cleaned some code up Removed Tailwind, Theme Handling, Cleaned up codebase Jun 24, 2026
@JManion32
JManion32 merged commit 9fc7b99 into main Jun 24, 2026
11 checks passed
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