Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
added accent color
Browse files Browse the repository at this point in the history
  • Loading branch information
lochungtin committed May 31, 2021
1 parent 6bf7b55 commit da38037
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/screens/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@ class Screen extends React.Component<NavProps & ReduxProps> {
return (
<View style={{ ...ScreenStyles.screen, backgroundColor: darktheme.bgColor }}>
<Text style={{ ...MainStyles.titleText, color: darktheme.textColor }}>
2 0 4 8
<Text style={{ color: darktheme.accentColor }}>2</Text> 0 4 8
</Text>
<View style={MainStyles.scoreBar}>
<View style={{ ...MainStyles.scoreContainer, backgroundColor: darktheme.textboxColor }}>
<Text style={{ ...MainStyles.scoreLabelText, color: darktheme.textColor }}>
<Text style={{ ...MainStyles.scoreLabelText, color: darktheme.accentColor }}>
Score
</Text>
<Text style={{ ...MainStyles.scoreText, color: darktheme.textColor }}>
{this.props.game.score}
</Text>
</View>
<View style={{ ...MainStyles.scoreContainer, backgroundColor: darktheme.textboxColor }}>
<Text style={{ ...MainStyles.scoreLabelText, color: darktheme.textColor }}>
<Text style={{ ...MainStyles.scoreLabelText, color: darktheme.accentColor }}>
High Score
</Text>
<Text style={{ ...MainStyles.scoreText, color: darktheme.textColor }}>
Expand All @@ -62,7 +62,7 @@ class Screen extends React.Component<NavProps & ReduxProps> {
<Icon color={darktheme.btnColor} name='lightbulb-outline' size={40} />
</TouchableOpacity>
<TouchableOpacity onPress={() => this.props.navigation.navigate('Records')}>
<Icon color={darktheme.btnColor} name='text-box-outline' size={40} />
<Icon color={darktheme.accentColor} name='text-box-outline' size={40} />
</TouchableOpacity>
</View>
</View>
Expand Down

0 comments on commit da38037

Please sign in to comment.