14 ImVec4
primary = ImVec4(0.196f, 0.6f, 0.8f, 1.0f);
16 ImVec4
secondary = ImVec4(0.133f, 0.545f, 0.133f, 1.0f);
18 ImVec4
warning = ImVec4(0.8f, 0.2f, 0.2f, 1.0f);
20 ImVec4
success = ImVec4(0.2f, 0.8f, 0.2f, 1.0f);
22 ImVec4
panel_bg = ImVec4(0.07f, 0.07f, 0.07f, 0.95f);
24 ImVec4
text = ImVec4(1.0f, 1.0f, 1.0f, 1.0f);
37 ImGuiStyle& style = ImGui::GetStyle();
38 style.WindowRounding = theme.
rounding;
39 style.ChildRounding = theme.
rounding;
40 style.FrameRounding = theme.
rounding;
42 style.PopupRounding = theme.
rounding;
43 style.ScrollbarRounding = theme.
rounding;
46 style.Colors[ImGuiCol_TitleBgActive] = theme.
primary;
47 style.Colors[ImGuiCol_Button] = theme.
secondary;
48 style.Colors[ImGuiCol_ButtonHovered] = ImVec4(theme.
secondary.x * 1.2f,
51 style.Colors[ImGuiCol_Text] = theme.
text;
52 style.Colors[ImGuiCol_ChildBg] = theme.
panel_bg;