{"id":18060661,"url":"https://github.com/0xleif/xcolor","last_synced_at":"2025-06-26T15:32:41.998Z","repository":{"id":83170963,"uuid":"322451274","full_name":"0xLeif/xColor","owner":"0xLeif","description":"xColorBook.xColorBookPages.xColors","archived":false,"fork":false,"pushed_at":"2020-12-28T17:21:21.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T12:27:06.152Z","etag":null,"topics":["dark-mode","swift","uicolor","uikit"],"latest_commit_sha":null,"homepage":"","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/0xLeif.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":"2020-12-18T00:59:23.000Z","updated_at":"2020-12-28T17:21:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"a04f590e-a898-43c1-a055-4fc81c575880","html_url":"https://github.com/0xLeif/xColor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/0xLeif/xColor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xLeif%2FxColor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xLeif%2FxColor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xLeif%2FxColor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xLeif%2FxColor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xLeif","download_url":"https://codeload.github.com/0xLeif/xColor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xLeif%2FxColor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262094673,"owners_count":23258016,"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":["dark-mode","swift","uicolor","uikit"],"created_at":"2024-10-31T04:10:06.464Z","updated_at":"2025-06-26T15:32:41.943Z","avatar_url":"https://github.com/0xLeif.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xColor\n\n**xColorBook.xColorBookPages.xColors**\n\n```swift\nimport xColor\n\nlet qa_page = xColorBookPage(colors: [\n    \"primary\": xColor(red: 1, green: 0, blue: 0, alpha: 1),\n    \"secondary\": xColor(red: 0.5, green: 0, blue: 1, alpha: 1),\n    \"accent\": xColor(red: 0.5, green: 0.5, blue: 1, alpha: 1),\n])\n\nlet xmas_page = xColorBookPage(colors: [\n    \"primary\": xColor(red: 1, green: 0, blue: 0, alpha: 1),\n    \"secondary\": xColor(red: 0, green: 1, blue: 0, alpha: 1),\n    \"accent\": xColor(red: 0.5, green: 0.5, blue: 0.5, alpha: 1),\n])\n\nlet holloween_page = xColorBookPage(colors: [\n    \"primary\": xColor(red: 0.74, green: 0.25, blue: 0.1, alpha: 1),\n    \"secondary\": xColor(red: 1, green: 0, blue: 0, alpha: 1),\n    \"accent\": xColor(red: 0, green: 0, blue: 0, alpha: 1),\n])\n\nlet book = xColorBook(pages: [\n    \"qa\": qa_page,\n    \"xmas\": xmas_page,\n    \"spooky\": holloween_page\n])\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xleif%2Fxcolor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xleif%2Fxcolor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xleif%2Fxcolor/lists"}