Skip to content

chore: remove md2#4895

Open
xdimota7x wants to merge 3 commits intocallstack:mainfrom
xdimota7x:chore/remove-md2
Open

chore: remove md2#4895
xdimota7x wants to merge 3 commits intocallstack:mainfrom
xdimota7x:chore/remove-md2

Conversation

@xdimota7x
Copy link
Copy Markdown

Motivation

This PR removes Material Design 2 support and makes the library MD3-only.
The goal is to simplify the codebase by removing MD2/MD3 branching across components, theming, and utilities, reducing maintenance overhead and inconsistency risk.

Related issue

Paper currently supports both MD2 and MD3, with many conditional code paths (isV3, version-specific theme logic) spread across components and core theming.
This PR addresses that by removing MD2 themes and all associated MD2 behavior/exports.

Test plan

  • All test suites should pass
  • MD3 components should behave as they currently do
  • Components previously branching on MD2/MD3 still render correctly (e.g. Button, Chip, Searchbar, Snackbar, TextInput, SegmentedButtons)

@callstack-bot
Copy link
Copy Markdown

Hey @xdimota7x, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

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.

2 participants