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

Commit

Permalink
Correct BTC dark mode color
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Colado committed Jun 18, 2019
1 parent a743284 commit 0714eb0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/components/accountSummary/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { tokenMap } from '../../constants/tokens';
import blurBig from '../../assets/images/balanceBlur/darkBig.png';
import blurMedium from '../../assets/images/balanceBlur/darkMedium.png';
import blurSmall from '../../assets/images/balanceBlur/darkSmall.png';
import { colors } from '../../constants/styleGuide';
import { colors, themes } from '../../constants/styleGuide';

const blurs = {
blurBig, blurMedium, blurSmall,
Expand All @@ -25,6 +25,7 @@ const Profile = ({
account,
settings,
token,
theme,
}) => {
const AView = Animated.View;
let balanceSize = 'Small';
Expand Down Expand Up @@ -54,7 +55,7 @@ const Profile = ({
style={styles.tokenLogo}
name={tokenMap[token].icon}
size={30}
color={colors.light.BTC}
color={theme === themes.light ? colors.light.BTC : colors.dark.homeHeaderBg}
/>
</View>
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/accountSummary/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export default () => ({
backgroundColor: setColorOpacity(colors.dark.ultramarineBlue, 0.3),
},
homeContainerBTC: {
backgroundColor: colors.light.BTC,
backgroundColor: setColorOpacity(colors.dark.ultramarineBlue, 0.3),
},
walletContainer: {
borderBottomWidth: 1,
Expand Down
2 changes: 1 addition & 1 deletion src/components/router/dynamicHeaderBackground/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default () => ({
},
[themes.dark]: {
BTC: {
backgroundColor: colors.light.BTC,
backgroundColor: colors.dark.homeHeaderBg,
},
LSK: {
backgroundColor: colors.dark.homeHeaderBg,
Expand Down

0 comments on commit 0714eb0

Please sign in to comment.