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

Jetpack Compose support #6

Closed
rozPierog opened this issue Nov 11, 2021 · 2 comments · Fixed by #7
Closed

Jetpack Compose support #6

rozPierog opened this issue Nov 11, 2021 · 2 comments · Fixed by #7

Comments

@rozPierog
Copy link
Contributor

I've manage to get MonetCompat to recreate (almost) 1:1 official Jetpack compose color scheme generation
Both are with the same wallpaper

MaterialTheme3.dynamicLightColorScheme() MonetCompat
Android 12L Android 10

image

image

Here is the implementation https://github.com/rozPierog/Cofi/blob/f8676add8d072d04ecafc082f98a6015cb25c3cc/app/src/main/java/com/omelan/cofi/ui/Theme.kt#L31

I would like to contribute this code to this repo so that everyone can use it easily. Is it okay? Or should I create separate repo and publish it separately.

@KieronQuinn
Copy link
Owner

You are most welcome to open a PR with support, I'll merge it.

@huaweikai
Copy link

there has bug,No static method MonetCompatDynamicTheme

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 a pull request may close this issue.

3 participants