{"id":20492564,"url":"https://github.com/redmadrobot/rmrcolortools-ios","last_synced_at":"2025-07-31T01:40:03.084Z","repository":{"id":29054845,"uuid":"32582577","full_name":"RedMadRobot/RMRColorTools-iOS","owner":"RedMadRobot","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-19T15:13:17.000Z","size":42,"stargazers_count":66,"open_issues_count":3,"forks_count":9,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-07-24T05:40:26.414Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-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/RedMadRobot.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}},"created_at":"2015-03-20T12:30:54.000Z","updated_at":"2025-01-17T18:40:56.000Z","dependencies_parsed_at":"2022-07-21T03:18:55.834Z","dependency_job_id":null,"html_url":"https://github.com/RedMadRobot/RMRColorTools-iOS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RedMadRobot/RMRColorTools-iOS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedMadRobot%2FRMRColorTools-iOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedMadRobot%2FRMRColorTools-iOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedMadRobot%2FRMRColorTools-iOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedMadRobot%2FRMRColorTools-iOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedMadRobot","download_url":"https://codeload.github.com/RedMadRobot/RMRColorTools-iOS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedMadRobot%2FRMRColorTools-iOS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267973196,"owners_count":24174399,"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-07-30T02:00:09.044Z","response_time":70,"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":[],"created_at":"2024-11-15T17:29:38.751Z","updated_at":"2025-07-31T01:40:02.945Z","avatar_url":"https://github.com/RedMadRobot.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RMRColorTools-iOS\nIt’s very important to have all your project resources organized and consistent, thus you won’t have to spend hours of time changing a single wide-spread color in your app.\n\nWorking together with our designers, who supply us with handy theme style sheets, we wanted to have a single access point to a list of colors used in the app in order to maintain them all at once.\n\nSo we developed a few easy to use utils that help us to keep our code clean and up to date without any overhead.\n\nYou may find two targets in the main project: **RMRHexColorGen** and **RMRRefreshColorPanelPlugin**.\n\n**RMRHexColorGen** generates a UIColor class category with all the colors you declare and `.CLR` file with color palette used within the standard OS X Color Panel component in Xcode and other desktop apps.\nWe’ve faced a non-obvious caveat during our investigation: in order to refresh the list of Color Panel palettes one must restart the app that uses it.\n\nSo here’s the **RMRRefreshColorPanelPlugin** comes on stage. \nThis plugin simply forces Xcode to refresh its instance of Color Panel after every build.\n\nThus, in case you’ve updated your color list file — **RMRHexColorGen** will generate a new `.CLR` file AND **RMRRefreshColorPanelPlugin** will refresh Color Panel for you.\n\n\n\n## RMRHexColorGen\n\nSmall utility that generates UIColor category from colors list:\n```\n#AARRGGBB ColorName\n#AARRGGBB ColorName\n#AARRGGBB ColorName\n#AARRGGBB ColorName\n```\n\nUse `-clr` option to generate and install Color Palette.\n\n### Usage:\n```\nRMRHexColorGen [-i \u003cpath\u003e] [-o \u003cpath\u003e] [-p \u003cprefix\u003e] [-clr]\n```\n\n### Options:\n```\n-o \u003cpath\u003e    Output files at \u003cpath\u003e\n\n-i \u003cpath\u003e    Path to txt colors list file\n\n-p \u003cprefix\u003e  Use \u003cprefix\u003e as the class prefix in the generated code\n\n-clr         Use this flag if you need to generate and install CLR file\n\n-h           Print this help and exit\n```\n\n\n\n## RMRRefreshColorPanelPlugin\n\nXcode plugin that force Color Panel to reload custom Color Palettes after every build.\n\n### Install\n\nJust clone this repo, run `RMRRefreshColorPanelPlugin` target and restart Xcode.\n\n### Usage\n\nRMRRefreshColorPanelPlugin will refresh Color Panel after every build end.\nSelect `Reload color lists` from the `Edit` menu to force refresh.\n\n## Contact\n\n* http://www.redmadrobot.com\n* rc@redmadrobot.com\n\n\n\n## License\n\nRMRColorTools-iOS is available under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredmadrobot%2Frmrcolortools-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredmadrobot%2Frmrcolortools-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredmadrobot%2Frmrcolortools-ios/lists"}