Added support for #rgba and #rrggbbaa colors

Summary: public

Added support for #rgba and #rrggbbaa colors, which are now officially recognized in the css spec, and supported by WebKit:

http://trac.webkit.org/changeset/192023

Reviewed By: davidaurelio

Differential Revision: D2631386

fb-gh-sync-id: 207a14f77f94bac8088568dc1bbe2bb29f0176c3
This commit is contained in:
Nick Lockwood
2015-11-09 08:00:26 -08:00
committed by facebook-github-bot-3
parent c6532a94a6
commit 3c04bfcf53
2 changed files with 28 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ var styles = StyleSheet.create({
},
border7: {
borderWidth: 10,
borderColor: 'rgba(255,0,0,0.5)',
borderColor: '#f007',
borderRadius: 30,
overflow: 'hidden',
},