GUI: add colors base setting

pave the way for.light themes
This commit is contained in:
tildearrow 2022-03-03 12:44:29 -05:00
parent 64146bed5e
commit e0cda2a77f
3 changed files with 16 additions and 1 deletions

View file

@ -5440,7 +5440,11 @@ void FurnaceGUI::parseKeybinds() {
void FurnaceGUI::applyUISettings() {
ImGuiStyle sty;
ImGui::StyleColorsDark(&sty);
if (settings.guiColorsBase) {
ImGui::StyleColorsLight(&sty);
} else {
ImGui::StyleColorsDark(&sty);
}
if (settings.dpiScale>=0.5f) dpiScale=settings.dpiScale;