Skip to content

Complete SCSS/MUI to TailwindCSS migration (#147-#155) - #203

Merged
mathcodes merged 1 commit into
mainfrom
refactor/tailwind-147-155
Nov 30, 2026
Merged

mathcodes merged 1 commit into
mainfrom
refactor/tailwind-147-155

Conversation

@mathcodes

Copy link
Copy Markdown
Owner
  • Remove dead MUI/SCSS components superseded by Tailwind equivalents: card (ItemCard, Card -> PlatformCard), item, table (-> TailwindTable), unrouted MUI HackerRank page, unused Coder component and pages.css
  • Refactor HighlightComponent from styled-components to Tailwind utilities, preserving the prism dracula theme and line-number layout; also stop spreading the key prop returned by prism-react-renderer
  • Drop now-unused dependencies: @mui/material, @mui/icons-material, @mui/x-data-grid, @emotion/react, @emotion/styled, styled-components

Closes #147, closes #148, closes #150, closes #151, closes #152, closes #153, closes #154, closes #155

- Remove dead MUI/SCSS components superseded by Tailwind equivalents:
  card (ItemCard, Card -> PlatformCard), item, table (-> TailwindTable),
  unrouted MUI HackerRank page, unused Coder component and pages.css
- Refactor HighlightComponent from styled-components to Tailwind
  utilities, preserving the prism dracula theme and line-number layout;
  also stop spreading the key prop returned by prism-react-renderer
- Drop now-unused dependencies: @mui/material, @mui/icons-material,
  @mui/x-data-grid, @emotion/react, @emotion/styled, styled-components

Closes #147, closes #148, closes #150, closes #151, closes #152,
closes #153, closes #154, closes #155

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@vercel

vercel Bot commented Nov 30, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
contentfordevelopers Ready Ready Preview Nov 30, 2026 8:12am UTC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the legacy UI cleanup and highlighter migration.

No open issues 🎉

1 file not reviewed
  • pnpm-lock.yaml: Generated file
What changed in this PR

This PR removes legacy UI code superseded by the application’s Tailwind components and migrates the active code highlighter away from styled-components, supporting the cleanup tracked in #147–#155.

Changes:

  • Deletes unused card, item, table, coder, and HackerRank components, along with obsolete styles and source maps.
  • Converts HighlightComponent to Tailwind utilities, retaining the Dracula theme and line-number layout while avoiding spreading React’s key prop.
  • Removes MUI, Emotion, and styled-components dependencies and updates the lockfile.
File Description
src/​pages/​pages.css Removes unused page styles.
src/​pages/​HackerRank.jsx Deletes the unrouted legacy MUI page.
src/​components/​table/​Table.scss Removes styles bundled with the obsolete table.
src/​components/​table/​Table.jsx Deletes the MUI table superseded by TailwindTable.
src/​components/​item/​Item.scss Removes unused item styles.
src/​components/​item/​Item.jsx Deletes the unused MUI item component.
src/​components/​highlight/​HighlightComponent.jsx Replaces styled-components with Tailwind and filters spread keys.
src/​components/​coder/​Coder.jsx Deletes the unused styled-components highlighter.
src/​components/​card/​ItemCard.scss Removes legacy item-card styles.
src/​components/​card/​ItemCard.jsx Deletes the unused MUI item-card implementation.
src/​components/​card/​ItemCard.css.map Removes an obsolete style source map.
src/​components/​card/​Card.jsx Deletes the legacy card superseded by PlatformCard.
src/​components/​card/​Card.css.map Removes the legacy card’s source map.
src/​components/​card/​Card.css Removes obsolete card styling.
pnpm-lock.yaml Prunes removed styling libraries and refreshes dependency metadata.
package.json Removes six unused UI and styling dependencies.

Review effort: Balanced

@mathcodes
mathcodes merged commit 1d020a6 into main Nov 30, 2026
8 checks passed
@mathcodes
mathcodes deleted the refactor/tailwind-147-155 branch November 30, 2026 08:20

This branch was successfully deployed

1 active deployment
Preview — 5c732683 Deployed Nov 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants