mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -06:00
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
|
@ -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});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue