I haven't yet figured out how to add inline styles with the new DSL. I've tried something like:
Copy code
div {
style = {
color = "WHITE"
}
}
but that doesn't work. I've even attempted to grab things like csstype, hoping it was the missing piece, but I just cannot sort out how to make CSS work in this new DSL.
Alexander Arbit
01/08/2022, 3:44 AM
Looking at @turansky’s simple example project again, I finally figured out both the syntax and the library. For future people:
Be sure to import the kotlin-wrappers