0

I was trying to figure out the default text color on Android and iOS in react-native.

Is the default color of the default of Android? I found - https://stackoverflow.com/a/33176972/1828637

Is it really #808080? Anyway to programtically get this?

Noitidart
  • 35,443
  • 37
  • 154
  • 323
  • Check this [comment](https://stackoverflow.com/questions/6468602/what-is-default-color-for-text-in-textview/33176972#comment45329621_6468781). – Enzokie Dec 21 '17 at 00:06
  • The accepted answer to the post you linked says that for Android, it's based on the current theme. There are other answers that reference where and , how those theme colors are defined, and how to get them programatically. Only one of the answers in that linked post say anything about #808080 AFAICT. – Ken White Dec 21 '17 at 00:08
  • @KenWhite but im not sure if React Native takes the Android default, or has a default of its own. I couldn't find a default in react-native code base so was thinking it was Android default. – Noitidart Dec 21 '17 at 00:09
  • Why would React not use the default theme colors selected by the user? – Ken White Dec 21 '17 at 00:10

0 Answers0