BaRatin-tools / BaRatinAGE

BaRatin Advanced Graphical Environment
GNU General Public License v3.0
4 stars 0 forks source link

Adapt icons and custom colors for BaRatinAGE to support dark themes #9

Open IvanHeriver opened 1 year ago

IvanHeriver commented 1 year ago

For the linux version, the UI matches the OS theme. However, when the dark mode is the user's preference, the BaRatinAGE UI appears broken as illustrated in the screenshot: some of the UI elements have hard coded colors which only match a light theme.

Screenshot from 2022-11-14 15-55-12

It is probably better to avoid using hard coded colors in the UI except for specific UI elements such as charts.

IvanHeriver commented 5 months ago

BaRatinAGE uses a new cross platform look and feel called FlatLAF which includes some dark themes.

However, due to some custom colors used for some components and the icons, using a dark theme is still not possible.

I'll rename the issue to better reflect what needs to be changed for BaRatinAGE v3 to support dark themes.