Commit 593b0d07 authored by Christophe Geuzaine's avatar Christophe Geuzaine

make dark interface a bit darker

parent 9fd91fac
......@@ -382,11 +382,11 @@ void FlGui::applyColorScheme()
}
if(CTX::instance()->guiColorScheme == 1) { // dark mode
Fl::set_color(FL_BACKGROUND_COLOR, 50, 50, 50);
Fl::set_color(FL_BACKGROUND2_COLOR, 120, 120, 120);
Fl::set_color(FL_FOREGROUND_COLOR, 240, 240, 240);
Fl::set_color(FL_BACKGROUND_COLOR, 20, 20, 20);
Fl::set_color(FL_BACKGROUND2_COLOR, 100, 100, 100);
Fl::set_color(FL_FOREGROUND_COLOR, 220, 220, 220);
for(int i = 0; i < FL_NUM_GRAY; i++) {
double min = 0., max = 135.;
double min = 0., max = 80.;
int d = (int)(min + i * (max - min) / (FL_NUM_GRAY - 1.));
Fl::set_color(fl_gray_ramp(i), d, d, d);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment