{"id":20017254,"url":"https://github.com/raais/imguicandy","last_synced_at":"2025-08-05T04:23:15.460Z","repository":{"id":128726628,"uuid":"437210449","full_name":"Raais/ImguiCandy","owner":"Raais","description":"Color utils, Themes and other cool stuff for Dear ImGui","archived":false,"fork":false,"pushed_at":"2021-12-11T18:03:36.000Z","size":31,"stargazers_count":64,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-04T22:37:35.182Z","etag":null,"topics":["colors","dear-imgui","gui","imgui","themes"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Raais.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-12-11T06:51:59.000Z","updated_at":"2025-05-04T20:03:02.000Z","dependencies_parsed_at":"2023-05-03T23:57:14.592Z","dependency_job_id":null,"html_url":"https://github.com/Raais/ImguiCandy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Raais/ImguiCandy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raais%2FImguiCandy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raais%2FImguiCandy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raais%2FImguiCandy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raais%2FImguiCandy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Raais","download_url":"https://codeload.github.com/Raais/ImguiCandy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raais%2FImguiCandy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268834020,"owners_count":24314710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["colors","dear-imgui","gui","imgui","themes"],"created_at":"2024-11-13T08:15:24.000Z","updated_at":"2025-08-05T04:23:15.447Z","avatar_url":"https://github.com/Raais.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ImguiCandy\nColor utils, Themes and other cool stuff for [Dear ImGui](https://github.com/ocornut/imgui)\n## Usage\n```cpp\n#include \"candy.h\"\n```\n## Utils\nThese functions are to be used inside a loop, hence the use of static/global variables.\n```cpp\nImVec4 Rainbow(double \u0026static_ratio, double step = 0.01);\n\nImVec4 Gradient2(ImVec4 col1, ImVec4 col2, double \u0026static_ratio, double step = 0.01);\n\nImVec4 Gradient3(ImVec4 col1, ImVec4 col2, ImVec4 col3, double \u0026static_ratio, double step = 0.01);\n```\n#### Example\n```cpp\n  //Rainbow\n  static double s0 = 0.0;\n  ImGui::PushStyleColor(ImGuiCol_Button, ImCandy::Rainbow(s0));\n```\n![rainbow](https://user-images.githubusercontent.com/64605172/145681647-b9445ec7-5f4d-4c5f-98b8-eea840503392.gif)\n```cpp\n  //Gradient2\n  static double s1 = 0.0;\n  ImGui::PushStyleColor(ImGuiCol_WindowBg, ImCandy::Gradient2(IV4_VIOLET, IV4_BUBBLEGUM, s1));\n```\n![gradient](https://user-images.githubusercontent.com/64605172/145683127-8439a3fb-8a44-4642-94a4-97dd46c5349b.gif)\n## Themes\n - Blender Dark [Improvised]\n```cpp\n  ImCandy::Theme_Blender();\n```\n![blender](https://user-images.githubusercontent.com/64605172/145681657-dc9786ae-5f79-4eca-90a6-197579b94fa5.png)\n - Cyberpunk Neon [Improvised]\n```cpp\n  ImCandy::Theme_Cyberpunk();\n```\n![cyberpunk](https://user-images.githubusercontent.com/64605172/145681654-2ebea5fc-ec99-44ba-a808-d20721415f6c.png)\n - Nord/Nordic GTK [Improvised]\n```cpp\n  ImCandy::Theme_Nord();\n```\n![nord](https://user-images.githubusercontent.com/64605172/145686658-b93073ab-1161-4898-bccf-b6f2a757d13a.png)\n## Contribute\nSubmit your own themes by opening an [issue](https://github.com/Raais/ImguiCandy/issues) or [pull request](https://github.com/Raais/ImguiCandy/pulls).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraais%2Fimguicandy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraais%2Fimguicandy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraais%2Fimguicandy/lists"}