{"id":22763282,"url":"https://github.com/nikstar/swift-oklch","last_synced_at":"2025-03-30T09:41:38.448Z","repository":{"id":250538407,"uuid":"834742471","full_name":"nikstar/swift-oklch","owner":"nikstar","description":"Oklch support for Swift","archived":false,"fork":false,"pushed_at":"2024-07-28T08:22:37.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T11:44:48.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nikstar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-07-28T08:12:23.000Z","updated_at":"2024-07-28T08:23:56.000Z","dependencies_parsed_at":"2024-07-28T09:54:40.562Z","dependency_job_id":null,"html_url":"https://github.com/nikstar/swift-oklch","commit_stats":null,"previous_names":["nikstar/swift-oklch"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikstar%2Fswift-oklch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikstar%2Fswift-oklch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikstar%2Fswift-oklch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikstar%2Fswift-oklch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikstar","download_url":"https://codeload.github.com/nikstar/swift-oklch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301961,"owners_count":20755512,"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":[],"created_at":"2024-12-11T11:07:55.072Z","updated_at":"2025-03-30T09:41:38.429Z","avatar_url":"https://github.com/nikstar.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Oklch support for Swift\n\n```swift\nimport SwiftUI\nimport Oklch\n\nlet color = Color.oklch(0.8, 0.35, .degress(230))\n\n// nil for colors with different light and dark appearances such as `Color.red` \nlet maybeOklch: Oklch? = someColor.oklch \n\nlet oklch: Oklch = Color.red.resolved(in: env).oklch\n\nlet brighterColor = oklch.with { $0.lightness *= 1.15 }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikstar%2Fswift-oklch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikstar%2Fswift-oklch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikstar%2Fswift-oklch/lists"}