style: retune top bar colors

This commit is contained in:
2026-04-02 22:59:19 +08:00
parent c9adc6ec5e
commit da2782c0c0
3 changed files with 4 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ inline void ApplyBaseThemeColors(ImVec4* colors) {
colors[ImGuiCol_TitleBg] = ImVec4(0.18f, 0.18f, 0.18f, 1.00f);
colors[ImGuiCol_TitleBgActive] = ImVec4(0.20f, 0.20f, 0.20f, 1.00f);
colors[ImGuiCol_TitleBgCollapsed] = ImVec4(0.18f, 0.18f, 0.18f, 1.00f);
colors[ImGuiCol_MenuBarBg] = ImVec4(0.19f, 0.19f, 0.19f, 1.00f);
colors[ImGuiCol_MenuBarBg] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f);
colors[ImGuiCol_ScrollbarBg] = ImVec4(0.16f, 0.16f, 0.16f, 1.00f);
colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.30f, 0.30f, 0.30f, 1.00f);
colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.36f, 0.36f, 0.36f, 1.00f);

View File

@@ -339,7 +339,7 @@ inline ImVec4 ProjectBrowserPaneBackgroundColor() {
}
inline ImVec4 ToolbarBackgroundColor() {
return ImVec4(0.19f, 0.19f, 0.19f, 1.0f);
return ImVec4(0.1f, 0.1f, 0.1f, 1.0f);
}
inline ImVec2 SearchFieldFramePadding() {

View File

@@ -107,7 +107,9 @@ void MenuBar::RenderChrome() {
}
Actions::HandleMenuBarShortcuts(*m_context);
ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(0.08f, 0.08f, 0.08f, 1.0f));
Actions::DrawMainMenuBar(*m_context, m_aboutPopup);
ImGui::PopStyleColor();
RenderRunToolbar();
}