[RN] Increase contrast and consistency in LoadingIndicator use cases

This commit is contained in:
Lyubo Marinov 2017-09-22 15:07:06 -05:00
parent 6fb5c4bc29
commit 1ea62215f6
3 changed files with 7 additions and 3 deletions

View File

@ -3,6 +3,8 @@
import React, { Component } from 'react';
import { ActivityIndicator } from 'react-native';
import { ColorPalette } from '../../../styles';
/**
* An animated, large react-native {@link ActivityIndicator} which is considered
* a suitable visualization of long-running processes with indeterminate amounts
@ -19,7 +21,9 @@ export default class LoadingIndicator extends Component {
return (
<ActivityIndicator
animating = { true }
size = { 'large' } />
color = { ColorPalette.white }
size = { 'large' }
{ ...this.props } />
);
}
}

View File

@ -109,7 +109,7 @@ class WelcomePage extends AbstractWelcomePage {
// modify non-native children.
children = (
<View>
<LoadingIndicator />
<LoadingIndicator color = { styles.buttonText.color } />
</View>
);
} else {

View File

@ -40,7 +40,7 @@ export default createStyleSheet({
*/
buttonText: {
alignSelf: 'center',
color: '#00ccff',
color: ColorPalette.blue,
fontSize: 18
},