mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: When we changed dark mode, the semantic color was not applied because we use color components, it's not dynamic. So let's store the `UIColor` for semantic color directly. https://github.com/facebook/react-native/assets/5061845/bd6d15fe-01eb-4ad7-9844-a19ef8585dae ## Changelog: [IOS] [FIXED] - [Fabric] Fixes semantic color not work when dark mode changed Pull Request resolved: https://github.com/facebook/react-native/pull/42737 Test Plan: semantic color changed when switch dark mode. Reviewed By: christophpurrer Differential Revision: D53226806 Pulled By: cipolleschi fbshipit-source-id: 66d5417fa1bb6a5da498e903675a93b20d920c0a