Skip to content

Conversation

@lukewalczak
Copy link
Member

@lukewalczak lukewalczak commented May 12, 2025

Based on: #4725

Motivation

  • Removed isV3 from components:
    All references to the isV3 variable or property have been removed from components and utilities, eliminating conditional logic based on theme version.

  • Destructured Theme Prop:
    Components now consistently destructure the theme prop to directly access colors, fonts, and other theme properties, improving code readability and maintainability.

  • Removed v2 Colors:
    All usage of v2 color tokens (such as MD2Colors) has been removed. Components now use the latest color tokens from the theme, ensuring consistency and alignment with the current design system.

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here.

@callstack-bot
Copy link

callstack-bot commented May 12, 2025

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

@lukewalczak lukewalczak force-pushed the refactor/remove-md2-components branch 2 times, most recently from 63575e3 to 270cc44 Compare May 12, 2025 09:10
@lukewalczak lukewalczak force-pushed the refactor/remove-md2-components branch from 3121d9f to 6e4785c Compare May 13, 2025 13:34
@lukewalczak lukewalczak changed the base branch from main to next May 13, 2025 13:36
@lukewalczak lukewalczak added the v6 label May 14, 2025
@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here.

@lukewalczak lukewalczak marked this pull request as ready for review May 14, 2025 10:40
@lukewalczak lukewalczak merged commit e44bc5a into next May 14, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants