mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
add missing iOS platform colors (#46730)
Summary: - add missing platform colors on iOS https://developer.apple.com/documentation/uikit/uicolor/standard_colors ## Changelog: [IOS] [ADDED] - Add `systemCyan` and `systemMint` colors on iOS <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests Pull Request resolved: https://github.com/facebook/react-native/pull/46730 Test Plan: - Ran it in an iOS app (text is no longer black)  Reviewed By: cortinico Differential Revision: D63635182 Pulled By: cipolleschi fbshipit-source-id: b6fa3ff0e38630d820aacedbf88dfe9bd13c0644
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5c7a166dca
commit
4caf548a9f
@@ -752,11 +752,13 @@ static NSDictionary<NSString *, NSDictionary *> *RCTSemanticColorsMap(void)
|
||||
// iOS 13.0
|
||||
RCTFallbackARGB : @(0xFFa2845e)
|
||||
},
|
||||
@"systemCyanColor" : @{},
|
||||
@"systemGreenColor" : @{},
|
||||
@"systemIndigoColor" : @{
|
||||
// iOS 13.0
|
||||
RCTFallbackARGB : @(0xFF5856d6)
|
||||
},
|
||||
@"systemMintColor" : @{},
|
||||
@"systemOrangeColor" : @{},
|
||||
@"systemPinkColor" : @{},
|
||||
@"systemPurpleColor" : @{},
|
||||
|
||||
+2
@@ -95,10 +95,12 @@ static NSDictionary<NSString *, NSDictionary *> *_PlatformColorSelectorsDict()
|
||||
@"systemBrown" : @{
|
||||
kFallbackARGBKey : @(0xFFa2845e) // iOS 13.0
|
||||
},
|
||||
@"systemCyan" : @{},
|
||||
@"systemGreen" : @{},
|
||||
@"systemIndigo" : @{
|
||||
kFallbackARGBKey : @(0xFF5856d6) // iOS 13.0
|
||||
},
|
||||
@"systemMint" : @{},
|
||||
@"systemOrange" : @{},
|
||||
@"systemPink" : @{},
|
||||
@"systemPurple" : @{},
|
||||
|
||||
Reference in New Issue
Block a user