question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support PlatformColor for Icon

See original GitHub issue

Platform

  • iOS
  • macOS
  • win32
  • windows
  • android

Describe the feature that you would like added

RN-SVG doesn’t support RN 0.63 / the new PlatformColor API yet. This blocks us from creating any @fluentui-react-native/icon using a PlatformColor. This is a divergence from the rest of our color tokens that we would like to resolve. To do so, we’ll need to update the RN-SVG repo

What component or utility would this be added to

Icon

Have you discussed this feature with our team, and if so, who

Harrie Shin, Ruriko Arakai

Additional context/screenshots

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
Saadnajmicommented, Dec 6, 2022

@lyzhan7 FYI this should be unblocked

1reaction
lyzhan7commented, Dec 7, 2022

Have confirmed that the PR mentioned above fixes the iOS Notification error that was popping up

Read more comments on GitHub >

github_iconTop Results From Across the Web

PlatformColor support broken for icon background color #7566
After the change, the color property in iconBackground won't work and you instead get a black background on iOS.
Read more >
Platform icons in Color style for graphic & UI design - Icons8
Free Platform icons in Color style. Available in PNG and vector. Download icons in all formats or edit them online for mobile and...
Read more >
PlatformColor - React Native
You can use the PlatformColor function to access native colors on the target platform by supplying the native color's corresponding string ...
Read more >
Customer data platform color icons set vector image
Customer data platform color icons set. Real-time client, anonymous, Customer data concepts. Isolated vector illustrations. Download a free preview or ...
Read more >
How to change platform color schemes. - Support : tastyworks
Sign in to the tastyworks desktop platform. After signing in, enter the platform Settings menu by clicking the gear icon. You can find...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found