Skip to content

refactor: remove MUI and Emotion - #27821

Merged
jakehwll merged 15 commits into
mainfrom
jakehwll/demui
Aug 17, 2026
Merged

refactor: remove MUI and Emotion#27821
jakehwll merged 15 commits into
mainfrom
jakehwll/demui

Conversation

@jakehwll

@jakehwll jakehwll commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

🤖 This PR was modified by Coder Agents on behalf of Jake Howell.

Until we meet again.

Stack

Final removal (c39b664)

Removes the last of MUI and Emotion now that every surface has been migrated:

  • Dependencies: drops @mui/material and @emotion/{cache,css,react,styled} from package.json / pnpm-lock.yaml, and deletes the @types/emotion.d.ts and @types/mui.d.ts module augmentations.
  • Theming: replaces the Emotion CacheProvider, MUI ThemeProvider / StyledEngineProvider, and CssBaseline in ThemeProvider with a lightweight theme/context.tsx that exposes ThemeContextProvider and a useTheme hook.
  • Global styles: moves the base body styles (background, text color, font, antialiasing) that CssBaseline previously provided into index.css, and drops the temporary MUI modal/popover scrollbar-gutter workaround.
  • Cleanup: removes the MUI → shadcn / Emotion → Tailwind migration guidance from site/AGENTS.md, updates the Storybook preview.tsx, and adjusts assorted components (Command, Slider, Switch, Tabs, SyntaxHighlighter, timing charts) and theme files to consume the new context instead of MUI/Emotion.

@linear-code

linear-code Bot commented Aug 4, 2026

Copy link
Copy Markdown

DEVEX-260

DEVEX-252

@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Docs preview

Check off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here.

@github-actions

This comment was marked as outdated.

@jakehwll jakehwll changed the title refactor(site): arrivederci mui refactor(site): remove MUI and Emotion Aug 11, 2026
@jakehwll jakehwll changed the title refactor(site): remove MUI and Emotion refactor: remove MUI and Emotion Aug 12, 2026
@jakehwll
jakehwll marked this pull request as ready for review August 12, 2026 04:28
@coderagents

coderagents Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Documentation Check

Updates Needed

  • docs/about/contributing/frontend.md - The Styling section was updated (commit 6709aa02) to read "We use Tailwind CSS to handle CSS styles." with shadcn/ui primitives and the cn helper, replacing the stale Emotion guidance. Now matches the codebase after the MUI/Emotion removal.

Automated review via Coder Agents

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c13866144f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread site/src/components/Slider/Slider.tsx
Comment thread site/src/contexts/ThemeProvider.tsx
Comment thread docs/about/contributing/frontend.md
Comment thread site/src/components/Slider/Slider.tsx Outdated
Comment thread site/src/components/Tabs/Tabs.tsx

@aslilac aslilac left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I did a little git merge main && git restore --source=main site/pnpm-lock.yaml && cd site && pnpm i locally and it all looks great!

as y'all have already said here, there is of course more work to be done to follow this up. but this removes a huge dependency from our build and is very much work getting merged.

@jakehwll
jakehwll merged commit ea8ba0c into main Aug 17, 2026
31 checks passed
@jakehwll
jakehwll deleted the jakehwll/demui branch August 17, 2026 07:04
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants