DEV Community

Discussion on: From Swing to Jetpack Compose Desktop #1

Collapse
 
keogami profile image
keogami • Edited

The code looks and feels great (no pun intended... maybe >~<)
but, where are they getting their color from?
Edit: now that I think about it, the question should be: can we style the components?

Collapse
 
tkuenneth profile image
Thomas Künneth

Sorry, almost missed your comment. I accidentally stumbled upon a "builtin" class called DesktopMaterialTheme which extends the known MaterialTheme. If you take a look at the source they pass a MaterialTheme.colorswhich we might be able to replace...

Collapse
 
keogami profile image
keogami

ahh pretty neat, thanks <3