ENH:optimize the color of text in dark mode

Change-Id: I458250cfa43115b882ea4362e0e5620d8c5f8fb8
This commit is contained in:
tao wang 2023-05-30 20:59:07 +08:00 committed by Lane.Wei
parent 52aecca564
commit e1199884d8
2 changed files with 2 additions and 2 deletions

View file

@ -1192,7 +1192,7 @@ void AmsReplaceMaterialDialog::create()
label_title->SetForegroundColour(0x00AE42);
auto label_txt = new Label(this, _L("When the current material run out,the printer will continue to print in the following order."));
label_txt->SetFont(Label::Body_13);
label_txt->SetForegroundColour(0x323A3D);
label_txt->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#323A3C")));
label_txt->SetMinSize(wxSize(FromDIP(380), -1));
label_txt->SetMaxSize(wxSize(FromDIP(380), -1));
label_txt->Wrap(FromDIP(380));