update colors

This commit is contained in:
SoftFever
2026-07-09 19:42:21 +08:00
parent f688a3e741
commit 844c374798
14 changed files with 33 additions and 33 deletions

View File

@@ -455,11 +455,11 @@ std::vector<int> HotEndTable::FilterHotEnds(const NozzleOption& option)
void HotEndTable::MarkRelatedItems(const NozzleOption& option)
{
const static StateColor bg_green(
std::pair<wxColour, int>(wxColour("#DBFDE7"), StateColor::Normal)
std::pair<wxColour, int>(wxColour("#E5F0EE"), StateColor::Normal)
);
const static StateColor bd_green(
std::pair<wxColour, int>(wxColour("#00AE42"), StateColor::Normal)
std::pair<wxColour, int>(wxColour("#009688"), StateColor::Normal)
);
auto filtered_nozzles = FilterHotEnds(option);
for (auto nozzle_id : filtered_nozzles) {
@@ -470,7 +470,7 @@ void HotEndTable::MarkRelatedItems(const NozzleOption& option)
item->SetBackgroundColor(bg_green);
item->SetBorderColor(bd_green);
for (auto child : item->GetChildren()) {
child->SetBackgroundColour("#DBFDE7");
child->SetBackgroundColour("#E5F0EE");
}
}
wxGetApp().UpdateDarkUIWin(this);
@@ -793,9 +793,9 @@ Slic3r::GUI::MultiNozzleSyncDialog::MultiNozzleSyncDialog(wxWindow* parent,std::
StateColor btn_bg_green(
std::pair<wxColour, int>(wxColour(144, 144, 144), StateColor::Disabled),
std::pair<wxColour, int>(wxColour(27, 136, 68), StateColor::Pressed),
std::pair<wxColour, int>(wxColour(61, 203, 115), StateColor::Hovered),
std::pair<wxColour, int>(wxColour(0, 174, 66), StateColor::Normal)
std::pair<wxColour, int>(wxColour(0, 137, 123), StateColor::Pressed),
std::pair<wxColour, int>(wxColour(38, 166, 154), StateColor::Hovered),
std::pair<wxColour, int>(wxColour(0, 150, 136), StateColor::Normal)
);
StateColor btn_text_green(