Skip to content

Commit

Permalink
REFACTORING: Styling button text
Browse files Browse the repository at this point in the history
  • Loading branch information
diogosilverio committed Jan 25, 2018
1 parent fb9c039 commit f758191
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions components/flashcards/DeckList.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import DeckItem from '../ui/DeckItem';
import * as services from '../../services';
import * as actions from '../../actions'

import { COLOR_B_4 } from '../../utils/colors';
import { COLOR_B_4, COLOR_A_1 } from '../../utils/colors';

class DeckList extends Component {

Expand Down Expand Up @@ -54,7 +54,7 @@ class DeckList extends Component {
<Entypo size={75} name="emoji-sad" />
<Text>You have no registered decks.</Text>
<TouchableOpacity style={styles.btnAdd} onPress={this.navigateToNewDeck.bind(this)}>
<Text>Add a new deck!</Text>
<Text style={styles.text}>Add a new deck!</Text>
</TouchableOpacity>
</View>
);
Expand All @@ -80,8 +80,11 @@ const styles = StyleSheet.create({
btnAdd: {
backgroundColor: COLOR_B_4,
borderRadius: 2,
padding: 4,
padding: 6,
margin: 10
},
text: {
color: COLOR_A_1
}
})

Expand Down

0 comments on commit f758191

Please sign in to comment.