Last active
May 14, 2022 01:53
-
-
Save yknishidate/48642681c3c093dded4c20b4f6175445 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ImGui::StyleColorsDark(); | |
ImVec4 red80 = ImVec4(0.8f, 0.0f, 0.0f, 1.0f); | |
ImVec4 red60 = ImVec4(0.6f, 0.0f, 0.0f, 1.0f); | |
ImVec4 red40 = ImVec4(0.4f, 0.0f, 0.0f, 1.0f); | |
ImVec4 black100 = ImVec4(0.0f, 0.0f, 0.0f, 1.0f); | |
ImVec4 black90 = ImVec4(0.1f, 0.1f, 0.1f, 1.0f); | |
ImVec4 black80 = ImVec4(0.2f, 0.2f, 0.2f, 1.0f); | |
ImVec4 black60 = ImVec4(0.4f, 0.4f, 0.4f, 1.0f); | |
ImGuiStyle& style = ImGui::GetStyle(); | |
style.Colors[ImGuiCol_WindowBg] = black90; | |
style.Colors[ImGuiCol_TitleBg] = red80; | |
style.Colors[ImGuiCol_TitleBgActive] = red80; | |
style.Colors[ImGuiCol_MenuBarBg] = red40; | |
style.Colors[ImGuiCol_Header] = red40; | |
style.Colors[ImGuiCol_HeaderActive] = red40; | |
style.Colors[ImGuiCol_HeaderHovered] = red40; | |
style.Colors[ImGuiCol_FrameBg] = black100; | |
style.Colors[ImGuiCol_FrameBgHovered] = black80; | |
style.Colors[ImGuiCol_FrameBgActive] = black60; | |
style.Colors[ImGuiCol_CheckMark] = red80; | |
style.Colors[ImGuiCol_SliderGrab] = red40; | |
style.Colors[ImGuiCol_SliderGrabActive] = red80; | |
style.Colors[ImGuiCol_Button] = red40; | |
style.Colors[ImGuiCol_ButtonHovered] = red60; | |
style.Colors[ImGuiCol_ButtonActive] = red80; | |
style.Colors[ImGuiCol_ResizeGrip] = red40; | |
style.Colors[ImGuiCol_ResizeGripHovered] = red60; | |
style.Colors[ImGuiCol_ResizeGripActive] = red80; |
Author
yknishidate
commented
May 14, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment