{"id":15170612,"url":"https://github.com/intitni/smoothgradient","last_synced_at":"2025-10-25T19:30:57.737Z","repository":{"id":44946639,"uuid":"343648914","full_name":"intitni/SmoothGradient","owner":"intitni","description":"Generate buttery smooth gradients.","archived":false,"fork":false,"pushed_at":"2022-10-16T06:58:13.000Z","size":135,"stargazers_count":60,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T10:11:35.155Z","etag":null,"topics":["color","gradient","ios","macos","swift","swiftui"],"latest_commit_sha":null,"homepage":"https://swiftpackageindex.com/intitni/SmoothGradient/main/documentation/smoothgradient","language":"Swift","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/intitni.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":"2021-03-02T04:48:35.000Z","updated_at":"2025-01-25T01:29:57.000Z","dependencies_parsed_at":"2022-08-30T17:00:15.864Z","dependency_job_id":null,"html_url":"https://github.com/intitni/SmoothGradient","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intitni%2FSmoothGradient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intitni%2FSmoothGradient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intitni%2FSmoothGradient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intitni%2FSmoothGradient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intitni","download_url":"https://codeload.github.com/intitni/SmoothGradient/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238200789,"owners_count":19433103,"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","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":["color","gradient","ios","macos","swift","swiftui"],"created_at":"2024-09-27T08:04:15.658Z","updated_at":"2025-10-25T19:30:57.412Z","avatar_url":"https://github.com/intitni.png","language":"Swift","readme":"# SmoothGradient\n\n![License](https://img.shields.io/github/license/intitni/SmoothGradient)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fintitni%2FSmoothGradient%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/intitni/SmoothGradient)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fintitni%2FSmoothGradient%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/intitni/SmoothGradient)\n\nSmoothGradient helps you generate beautiful and buttery-smooth gradients. It helps you avoid gray dead zones in the middle of your gradients by interpolating colors in color spaces other than RGB. \n\nThis is a package strongly inspired by this [gradient generator](https://learnui.design/tools/gradient-generator.html). You can click into the link to learn how this works.\n\n![Image](https://github.com/intitni/SmoothGradient/raw/main/Resources/Gradients.png)\n\n## Usage\n\n```swift\nlet colors: [UIColor] = SmoothGradientGenerator()\n    .generate(\n        from: fromColor,\n        to: toColor,\n        interpolation: .hcl, // choose from hcl, hsl, hsb\n        precision: .high\n    )\n```\n\nPlease check example playgrounds for more detail.\n\n## Installation\n\n### Swift Package Manager\n\nSimply add `https://github.com/intitni/SmoothGradient` as a dependency in either Xcode or Package.swift.\n\n## License\n\nMIT.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintitni%2Fsmoothgradient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintitni%2Fsmoothgradient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintitni%2Fsmoothgradient/lists"}