kiooeht / ModTheSpire

External mod loader for Slay The Spire
MIT License
411 stars 87 forks source link

Fix Dark Mode Mode System Look and Feels #204

Open bbb651 opened 9 months ago

bbb651 commented 9 months ago

Tested with gtk dark look and feel on linux using the following system properties (java arguments):

-Dawt.useSystemAAFontSettings=on
-Dswing.aatext=true
-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
-Dswing.systemlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel

GTK Dark LaF

bbb651 commented 9 months ago

As a side note it might be nice to have an option to enable a dark look and feel by default such as Darcula as a light mode look and feel is the default pretty much everywhere (except technically GTK but it does not work out of the box anywhere afaik) and they basically all don't feel native anyway

bbb651 commented 9 months ago

Turns out getting the gtk look and feel to run inside of the steam runtime container thing is absolute hell, I'm thinking of just adding FlatLaf as a maven dependency and just using it's dark mode for all platforms instead of the system look and feel, what do you think @kiooeht?