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

@@ -33,7 +33,7 @@
static const wxColour WGT_GREY200 = wxColour(248, 248, 248);
static const wxColour WGT_GREY300 = wxColour(238, 238, 238);
static wxColour s_hgreen_clr("#00AE42");
static wxColour s_hgreen_clr("#009688");
namespace Slic3r::GUI
{

View File

@@ -22,7 +22,7 @@
#define WGT_RACK_NOZZLE_SIZE WX_DIP_SIZE(88, 100)
static wxColour s_gray_clr("#B0B0B0");
static wxColour s_hgreen_clr("#00AE42");
static wxColour s_hgreen_clr("#009688");
static wxColour s_red_clr("#D01B1B");
wxDEFINE_EVENT(EVT_NOZZLE_RACK_NOZZLE_ITEM_SELECTED, wxCommandEvent);

View File

@@ -612,7 +612,7 @@ void wgtDeviceNozzleRackHotendUpdate::UpdateInfo(const DevNozzle& nozzle)
m_used_time->Show(true);
m_status_label->Show(true);
m_status_bitmap->Show(true);
m_status_label->SetForegroundColour(wxColour("#00AE42"));
m_status_label->SetForegroundColour(wxColour("#009688"));
m_status_label->SetLabel(_L("Refresh"));
m_status_bitmap->SetBitmap(m_refresh_icon->bmp());
m_status_bitmap->Refresh();

View File

@@ -13,7 +13,7 @@
#include "slic3r/GUI/Widgets/Label.hpp"
static wxColour s_gray_clr("#B0B0B0");
static wxColour s_hgreen_clr("#00AE42");
static wxColour s_hgreen_clr("#009688");
static wxColour s_red_clr("#D01B1B");
static std::vector<int> a_nozzle_seq = {16, 18, 20, 17, 19, 21};

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(