You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently made a library called material-color-react-native to bring Material color utilities including Material color from source image, whether it's from static local file in your app, or from user file/gallery, or from an online image. It also has the Android Dynamic Color to get Material color from user's wallpaper and their color styles. This library is using Turbo Native Modules which means only supported in the new architecture.
Not to forget, the library provides a seamless integration to React Native Paper color provider. So you can get use Material color or Android Dynamic Color from this library and provide to the PaperProviderreally easy.
My motive is to bring Material color builder from a source image for Android and iOS (macOS fortunately is also supported), because the original @material/material-color-utilities is only including the sourceColorFromImage only for Web, and I had to use React Native Skia only for that utility and that was really an overkill.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Everyone
I recently made a library called material-color-react-native to bring Material color utilities including Material color from source image, whether it's from static local file in your app, or from user file/gallery, or from an online image. It also has the Android Dynamic Color to get Material color from user's wallpaper and their color styles. This library is using Turbo Native Modules which means only supported in the new architecture.
Not to forget, the library provides a seamless integration to React Native Paper color provider. So you can get use Material color or Android Dynamic Color from this library and provide to the
PaperProviderreally easy.You can visit the web documentation at https://rakadoank.github.io/material-color-react-native.
My motive is to bring Material color builder from a source image for Android and iOS (macOS fortunately is also supported), because the original @material/material-color-utilities is only including the sourceColorFromImage only for Web, and I had to use React Native Skia only for that utility and that was really an overkill.
Beta Was this translation helpful? Give feedback.
All reactions