{"id":17163173,"url":"https://github.com/noppefoxwolf/swiftuiworkaround","last_synced_at":"2025-03-24T16:42:04.907Z","repository":{"id":56774076,"uuid":"525005892","full_name":"noppefoxwolf/SwiftUIWorkaround","owner":"noppefoxwolf","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-17T16:54:56.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-02T05:46:15.788Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noppefoxwolf.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}},"created_at":"2022-08-15T13:51:54.000Z","updated_at":"2023-01-27T18:02:10.000Z","dependencies_parsed_at":"2022-08-16T02:31:06.343Z","dependency_job_id":null,"html_url":"https://github.com/noppefoxwolf/SwiftUIWorkaround","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FSwiftUIWorkaround","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FSwiftUIWorkaround/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FSwiftUIWorkaround/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FSwiftUIWorkaround/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noppefoxwolf","download_url":"https://codeload.github.com/noppefoxwolf/SwiftUIWorkaround/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245314513,"owners_count":20595201,"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-10-14T22:48:02.367Z","updated_at":"2025-03-24T16:42:04.887Z","avatar_url":"https://github.com/noppefoxwolf.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftUIWorkaround\n\n# Install\n\n# Usage\n\n## preferredColorScheme(_:)\n\n`preferredColorScheme(nil)` is not working on sheet after changed.\n\n`workaround.preferredColorScheme(_:)` changes all hierarcy appearance and working good with nil.\n\n```swift\nstruct ColorSchemeView: View {\n    @State var colorScheme: ColorScheme? = nil\n    \n    var body: some View {\n        contentView\n            .workaround.preferredColorScheme($colorScheme)\n    }\n}\n```\n\n# Author\n\n[noppe](https://twitter.com/noppefoxwolf)\n\n# LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoppefoxwolf%2Fswiftuiworkaround","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoppefoxwolf%2Fswiftuiworkaround","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoppefoxwolf%2Fswiftuiworkaround/lists"}