{"id":16115610,"url":"https://github.com/kornelski/is-dark-theme","last_synced_at":"2025-08-24T10:15:04.109Z","repository":{"id":228280997,"uuid":"773577817","full_name":"kornelski/is-dark-theme","owner":"kornelski","description":"Hacky check whether macOS is configured to use a Dark Mode appearance","archived":false,"fork":false,"pushed_at":"2024-03-18T02:23:06.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-12T06:30:30.417Z","etag":null,"topics":["dark-theme","light-theme","macos","prefers-color-scheme","rust-library"],"latest_commit_sha":null,"homepage":"https://lib.rs/is-dark-theme","language":"Rust","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/kornelski.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}},"created_at":"2024-03-18T02:13:48.000Z","updated_at":"2024-03-22T01:36:55.000Z","dependencies_parsed_at":"2024-03-18T02:44:08.457Z","dependency_job_id":null,"html_url":"https://github.com/kornelski/is-dark-theme","commit_stats":null,"previous_names":["kornelski/is-dark-theme"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kornelski%2Fis-dark-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kornelski%2Fis-dark-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kornelski%2Fis-dark-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kornelski%2Fis-dark-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kornelski","download_url":"https://codeload.github.com/kornelski/is-dark-theme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233794924,"owners_count":18731360,"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-theme","light-theme","macos","prefers-color-scheme","rust-library"],"created_at":"2024-10-09T20:19:17.313Z","updated_at":"2025-01-13T19:05:17.460Z","avatar_url":"https://github.com/kornelski.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Check whether the system is set to a Dark Mode style\n\nThis checks a *global* system default. It is intended for headless tools or programs that can't access their windows.\nIt may not be accurate when specific screens or applications have a different theme set.\nIf you control your GUI, please check window-specific properties instead (on macOS that is `NSAppearance` protocol).\n\nOn macOS this crate uses Core Foundation to read a `AppleInterfaceStyle` global setting, which is equivalent of:\n\n```bash\ndefaults read -g AppleInterfaceStyle\n```\n\nOn other platforms only `None` is returned. Please submit pull requests for more OSes!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkornelski%2Fis-dark-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkornelski%2Fis-dark-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkornelski%2Fis-dark-theme/lists"}