Skip to content

chore: remove md2#4898

Open
xdimota7x wants to merge 3 commits intomainfrom
chore/remove-md2
Open

chore: remove md2#4898
xdimota7x wants to merge 3 commits intomainfrom
chore/remove-md2

Conversation

@xdimota7x
Copy link
Copy Markdown
Collaborator

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)

@xdimota7x xdimota7x mentioned this pull request Apr 15, 2026
@github-actions
Copy link
Copy Markdown

The mobile version of example app from this branch is ready! You can see it 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.

1 participant