Color fixes (#5712)
* Flushing volumes button background color for active state * Sliced plates bar > Use different colors on plate numbers for light / dark theme * Remove 3D navigator background * Device & Project Tab > Sidebar > Selected tab background color * Merge branch 'SoftFever:main' into color-fixes-3 * Correct sidebar button color for light mode for bbl monitor / calibration and project page * Homepage fixes * Fix parameters group title color too bright on dark theme * Search popup hovered item background color * Sidebar > Search box > match border color with other input/combo boxes * fix indents * Add descriptions to statecolors * Paint gizmos > remove background of non active Tool / Brush buttons on dark mode * Merge branch 'SoftFever:main' into color-fixes-3 * Top bar / Main tab bar button hover background * Fix broken color change from last merges * Gizmos selected text background * Keyboard shortcuts window selected tab bg color * About page link color * Project page fixes * match disabled text color on combo boxes with input boxes * Use better background color for disabled elements on dark mode * match all colors for disabled elements * BBL > Monitor tab > Add printer text and icon not visible on dark theme * even darker bg color for homepage thumbnails * Sidebar arrow not visible * Better bg color for row highlighting * match style of gizmo combo box * Merge branch 'SoftFever:main' into color-fixes-3 * Revert changes for main tab bar background color of button while hover
This commit is contained in:
parent
5e4dd4d847
commit
4f6c17f568
28 changed files with 111 additions and 97 deletions
|
@ -1,3 +1,3 @@
|
|||
<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3.346 0.361999H5.068V3.078H7.77V4.786H5.068V7.502H3.346V4.786H0.63V3.078H3.346V0.361999Z" fill="black"/>
|
||||
<path d="M3.346 0.361999H5.068V3.078H7.77V4.786H5.068V7.502H3.346V4.786H0.63V3.078H3.346V0.361999Z" style="fill:#949494"/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 214 B After Width: | Height: | Size: 222 B |
|
@ -1,3 +1,3 @@
|
|||
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M5 12L8.50024 7.6247C8.79242 7.25948 8.79204 6.74005 8.49986 6.37483C7.23348 4.79185 6.38744 3.73431 5 2" stroke="#909090" stroke-linecap="round"/>
|
||||
<path d="M5 12L8.50024 7.6247C8.79242 7.25948 8.79204 6.74005 8.49986 6.37483C7.23348 4.79185 6.38744 3.73431 5 2" style="stroke:#949494" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 266 B |
|
@ -33,7 +33,7 @@ body
|
|||
/*----Left Menu Button----*/
|
||||
#LogoutBtn:hover
|
||||
{
|
||||
background: #004942;
|
||||
background: #223C3C;
|
||||
color: #efeff0;
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,7 @@ body
|
|||
.BtnItem:hover
|
||||
{
|
||||
color: #efeff0;
|
||||
background-color: #004942;
|
||||
background-color: #223C3C;
|
||||
}
|
||||
|
||||
.BtnItem:hover .LeftIcon
|
||||
|
@ -56,7 +56,7 @@ body
|
|||
.BtnItemSelected
|
||||
{
|
||||
color: #efeff0;
|
||||
background-color: #004942;
|
||||
background-color: #223C3C;
|
||||
}
|
||||
|
||||
.BtnItemSelected .LeftIcon
|
||||
|
@ -67,8 +67,8 @@ body
|
|||
/*-----Right Top MenuBtn-----*/
|
||||
.MenuItem:hover
|
||||
{
|
||||
border-color: #4db6ac;
|
||||
background-color: #004942;
|
||||
border-color: #00675b;
|
||||
background-color: #223C3C;
|
||||
}
|
||||
|
||||
#RecentClearAllBtn:hover
|
||||
|
@ -76,6 +76,11 @@ body
|
|||
color: #000;
|
||||
}
|
||||
|
||||
.FileImg
|
||||
{
|
||||
background-color: #36363C; /*ORCA use darker color for dark theme for thumbnails*/
|
||||
}
|
||||
|
||||
#recnet_context_menu
|
||||
{
|
||||
color: #efeff0;
|
||||
|
@ -84,6 +89,11 @@ body
|
|||
box-shadow: 0px 0px 3px #DCDCDC;
|
||||
}
|
||||
|
||||
.CT_Item:hover
|
||||
{
|
||||
background-color:#00675b; /*ORCA color*/
|
||||
}
|
||||
|
||||
/*----User Manual------*/
|
||||
.UG_DESC
|
||||
{
|
||||
|
|
|
@ -203,12 +203,12 @@ body
|
|||
|
||||
.BtnItem:hover
|
||||
{
|
||||
background-color: #E0FCEB;
|
||||
background-color: #BFE1DE; /*ORCA color with %25 opacity*/
|
||||
}
|
||||
|
||||
.BtnItemSelected
|
||||
{
|
||||
background-color: #e0fcf3;
|
||||
background-color: #BFE1DE; /*ORCA color with %25 opacity*/
|
||||
}
|
||||
|
||||
.BtnIcon
|
||||
|
@ -277,8 +277,8 @@ body
|
|||
|
||||
.MenuItem:hover
|
||||
{
|
||||
border-color: #4db6ac;
|
||||
background-color: #E0FCEB;
|
||||
border-color: #009688; /*ORCA color*/
|
||||
background-color: #E5F0EE; /*ORCA color with %25 opacity*/
|
||||
}
|
||||
|
||||
.MenuIcon
|
||||
|
@ -465,7 +465,7 @@ body
|
|||
.CT_Item:hover
|
||||
{
|
||||
cursor: pointer;
|
||||
background-color: #0078D4;
|
||||
background-color:#009688; /*ORCA color*/
|
||||
border-radius: 4px;
|
||||
color: #fff;
|
||||
}
|
||||
|
|
|
@ -339,7 +339,7 @@ AboutDialog::AboutDialog()
|
|||
(boost::format(
|
||||
"<html>"
|
||||
"<body>"
|
||||
"<p style=\"text-align:left\"><a href=\"https://github.com/SoftFever/Orcaslicer\">https://github.com/SoftFever/Orcaslicer</ a></p>"
|
||||
"<p style=\"text-align:left\"><a style=\"color:#009789\" href=\"https://github.com/SoftFever/Orcaslicer\">https://github.com/SoftFever/Orcaslicer</ a></p>"
|
||||
"</body>"
|
||||
"</html>")
|
||||
).str());
|
||||
|
|
|
@ -843,6 +843,7 @@ void AuxiliaryPanel::init_tabpanel()
|
|||
auto back_btn = new Button(this, _L("return"), "assemble_return", wxBORDER_NONE | wxBU_LEFT | wxBU_EXACTFIT);
|
||||
back_btn->SetSize(wxSize(FromDIP(220), FromDIP(18)));
|
||||
back_btn->SetBackgroundColor(btn_bg_green);
|
||||
back_btn->SetTextColor(StateColor (std::pair<wxColour, int>(wxColour("#FDFFFD"), StateColor::Normal))); // ORCA fixes color change on text. icon stays white color but text changes to black without this
|
||||
back_btn->SetCornerRadius(0);
|
||||
back_btn->Bind(wxEVT_COMMAND_BUTTON_CLICKED, [this](wxEvent& e) {
|
||||
auto event = wxCommandEvent(EVT_AUXILIARY_DONE);
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
#define AUFILE_GREY300 wxColour(238, 238, 238)
|
||||
#define AUFILE_GREY200 wxColour(248, 248, 248)
|
||||
#define AUFILE_BRAND wxColour(0, 150, 136)
|
||||
#define AUFILE_BRAND_TRANSPARENT wxColour(215, 232, 222)
|
||||
#define AUFILE_BRAND_TRANSPARENT wxColour("#E5F0EE") // ORCA color with %10 opacity
|
||||
//#define AUFILE_PICTURES_SIZE wxSize(FromDIP(300), FromDIP(300))
|
||||
//#define AUFILE_PICTURES_PANEL_SIZE wxSize(FromDIP(300), FromDIP(340))
|
||||
#define AUFILE_PICTURES_SIZE wxSize(FromDIP(168), FromDIP(168))
|
||||
|
|
|
@ -336,7 +336,7 @@ wxBitmap* BitmapCache::load_svg(const std::string &bitmap_name, unsigned target_
|
|||
replaces["\"#00FF00\""] = "\"#FF0000\"";
|
||||
replaces["\"#009688\""] = "\"#00675b\"";
|
||||
replaces["#DBDBDB"] = "#4A4A51"; // ORCA border color
|
||||
replaces["#F0F0F1"] = "#404040"; // ORCA disabled background color
|
||||
replaces["#F0F0F1"] = "#333337"; // ORCA disabled background color
|
||||
replaces["#262E30"] = "#EFEFF0"; // ORCA
|
||||
} else {
|
||||
replaces["#949494"] = "#7C8282"; // ORCA replace icon line color for light theme
|
||||
|
|
|
@ -7852,7 +7852,7 @@ void GLCanvas3D::_render_imgui_select_plate_toolbar()
|
|||
ImVec4 scroll_col = ImVec4(0.77f, 0.77f, 0.77f, 1.0f);
|
||||
//ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(0.f, 0.f, 0.f, 1.0f));
|
||||
//use white text as the background switch to black
|
||||
ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1.0f, 1.0f, 1.0f, 1.0f));
|
||||
ImGui::PushStyleColor(ImGuiCol_Text, m_is_dark ? ImVec4(.9f, .9f, .9f, 1) : ImVec4(.3f, .3f, .3f, 1)); // ORCA Plate number text > Add support for dark mode
|
||||
ImGui::PushStyleColor(ImGuiCol_WindowBg, window_bg);
|
||||
ImGui::PushStyleColor(ImGuiCol_ScrollbarBg, ImVec4(0.f, 0.f, 0.f, 0.f)); // ORCA using background color with opacity creates a second color. This prevents secondary color
|
||||
ImGui::PushStyleColor(ImGuiCol_ScrollbarGrabActive, scroll_col);
|
||||
|
|
|
@ -2876,7 +2876,7 @@ void GUI_App::init_label_colours()
|
|||
#if defined(_WIN32) || defined(__linux__) || defined(__APPLE__)
|
||||
m_color_label_default = is_dark_mode ? wxColour(250, 250, 250) : m_color_label_sys; // wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT);
|
||||
m_color_highlight_label_default = is_dark_mode ? wxColour(230, 230, 230): wxSystemSettings::GetColour(/*wxSYS_COLOUR_HIGHLIGHTTEXT*/wxSYS_COLOUR_WINDOWTEXT);
|
||||
m_color_highlight_default = is_dark_mode ? wxColour(78, 78, 78) : wxSystemSettings::GetColour(wxSYS_COLOUR_3DLIGHT);
|
||||
m_color_highlight_default = is_dark_mode ? wxColour("#36363B") : wxColour("#F1F1F1"); // ORCA row highlighting
|
||||
m_color_hovered_btn_label = is_dark_mode ? wxColour(255, 255, 254) : wxColour(0,0,0);
|
||||
m_color_default_btn_label = is_dark_mode ? wxColour(255, 255, 254): wxColour(0,0,0);
|
||||
m_color_selected_btn_bg = is_dark_mode ? wxColour(84, 84, 91) : wxColour(206, 206, 206);
|
||||
|
|
|
@ -291,6 +291,7 @@ void GLGizmoFdmSupports::on_render_input_window(float x, float y, float bottom_l
|
|||
if (i != 0) ImGui::SameLine((empty_button_width + m_imgui->scaled(1.75f)) * i + m_imgui->scaled(1.3f));
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize, 0.0);
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.f, 0.f, 0.f, 0.f)); // ORCA Removes button background on dark mode
|
||||
ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1.f, 1.f, 1.f, 1.f)); // ORCA: Fixes icon rendered without colors while using Light theme
|
||||
if (m_current_tool == tool_ids[i]) {
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.f, 0.59f, 0.53f, 0.25f)); // ORCA use orca color for selected tool / brush
|
||||
|
@ -306,7 +307,7 @@ void GLGizmoFdmSupports::on_render_input_window(float x, float y, float bottom_l
|
|||
ImGui::PopStyleColor(4);
|
||||
ImGui::PopStyleVar(2);
|
||||
}
|
||||
ImGui::PopStyleColor(1);
|
||||
ImGui::PopStyleColor(2);
|
||||
ImGui::PopStyleVar(1);
|
||||
|
||||
if (btn_clicked && m_current_tool != tool_ids[i]) {
|
||||
|
|
|
@ -514,7 +514,8 @@ void GLGizmoMmuSegmentation::on_render_input_window(float x, float y, float bott
|
|||
|
||||
if (i != 0) ImGui::SameLine((empty_button_width + m_imgui->scaled(1.75f)) * i + m_imgui->scaled(1.5f));
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize, 0.0);
|
||||
ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1.f, 1.f, 1.f, 1.f)); // ORCA: Fixes icon rendered without colors while using Light theme
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.f, 0.f, 0.f, 0.f)); // ORCA Removes button background on dark mode
|
||||
ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1.f, 1.f, 1.f, 1.f)); // ORCA Fixes icon rendered without colors while using Light theme
|
||||
if (m_current_tool == tool_ids[i]) {
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.f, 0.59f, 0.53f, 0.25f)); // ORCA use orca color for selected tool / brush
|
||||
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(0.f, 0.59f, 0.53f, 0.25f)); // ORCA use orca color for selected tool / brush
|
||||
|
@ -529,7 +530,7 @@ void GLGizmoMmuSegmentation::on_render_input_window(float x, float y, float bott
|
|||
ImGui::PopStyleColor(4);
|
||||
ImGui::PopStyleVar(2);
|
||||
}
|
||||
ImGui::PopStyleColor(1);
|
||||
ImGui::PopStyleColor(2);
|
||||
ImGui::PopStyleVar(1);
|
||||
|
||||
if (btn_clicked && m_current_tool != tool_ids[i]) {
|
||||
|
|
|
@ -240,6 +240,7 @@ void GLGizmoSeam::on_render_input_window(float x, float y, float bottom_limit)
|
|||
|
||||
if (i != 0) ImGui::SameLine((empty_button_width + m_imgui->scaled(1.75f)) * i + m_imgui->scaled(1.3f));
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize, 0.0);
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.f, 0.f, 0.f, 0.f)); // ORCA Removes button background on dark mode
|
||||
ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1.f, 1.f, 1.f, 1.f)); // ORCA: Fixes icon rendered without colors while using Light theme
|
||||
if (m_current_tool == tool_ids[i]) {
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.f, 0.59f, 0.53f, 0.25f)); // ORCA use orca color for selected tool / brush
|
||||
|
@ -255,7 +256,7 @@ void GLGizmoSeam::on_render_input_window(float x, float y, float bottom_limit)
|
|||
ImGui::PopStyleColor(4);
|
||||
ImGui::PopStyleVar(2);
|
||||
}
|
||||
ImGui::PopStyleColor(1);
|
||||
ImGui::PopStyleColor(2);
|
||||
ImGui::PopStyleVar(1);
|
||||
if (btn_clicked && m_current_tool != tool_ids[i]) {
|
||||
m_current_tool = tool_ids[i];
|
||||
|
|
|
@ -163,7 +163,7 @@ const ImVec4 ImGuiWrapper::COL_BUTTON_ACTIVE = COL_BUTTON_HOVERED;
|
|||
//BBS
|
||||
|
||||
const ImVec4 ImGuiWrapper::COL_BLUE_LIGHT = ImVec4(0.122f, 0.557f, 0.918f, 1.0f);
|
||||
const ImVec4 ImGuiWrapper::COL_GREEN_LIGHT = ImVec4(0.86f, 0.99f, 0.91f, 1.0f);
|
||||
const ImVec4 ImGuiWrapper::COL_GREEN_LIGHT = { 0.f, 156 / 255.f, 136 / 255.f, 0.25f }; // ORCA used on various places like text selection bg. Replaced with orca color
|
||||
const ImVec4 ImGuiWrapper::COL_HOVER = { 0.933f, 0.933f, 0.933f, 1.0f };
|
||||
const ImVec4 ImGuiWrapper::COL_ACTIVE = { 0.675f, 0.675f, 0.675f, 1.0f };
|
||||
const ImVec4 ImGuiWrapper::COL_SEPARATOR = { 0.93f, 0.93f, 0.93f, 1.0f };
|
||||
|
@ -2585,20 +2585,20 @@ void ImGuiWrapper::push_combo_style(const float scale)
|
|||
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 1.0f * scale);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize, 1.0f * scale);
|
||||
ImGui::PushStyleColor(ImGuiCol_PopupBg, ImGuiWrapper::COL_WINDOW_BG_DARK);
|
||||
ImGui::PushStyleColor(ImGuiCol_BorderActive, COL_ORCA);
|
||||
ImGui::PushStyleColor(ImGuiCol_HeaderHovered, to_ImVec4(to_rgba(ColorRGB::ORCA(), 0.5f)));
|
||||
ImGui::PushStyleColor(ImGuiCol_BorderActive, ImVec4(0.f, 150.f / 255.f, 136.f / 255.f, 0.6f)); // ORCA hovered item border color
|
||||
ImGui::PushStyleColor(ImGuiCol_HeaderHovered, {0.f, 0.f, 0.f, 0.f}); // ORCA hovered item background color
|
||||
ImGui::PushStyleColor(ImGuiCol_HeaderActive, COL_ORCA);
|
||||
ImGui::PushStyleColor(ImGuiCol_Header, COL_ORCA);
|
||||
ImGui::PushStyleColor(ImGuiCol_Header, ImVec4(0.f, 150.f / 255.f, 136.f / 255.f, 0.25f)); // ORCA active item background color
|
||||
ImGui::PushStyleColor(ImGuiCol_ScrollbarBg, ImGuiWrapper::COL_WINDOW_BG_DARK);
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, {1.00f, 1.00f, 1.00f, 0.0f});
|
||||
} else {
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 1.0f * scale);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize, 1.0f * scale);
|
||||
ImGui::PushStyleColor(ImGuiCol_PopupBg, ImGuiWrapper::COL_WINDOW_BG);
|
||||
ImGui::PushStyleColor(ImGuiCol_BorderActive, COL_ORCA);
|
||||
ImGui::PushStyleColor(ImGuiCol_HeaderHovered, to_ImVec4(to_rgba(ColorRGB::ORCA(), 0.5f)));
|
||||
ImGui::PushStyleColor(ImGuiCol_BorderActive, ImVec4(0.f, 150.f / 255.f, 136.f / 255.f, 0.6f)); // ORCA hovered item border color
|
||||
ImGui::PushStyleColor(ImGuiCol_HeaderHovered, {0.f, 0.f, 0.f, 0.f}); // ORCA hovered item background color
|
||||
ImGui::PushStyleColor(ImGuiCol_HeaderActive, COL_ORCA);
|
||||
ImGui::PushStyleColor(ImGuiCol_Header, COL_ORCA);
|
||||
ImGui::PushStyleColor(ImGuiCol_Header, ImVec4(0.f, 150.f / 255.f, 136.f / 255.f, 0.25f)); // ORCA active item background color
|
||||
ImGui::PushStyleColor(ImGuiCol_ScrollbarBg, ImGuiWrapper::COL_WINDOW_BG);
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, {1.00f, 1.00f, 1.00f, 0.0f});
|
||||
}
|
||||
|
|
|
@ -95,8 +95,8 @@ void KBShortcutsDialog::OnSelectTabel(wxCommandEvent &event)
|
|||
while (i != m_hash_selector.end()) {
|
||||
Select *sel = i->second;
|
||||
if (id == sel->m_index) {
|
||||
sel->m_tab_button->SetBackgroundColour(StateColor::darkModeColorFor(wxColour("#FFFFFF")));
|
||||
sel->m_tab_text->SetBackgroundColour(StateColor::darkModeColorFor(wxColour("#FFFFFF")));
|
||||
sel->m_tab_button->SetBackgroundColour(StateColor::darkModeColorFor(wxColour("#BFE1DE"))); // ORCA color for selected tab background
|
||||
sel->m_tab_text->SetBackgroundColour(StateColor::darkModeColorFor(wxColour("#BFE1DE"))); // ORCA color for selected tab background
|
||||
sel->m_tab_text->SetFont(::Label::Head_13);
|
||||
sel->m_tab_button->Refresh();
|
||||
sel->m_tab_text->Refresh();
|
||||
|
|
|
@ -483,7 +483,7 @@ bool OptionsGroup::activate(std::function<void()> throw_if_canceled/* = [](){}*/
|
|||
// BBS: new layout
|
||||
::StaticLine* stl = new ::StaticLine(m_parent, false, _(title), icon);
|
||||
stl->SetFont(Label::Head_14);
|
||||
stl->SetForegroundColour("#262E30");
|
||||
stl->SetForegroundColour("#363636"); // ORCA Match Parameters title color with tab title color
|
||||
sizer = new wxBoxSizer(wxVERTICAL);
|
||||
if (title.IsEmpty()) {
|
||||
stl->Hide();
|
||||
|
|
|
@ -834,7 +834,7 @@ Sidebar::Sidebar(Plater *parent)
|
|||
p->m_flushing_volume_btn->SetPaddingSize(wxSize(FromDIP(8),FromDIP(3)));
|
||||
p->m_flushing_volume_btn->SetCornerRadius(FromDIP(8));
|
||||
|
||||
StateColor flush_bg_col(std::pair<wxColour, int>(wxColour(219, 253, 231), StateColor::Pressed),
|
||||
StateColor flush_bg_col(std::pair<wxColour, int>(wxColour("#BFE1DE"), StateColor::Pressed), // ORCA
|
||||
std::pair<wxColour, int>(wxColour(238, 238, 238), StateColor::Hovered),
|
||||
std::pair<wxColour, int>(wxColour(238, 238, 238), StateColor::Normal));
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#define AUFILE_GREY300 wxColour(238, 238, 238)
|
||||
#define AUFILE_GREY200 wxColour(248, 248, 248)
|
||||
#define AUFILE_BRAND wxColour(0, 150, 136)
|
||||
#define AUFILE_BRAND_TRANSPARENT wxColour(215, 232, 222)
|
||||
#define AUFILE_BRAND_TRANSPARENT wxColour("#E5F0EE") // ORCA color with %10 opacity
|
||||
//#define AUFILE_PICTURES_SIZE wxSize(FromDIP(300), FromDIP(300))
|
||||
//#define AUFILE_PICTURES_PANEL_SIZE wxSize(FromDIP(300), FromDIP(340))
|
||||
#define AUFILE_PICTURES_SIZE wxSize(FromDIP(168), FromDIP(168))
|
||||
|
|
|
@ -494,7 +494,7 @@ void SearchItem::OnPaint(wxPaintEvent &event)
|
|||
|
||||
void SearchItem::on_mouse_enter(wxMouseEvent &evt)
|
||||
{
|
||||
SetBackgroundColour(StateColor::darkModeColorFor(wxColour(238, 238, 238)));
|
||||
SetBackgroundColour(StateColor::darkModeColorFor(wxColour("#BFE1DE"))); // ORCA color with %25 opacity
|
||||
Refresh();
|
||||
}
|
||||
|
||||
|
@ -506,7 +506,7 @@ void SearchItem::on_mouse_leave(wxMouseEvent &evt)
|
|||
|
||||
void SearchItem::on_mouse_left_down(wxMouseEvent &evt)
|
||||
{
|
||||
SetBackgroundColour(StateColor::darkModeColorFor(wxColour(228, 228, 228)));
|
||||
SetBackgroundColour(StateColor::darkModeColorFor(wxColour("#BFE1DE"))); // ORCA color with %25 opacity
|
||||
Refresh();
|
||||
}
|
||||
|
||||
|
|
|
@ -4901,7 +4901,7 @@ void EditDevNameDialog::on_edit_name(wxCommandEvent &e)
|
|||
auto size = GetSize();
|
||||
dc.DrawBitmap(m_bitmap.bmp(), wxPoint(FromDIP(20), (size.y - m_bitmap.GetBmpSize().y) / 2));
|
||||
dc.SetFont(::Label::Head_13);
|
||||
dc.SetTextForeground(wxColour(38, 46, 48));
|
||||
dc.SetTextForeground(StateColor::darkModeColorFor(wxColour("#262E30"))); // ORCA fix text not visible on dark theme
|
||||
wxString txt = _L("Bind with Pin Code");
|
||||
auto txt_size = dc.GetTextExtent(txt);
|
||||
dc.DrawText(txt, wxPoint(FromDIP(40), (size.y - txt_size.y) / 2));
|
||||
|
|
|
@ -272,7 +272,7 @@ void Tab::create_preset_tab()
|
|||
//search input
|
||||
m_search_item = new StaticBox(m_top_panel);
|
||||
StateColor box_colour(std::pair<wxColour, int>(*wxWHITE, StateColor::Normal));
|
||||
StateColor box_border_colour(std::pair<wxColour, int>(wxColour(238, 238, 238), StateColor::Normal));
|
||||
StateColor box_border_colour(std::pair<wxColour, int>(wxColour("#DBDBDB"), StateColor::Normal)); // ORCA match border color with other input/combo boxes
|
||||
|
||||
m_search_item->SetBackgroundColor(box_colour);
|
||||
m_search_item->SetBorderColor(box_border_colour);
|
||||
|
|
|
@ -17,7 +17,7 @@ END_EVENT_TABLE()
|
|||
static wxColour BORDER_HOVER_COL = wxColour(0, 150, 136);
|
||||
|
||||
const static wxColour TAB_BUTTON_BG = wxColour("#FEFFFF");
|
||||
const static wxColour TAB_BUTTON_SEL = wxColour(219, 253, 213, 255);
|
||||
const static wxColour TAB_BUTTON_SEL = wxColour("#BFE1DE"); // ORCA
|
||||
|
||||
TabButton::TabButton()
|
||||
: paddingSize(43, 16)
|
||||
|
@ -29,7 +29,7 @@ TabButton::TabButton()
|
|||
std::make_pair(wxColour("#FEFFFF"), (int) StateColor::Normal));
|
||||
|
||||
border_color = StateColor(
|
||||
std::make_pair(wxColour("#FEFFFF"), (int) StateColor::Checked),
|
||||
std::make_pair(TAB_BUTTON_SEL, (int) StateColor::Checked), // ORCA use same color for border to prevent 1px blank border
|
||||
std::make_pair(BORDER_HOVER_COL, (int) StateColor::Hovered),
|
||||
std::make_pair(wxColour("#FEFFFF"), (int)StateColor::Normal));
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
wxDEFINE_EVENT(wxCUSTOMEVT_TABBOOK_SEL_CHANGED, wxCommandEvent);
|
||||
|
||||
const static wxColour TAB_BUTTON_BG = wxColour("#FEFFFF");
|
||||
const static wxColour TAB_BUTTON_SEL = wxColour(219, 253, 213, 255);
|
||||
const static wxColour TAB_BUTTON_SEL = wxColour("#BFE1DE"); // ORCA
|
||||
|
||||
static const wxFont& TAB_BUTTON_FONT = Label::Body_14;
|
||||
static const wxFont& TAB_BUTTON_FONT_SEL = Label::Head_14;
|
||||
|
|
|
@ -58,7 +58,7 @@ ComboBox::ComboBox(wxWindow *parent,
|
|||
std::make_pair(0xE5F0EE, (int) StateColor::Focused), // ORCA updated background color for focused item
|
||||
std::make_pair(*wxWHITE, (int) StateColor::Normal)));
|
||||
TextInput::SetLabelColor(StateColor(
|
||||
std::make_pair(wxColour("#ACACAC"), (int) StateColor::Disabled), // ORCA: Use same color for disabled text on combo boxes
|
||||
std::make_pair(0x6B6B6B, (int) StateColor::Disabled), // ORCA: Use same color for disabled text on combo boxes
|
||||
std::make_pair(0x262E30, (int) StateColor::Normal)));
|
||||
}
|
||||
if (auto scroll = GetScrollParent(this))
|
||||
|
|
|
@ -21,8 +21,8 @@ END_EVENT_TABLE()
|
|||
*/
|
||||
|
||||
SpinInput::SpinInput()
|
||||
: label_color(std::make_pair(0x909090, (int) StateColor::Disabled), std::make_pair(0x6B6B6B, (int) StateColor::Normal))
|
||||
, text_color(std::make_pair(0x909090, (int) StateColor::Disabled), std::make_pair(0x262E30, (int) StateColor::Normal))
|
||||
: label_color(std::make_pair(0x6B6B6B, (int) StateColor::Disabled), std::make_pair(0x6B6B6B, (int) StateColor::Normal))
|
||||
, text_color(std::make_pair(0x6B6B6B, (int) StateColor::Disabled), std::make_pair(0x262E30, (int) StateColor::Normal))
|
||||
{
|
||||
radius = 0;
|
||||
border_width = 1;
|
||||
|
|
|
@ -6,39 +6,39 @@ static bool gDarkMode = false;
|
|||
static bool operator<(wxColour const &l, wxColour const &r) { return l.GetRGBA() < r.GetRGBA(); }
|
||||
|
||||
static std::map<wxColour, wxColour> gDarkColors{
|
||||
{"#009688", "#00675b"},
|
||||
{"#1F8EEA", "#2778D2"},
|
||||
{"#FF6F00", "#D15B00"},
|
||||
{"#D01B1B", "#BB2A3A"},
|
||||
{"#262E30", "#EFEFF0"},
|
||||
{"#2C2C2E", "#B3B3B4"},
|
||||
{"#6B6B6B", "#818183"},
|
||||
{"#ACACAC", "#54545A"},
|
||||
{"#EEEEEE", "#4C4C55"},
|
||||
{"#E8E8E8", "#3E3E45"},
|
||||
{"#323A3D", "#E5E5E4"},
|
||||
{"#FFFFFF", "#2D2D31"},
|
||||
{"#F8F8F8", "#36363C"},
|
||||
{"#F1F1F1", "#36363B"},
|
||||
{"#3B4446", "#2D2D30"},
|
||||
{"#CECECE", "#54545B"},
|
||||
{"#DBFDD5", "#3B3B40"},
|
||||
{"#000000", "#FFFFFE"},
|
||||
{"#F4F4F4", "#36363D"},
|
||||
{"#DBDBDB", "#4A4A51"},
|
||||
{"#EDFAF2", "#283232"},
|
||||
{"#323A3C", "#E5E5E6"},
|
||||
{"#6B6B6A", "#B3B3B5"},
|
||||
{"#303A3C", "#E5E5E5"},
|
||||
{"#FEFFFF", "#242428"},
|
||||
{"#A6A9AA", "#2D2D29"},
|
||||
{"#363636", "#B2B3B5"},
|
||||
{"#F0F0F1", "#404040"},
|
||||
{"#9E9E9E", "#53545A"},
|
||||
{"#D7E8DE", "#1F2B27"},
|
||||
{"#2B3436", "#808080"},
|
||||
{"#009688", "#00675b"}, // rgb(0, 150, 136) ORCA color
|
||||
{"#1F8EEA", "#2778D2"}, // rgb(31, 142, 234) ???
|
||||
{"#FF6F00", "#D15B00"}, // rgb(255, 111, 0) Secondary color
|
||||
{"#D01B1B", "#BB2A3A"}, // rgb(208, 27, 27) ???
|
||||
{"#262E30", "#EFEFF0"}, // rgb(38, 46, 48) Button text color | Input Text Color
|
||||
{"#2C2C2E", "#B3B3B4"}, // rgb(44, 44, 46) ???
|
||||
{"#6B6B6B", "#818183"}, // rgb(107, 107, 107) Disabled Text
|
||||
{"#ACACAC", "#65656A"}, // rgb(172, 172, 172) Disabled Text on boxes | Dimmed Elements
|
||||
{"#EEEEEE", "#4C4C55"}, // rgb(238, 238, 238) Separator Line | Title Line Color
|
||||
{"#E8E8E8", "#3E3E45"}, // rgb(232, 232, 232) ???
|
||||
{"#323A3D", "#E5E5E4"}, // rgb(50, 58, 61) Softer text color
|
||||
{"#FFFFFF", "#2D2D31"}, // rgb(255, 255, 255) Window background
|
||||
{"#F8F8F8", "#36363C"}, // rgb(248, 248, 248) Sidebar > Titlebar > Gradient Top | BBL monitor page titlebar bg
|
||||
{"#F1F1F1", "#36363B"}, // rgb(241, 241, 241) Sidebar > Titlebar > Gradient Bottom
|
||||
{"#3B4446", "#2D2D30"}, // rgb(59, 68, 78) Top Bar / Main tab bar bg color
|
||||
{"#CECECE", "#54545B"}, // rgb(206, 206, 206) Sidebar wxPanel bg |
|
||||
{"#DBFDD5", "#3B3B40"}, // rgb(219, 253, 213) Not Used anymore // Was used for BBS combo boxes etc
|
||||
{"#000000", "#FFFFFE"}, // rgb(0, 0, 0) Mostly Text color wxBlack
|
||||
{"#F4F4F4", "#36363D"}, // rgb(244, 244, 244) ???
|
||||
{"#DBDBDB", "#4A4A51"}, // rgb(219, 219, 219) Input/Combo Box Border Color
|
||||
{"#EDFAF2", "#283232"}, // rgb(229, 240, 238) Not Used anymore // Was used for BBS Combo / Dropdown focused background color
|
||||
{"#323A3C", "#E5E5E6"}, // rgb(50, 58, 60) Text color used on search list |
|
||||
{"#6B6B6A", "#B3B3B5"}, // rgb(107, 107, 106) Button Dimmed text | Input box side text
|
||||
{"#303A3C", "#E5E5E5"}, // rgb(48, 58, 60) Object Table > Column header text color | StaticBox Border Color
|
||||
{"#FEFFFF", "#242428"}, // rgb(254, 255, 255) Side Tabbar bg |
|
||||
{"#A6A9AA", "#2D2D29"}, // rgb(166, 169, 170) Seperator color
|
||||
{"#363636", "#B2B3B5"}, // rgb(54, 54, 54) Sidebar > Parameter Label/Title color | Sidebar tab text | Create Filament window text
|
||||
{"#F0F0F1", "#333337"}, // rgb(240, 240, 241) Disabled element background // ORCA Used better background color for dark mode
|
||||
{"#9E9E9E", "#53545A"}, // rgb(158, 158, 158) ???
|
||||
{"#D7E8DE", "#1F2B27"}, // rgb(215, 232, 222) Not Used anymore // Leftover from BBS
|
||||
{"#2B3436", "#808080"}, // rgb(43, 52, 54) Not Used anymore // Leftover from BBS. Was used as main fill color of icons
|
||||
{"#ABABAB", "#ABABAB"},
|
||||
{"#D9D9D9", "#2D2D32"},
|
||||
{"#D9D9D9", "#2D2D32"}, // rgb(217, 217, 217) Sidebar > Toggle button track color
|
||||
//{"#F0F0F0", "#4C4C54"},
|
||||
// ORCA
|
||||
{"#BFE1DE", "#223C3C"}, // rgb(191, 225, 222) Dropdown checked item background color > ORCA color with %25 opacity
|
||||
|
|
|
@ -304,7 +304,7 @@ void TabCtrl::doRender(wxDC& dc)
|
|||
#else
|
||||
dc.SetPen(wxPen(border_color.colorForStates(states), border_width));
|
||||
dc.DrawLine(0, size.y - BS2, size.x, size.y - BS2);
|
||||
wxColour c(0xf2, 0x75, 0x4e, 0xff);
|
||||
wxColour c("#009688"); // ORCA selected tab underline stroke color
|
||||
dc.SetPen(wxPen(c, 1));
|
||||
dc.SetBrush(c);
|
||||
dc.DrawRoundedRectangle(x1 - radius, size.y - BS2 - border_width * 3, x2 + radius * 2 - x1, border_width * 3, radius);
|
||||
|
|
|
@ -19,9 +19,9 @@ END_EVENT_TABLE()
|
|||
*/
|
||||
|
||||
TextInput::TextInput()
|
||||
: label_color(std::make_pair(0x909090, (int) StateColor::Disabled),
|
||||
: label_color(std::make_pair(0x6B6B6B, (int) StateColor::Disabled),
|
||||
std::make_pair(0x6B6B6B, (int) StateColor::Normal))
|
||||
, text_color(std::make_pair(0x909090, (int) StateColor::Disabled),
|
||||
, text_color(std::make_pair(0x6B6B6B, (int) StateColor::Disabled),
|
||||
std::make_pair(0x262E30, (int) StateColor::Normal))
|
||||
{
|
||||
radius = 0;
|
||||
|
|
Loading…
Reference in a new issue