{"id":15700971,"url":"https://github.com/bash/egui-theme-switch","last_synced_at":"2025-08-13T23:07:41.099Z","repository":{"id":248594729,"uuid":"829139329","full_name":"bash/egui-theme-switch","owner":"bash","description":"A very pretty theme switch  for your egui app","archived":false,"fork":false,"pushed_at":"2025-07-12T12:26:38.000Z","size":344,"stargazers_count":21,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-05T04:52:45.315Z","etag":null,"topics":["egui","egui-widget"],"latest_commit_sha":null,"homepage":"http://tau.garden/egui-theme-switch/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bash.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"license-apache.txt","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,"zenodo":null}},"created_at":"2024-07-15T20:55:33.000Z","updated_at":"2025-07-12T15:03:05.000Z","dependencies_parsed_at":"2024-10-24T05:25:44.233Z","dependency_job_id":"87e3581c-fbe7-4cc6-80d7-bb364f9eaa23","html_url":"https://github.com/bash/egui-theme-switch","commit_stats":null,"previous_names":["bash/egui-theme-switch"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/bash/egui-theme-switch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash%2Fegui-theme-switch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash%2Fegui-theme-switch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash%2Fegui-theme-switch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash%2Fegui-theme-switch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bash","download_url":"https://codeload.github.com/bash/egui-theme-switch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash%2Fegui-theme-switch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270330595,"owners_count":24565816,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["egui","egui-widget"],"created_at":"2024-10-03T19:57:24.160Z","updated_at":"2025-08-13T23:07:41.083Z","avatar_url":"https://github.com/bash.png","language":"Rust","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# `egui-theme-switch`\n\n[![Docs](https://img.shields.io/docsrs/egui-theme-switch/latest)](https://docs.rs/egui-theme-switch)\n[![Crate Version](https://img.shields.io/crates/v/egui-theme-switch)](https://crates.io/crates/egui-theme-switch)\n\nA *very* pretty theme switch widget for your egui app.\nIt allows you to choose between dark, light and follow system.\n\n\u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"doc/dark.png\"\u003e\n    \u003cimg src=\"doc/light.png\" width=\"400\" alt=\"Screenshot of a tri-state switch with three options: follow system, dark, light\"\u003e\n\u003c/picture\u003e\n\n## Example\n\n```rust\nuse egui::ThemePreference;\nuse egui_theme_switch::{ThemeSwitch, global_theme_switch};\n\n// A switch for egui's global theme preference:\nglobal_theme_switch(ui);\n\n// ... or alternatively:\nlet mut preference = ThemePreference::System;\nif ui.add(ThemeSwitch::new(\u0026mut preference)).changed() {\n    // ...\n}\n```\n\n## [Interactive Demo](https://tau.garden/egui-theme-switch/)\n\n## [Docs](https://docs.rs/egui-theme-switch)\n\n## License\nLicensed under either of\n\n* Apache License, Version 2.0\n  ([license-apache.txt](license-apache.txt) or \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n* MIT license\n  ([license-mit.txt](license-mit.txt) or \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n\n## Contribution\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbash%2Fegui-theme-switch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbash%2Fegui-theme-switch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbash%2Fegui-theme-switch/lists"}