Style: StyleColorsDark(): tweaked WindowBg to be darker than in 1.93.0.

This commit is contained in:
ocornut 2026-10-26 16:34:03 +01:00
parent 4e99c0ab1a
commit 717f68fefe
2 changed files with 2 additions and 1 deletions

View File

@ -66,6 +66,7 @@ Autumn cleanup of stuff marked obsolete more than two years ago:
Other Changes:
- Style: `StyleColorsDark()`: tweaked WindowBg to be darker than in 1.93.0.
- ImVec2: added a check for cases where a custom `IM_VEC2_CLASS_EXTRA` macro
adds an extra `operator=` to ImVec2. This isn't supported but should not
be needed as you should have a constructor to convert from your type to ImVec2.

View File

@ -191,7 +191,7 @@ void ImGui::StyleColorsDark(ImGuiStyle* dst)
colors[ImGuiCol_Text] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f);
colors[ImGuiCol_TextDisabled] = ImVec4(0.58f, 0.58f, 0.58f, 1.00f);
colors[ImGuiCol_WindowBg] = ImVec4(0.18f, 0.18f, 0.18f, 1.00f);
colors[ImGuiCol_WindowBg] = ImVec4(0.15f, 0.15f, 0.15f, 1.00f);
colors[ImGuiCol_ChildBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f);
colors[ImGuiCol_PopupBg] = ImVec4(0.08f, 0.08f, 0.08f, 0.94f);
colors[ImGuiCol_Border] = ImVec4(0.43f, 0.43f, 0.50f, 0.50f);