Files
react-native/packages/react-native
zhongwuzwandFacebook GitHub Bot 3d71b11e84 Fixes semantic color not work when dark mode changed (#42737)
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
2024-01-30 09:27:18 -08:00
..
2024-01-30 07:34:46 -08:00
2024-01-29 18:54:14 -08:00
2024-01-29 18:54:14 -08:00