Join Slack
Powered by
Hi, new to Compose and played around with the Comp...
# compose
q
Qracle
12/31/2020, 1:52 AM
Hi, new to Compose and played around with the Compose codelab samples regarding theming, but having issues with previewing light & dark themes. Greatly appreciate any help / advice!
Untitled
Qracle
12/31/2020, 1:53 AM
This is how it looks like in the preview editor
Qracle
12/31/2020, 1:55 AM
For my dark colors, I have a dark background with white text for my surface colors, but I’m not sure why it isn’t rendering correctly.
Qracle
12/31/2020, 3:45 AM
🤦 Figured out the issue, I was using
0x121212
in
Color.kt
so updated to this
Copy code
val Grey900 = Color(0xFF121212)
6
Views
Open in Slack
Previous
Next