Closed kevinhikaruevans closed 2 years ago
I'm currently using react-native-paper, which has colors provided by the theme. The default theme uses rgba() colors instead of hex.
rgba()
When an rgba() color is used, it returns an "Unsupported color format" error:
This only happens with highlightColor and not backgroundColor, something like this fails:
highlightColor
backgroundColor
<SkeletonPlaceholder backgroundColor={colors.secondary} highlightColor={colors.secondaryContainer} borderRadius={4} >
I agree, it is important to support rgba and hex I'll check
I'm currently using react-native-paper, which has colors provided by the theme. The default theme uses
rgba()
colors instead of hex.When an
rgba()
color is used, it returns an "Unsupported color format" error:This only happens with
highlightColor
and notbackgroundColor
, something like this fails: