{"id":16170750,"url":"https://github.com/holtwick/desertcolors","last_synced_at":"2026-03-03T05:40:33.729Z","repository":{"id":66971143,"uuid":"150254619","full_name":"holtwick/DesertColors","owner":"holtwick","description":"macOS System Colors - Light \u0026 Dark Mode","archived":false,"fork":false,"pushed_at":"2021-11-05T17:30:57.000Z","size":24,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-22T22:21:41.859Z","etag":null,"topics":["css","css-variables","dark","dark-mode","dark-theme","html","html5","macos","mojave"],"latest_commit_sha":null,"homepage":"https://holtwick.de/blog/2018-09-25-mojave-css?ref=github","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/holtwick.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}},"created_at":"2018-09-25T11:28:59.000Z","updated_at":"2023-03-17T12:13:11.000Z","dependencies_parsed_at":"2023-05-16T07:15:11.408Z","dependency_job_id":null,"html_url":"https://github.com/holtwick/DesertColors","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":"0.11111111111111116","last_synced_commit":"ec1aabe8917be1602ca53b497cabb994ab1c849a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/holtwick/DesertColors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holtwick%2FDesertColors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holtwick%2FDesertColors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holtwick%2FDesertColors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holtwick%2FDesertColors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holtwick","download_url":"https://codeload.github.com/holtwick/DesertColors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holtwick%2FDesertColors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30033499,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T05:09:26.876Z","status":"ssl_error","status_checked_at":"2026-03-03T05:09:23.944Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["css","css-variables","dark","dark-mode","dark-theme","html","html5","macos","mojave"],"created_at":"2024-10-10T03:19:34.060Z","updated_at":"2026-03-03T05:40:33.724Z","avatar_url":"https://github.com/holtwick.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DesertColors\n\nSince macOS 10.14 Mojave different **visual modes like [dark](https://developer.apple.com/design/human-interface-guidelines/macos/visual-design/dark-mode/) and light** are available for the desktop. Native app developers can use **named system colors** to get the best fit for both [**semantic colors**](https://developer.apple.com/documentation/appkit/nscolor/ui_element_colors) (like \"window background\", \"secondary label\") or [**plain colors**](https://developer.apple.com/documentation/appkit/nscolor/standard_colors) (like \"red\", \"green\"). \n\nTo adopt these [colors](https://developer.apple.com/design/human-interface-guidelines/macos/visual-design/color/) for **web development** it is useful to get access to their **color values for use in CSS**. That's what DesertColor is providing.\n\n`dessertcolor.css` contains these extracted colors. With `\u003chtml data-mode=\"dark\"\u003e` the dark variant is used, otherwise the light one. \n\nBut be aware, that [Dark Mode](https://developer.apple.com/design/human-interface-guidelines/macos/visual-design/dark-mode/) in Mojave is not only about plain colors and that there is more like \"Desktop Tinting\" or \"Translucency\".\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholtwick%2Fdesertcolors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholtwick%2Fdesertcolors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholtwick%2Fdesertcolors/lists"}