ENH:optimize the color of text in dark mode

Change-Id: I458250cfa43115b882ea4362e0e5620d8c5f8fb8
This commit is contained in:
tao wang authored and Lane.Wei committed 2023-07-07 17:25:51 +08:00
1 parent 52aecca564
commit e1199884d8
2 files changed
+2 -2

No files matched your search

+1 -1
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));