Here's a fun one...you wonder why themes aren't wo...
# compose-desktop
k
Here's a fun one...you wonder why themes aren't working and find out that you have the wrong material import for Scaffold because your theme is Material3 based and the regular material.Scaffold was imported instead 🤦
same 3
d
I wish I could depend on material icons without depending on material
m
You can copy paste the individual icons into your project without depending on it at all.
☝️ 2
a
What should be addressed in the compose desktop library is the default import behaviour. E.g. by default the desktop library should be material-agnostic, then the developer would import either material or material3. In that way, the "material2" composables wouldn't mix with the 3 if not necessarily needed, effectively avoiding issues where some composables take their appearance from a m3 theme and some others from m2, where the developer forgot to upgrade or mistakenly imported the material 2 composable
1
k
ditto...was wondering why there wasn't a material3 vs. material2 version of this lib
Copy code
org.jetbrains.compose.foundation:foundation-desktop
The material components should probably be pulled out of that into .material and .material3 versions