change app color

This commit is contained in:
SoftFever 2023-01-03 22:05:20 +08:00
parent 7ac975475f
commit 9c1a7bbf8b
66 changed files with 165 additions and 163 deletions

View file

@ -142,7 +142,7 @@ void ButtonsListCtrl::SetSelection(int sel)
if (m_selection == sel)
return;
// BBS: change button color
wxColour selected_btn_bg("#00AE42"); // Gradient #00AE42
wxColour selected_btn_bg("#009688"); // Gradient #009688
if (m_selection >= 0) {
StateColor bg_color = StateColor(
std::pair{wxColour(107, 107, 107), (int) StateColor::Hovered},
@ -157,8 +157,8 @@ void ButtonsListCtrl::SetSelection(int sel)
m_selection = sel;
StateColor bg_color = StateColor(
std::pair{wxColour(0, 174, 66), (int) StateColor::Hovered},
std::pair{wxColour(0,174, 66), (int) StateColor::Normal});
std::pair{wxColour(0, 150, 136), (int) StateColor::Hovered},
std::pair{wxColour(0,150, 136), (int) StateColor::Normal});
m_pageButtons[m_selection]->SetBackgroundColor(bg_color);
StateColor text_color = StateColor(