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 material3 #211

Closed
wants to merge 0 commits into from
Closed

Conversation

serbelga
Copy link
Contributor

@serbelga serbelga commented Oct 22, 2023

This is a proposal to use Material 3 in the :shared-ui module.

I've been trying to use Material3 Compose components and themes in the views of the shared-ui module.

The colors are generated from the Figma Material Theme Builder plugin https://www.figma.com/community/plugin/1034969338659738588/material-theme-builder. To improve visibility on light surfaces, I have set the blue that was being used as a secondary color as the primary color and the green that was used as the primary color as the secondary color.

Also, I have added the Montserrat font to adopt the same font used on the Droidcon website.

ℹ️ I have removed the two lines that specified the color of the status bar and navigation bar in themes.xml in the android module until using version 1.8.0 of Activity Compose that allows using the edgeToEdgeEnabled() method.

ℹ️ I haven't migrated views in android module to Material3 because they seem to not been used and will be removed in #212

Android

Light Theme

Dark Theme


iOS

Light Theme

Dark Theme

@serbelga serbelga marked this pull request as ready for review October 22, 2023 12:07
@kpgalligan
Copy link
Contributor

Thanks for the PR! I think I confused github as I merged after a rebase and some minor changes, but this is still "open". I assumed it would figure out that it was merged. Will see if I can get github to recognize that without closing it.

@serbelga
Copy link
Contributor Author

serbelga commented Nov 3, 2023

I synced my branch with the latest changes to main and it automatically closed this PR. I see that my commits are now on the main branch.
https://github.com/touchlab/DroidconKotlin/commits?author=serbelga

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