https://kotlinlang.org logo
#compose
Title
# 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!
This is how it looks like in the preview editor
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.
🤦 Figured out the issue, I was using
0x121212
in
Color.kt
so updated to this
Copy code
val Grey900 = Color(0xFF121212)
6 Views