Page MenuHomePhabricator

[native] change outerRingSelectedColor prop type from string to ViewStyle
ClosedPublic

Authored by ginsu on Apr 10 2023, 11:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 1, 9:40 PM
Unknown Object (File)
Apr 15 2024, 1:56 AM
Unknown Object (File)
Mar 28 2024, 5:41 AM
Unknown Object (File)
Mar 28 2024, 5:41 AM
Unknown Object (File)
Mar 28 2024, 5:41 AM
Unknown Object (File)
Mar 28 2024, 5:41 AM
Unknown Object (File)
Mar 28 2024, 5:38 AM
Unknown Object (File)
Mar 19 2024, 4:49 AM
Subscribers

Details

Summary

Based on a comment I got on D7323 it would be better to have the outerRingSelectedColor prop type be a ViewStyle so that we can use a color entry from color.js instead of picking a color in the EmojiAvatarCreation component, which will help maintain a consistent design system

Depends on D7353

Test Plan

Tested the selected color outer ring in ColorSelectors and EmojiAvatarCreation and got the following in light and dark mode:

ColorSelectors (does not use the outerRingSelectedColor prop):

Dark:

Screenshot 2023-04-10 at 2.37.54 PM.png (1×1 px, 808 KB)

Light:

Screenshot 2023-04-10 at 2.37.39 PM.png (1×1 px, 814 KB)

EmojiAvatarCreation: (used modalSubtext entry from colors.js as the outerRingSelectedColor prop)

Dark:

Screenshot 2023-04-10 at 2.37.11 PM.png (1×1 px, 787 KB)

Light:

Screenshot 2023-04-10 at 2.37.24 PM.png (1×1 px, 796 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 10 2023, 12:04 PM