Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Material Design 3 #301

Open
ghusta opened this issue Oct 5, 2022 · 5 comments
Open

Migrate to Material Design 3 #301

ghusta opened this issue Oct 5, 2022 · 5 comments
Assignees
Labels
Milestone

Comments

@ghusta
Copy link
Owner Author

ghusta commented Jan 14, 2023

mapping-colors-mdc-appcompat

NOTE: For MD2 only

@ghusta
Copy link
Owner Author

ghusta commented Feb 14, 2023

@ghusta ghusta added this to the 1.16.0 milestone Feb 15, 2023
@ghusta
Copy link
Owner Author

ghusta commented Mar 8, 2023

For status bar theme :

See : Android theming: Set Status Bar color to Action Bar color in Material3

Example :

<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowLightStatusBar">true</item>

@ghusta ghusta pinned this issue Mar 8, 2023
ghusta added a commit that referenced this issue Mar 11, 2023
@ghusta ghusta self-assigned this Mar 11, 2023
ghusta added a commit that referenced this issue Apr 3, 2023
ghusta added a commit that referenced this issue May 5, 2023
@ghusta ghusta added the md3 Material Design 3 label Oct 22, 2023
ghusta added a commit that referenced this issue Oct 28, 2023
@ghusta ghusta modified the milestones: 1.18.0, 1.19.0 May 3, 2024
@ghusta
Copy link
Owner Author

ghusta commented May 16, 2024

Color system change from M2 to M3 :

M2 color system (left) versus M3 color system (right)

Source : https://developer.android.com/develop/ui/compose/designsystems/material2-material3#color

@ghusta
Copy link
Owner Author

ghusta commented May 16, 2024

Given the significant differences between the M2 and M3 color systems, there’s no reasonable mapping for Color parameters. Instead, use the Material Theme Builder tool to generate an M3 color scheme. Use the M2 colors as “core” source colors in the tool, which the tool expands into tonal palettes used by the M3 color scheme. The following mappings are recommended as a starting point:

M2 Material Theme Builder
primary Primary
primaryVariant Secondary
secondary Tertiary
surface or background Neutral

@ghusta ghusta modified the milestones: 1.19.0, 1.20.0 Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant