mortbopet / Ripes

A graphical processor simulator and assembly editor for the RISC-V ISA
https://ripes.me/
MIT License
2.57k stars 274 forks source link

Improve UI colors by using system-provided palette #300

Open mortbopet opened 1 year ago

mortbopet commented 1 year ago

Currently, Ripes doesn't really use the system palette as made available through QApplication. A result of this is that colors throughout the application may look outdated/non-matching with respect to the system theme that the user is using on their system.

This can be improved by identifying places in Ripes where hardcoded colors are used, and replacing these in favor of using the system palette's provided colors (see the available colors in QPalette).

Also relevant for: https://github.com/mortbopet/Ripes/issues/61 Note: this issue isn't restricted to Ripes, and mostly pertains to VSRTL, since that's where most of the drawing in Ripes is done. More discussion on this topic: https://github.com/mortbopet/Ripes/issues/61