Is there a way to retrieve Material You colors from Skip? #86
Replies: 2 comments 1 reply
-
I'm sorry, I'm not exactly sure what you're asking. Are you trying to get the underlying androidx.compose.ui.graphics.Color from a SwiftUI.Color? If so, you can do so like: let swiftUIColor = ... Please let me know if that doesn't answer your question. |
Beta Was this translation helpful? Give feedback.
-
Ah, I see. I'm not familiar enough with Material You to give you specifics, but I can say that Skip doesn't limit your ability to access any Android API. You can add dependencies on Android libraries and import and use Android packages. So however you'd access the color palette in an Android app, you can do the same thing in your Skip app. https://skip.tools/docs/platformcustomization/ |
Beta Was this translation helpful? Give feedback.
-
Is it possible to get the Dynamic Colors provided by Material You via Skip/Swift?
Beta Was this translation helpful? Give feedback.
All reactions