From 12cde371e9fce660fedf4a0a33b05774d5d99d15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Thu, 21 Jun 2018 17:55:08 +0200 Subject: [PATCH 1/2] pixel push --- src/components/IsUnlocked.js | 15 +++++++++++++-- src/components/Onboarding/helperComponents.js | 4 +++- src/components/Onboarding/steps/GenuineCheck.js | 4 +++- src/components/Onboarding/steps/Init.js | 4 ++-- src/components/SettingsPage/SettingsSection.js | 3 ++- src/components/SettingsPage/sections/Display.js | 2 +- src/components/TranslatedError.js | 8 +++++--- src/components/base/Input/index.js | 1 + .../modals/Send/04-step-confirmation.js | 2 +- static/i18n/en/app.yml | 2 +- 10 files changed, 32 insertions(+), 13 deletions(-) diff --git a/src/components/IsUnlocked.js b/src/components/IsUnlocked.js index c0cb10e3..c1f7e359 100644 --- a/src/components/IsUnlocked.js +++ b/src/components/IsUnlocked.js @@ -10,7 +10,7 @@ import { translate } from 'react-i18next' import type { SettingsState as Settings } from 'reducers/settings' import type { T } from 'types/common' -import IconLockScreen from 'icons/LockScreen' +import { i } from 'helpers/staticPath' import IconTriangleWarning from 'icons/TriangleWarning' import get from 'lodash/get' @@ -152,7 +152,18 @@ class IsUnlocked extends Component {
- +
+ +
{t('app:common.lockScreen.title')} {t('app:common.lockScreen.subTitle')} diff --git a/src/components/Onboarding/helperComponents.js b/src/components/Onboarding/helperComponents.js index 4f33cb11..fd9cab95 100644 --- a/src/components/Onboarding/helperComponents.js +++ b/src/components/Onboarding/helperComponents.js @@ -27,8 +27,10 @@ export const Description = styled(Box).attrs({ color: 'grey', })` margin: 10px auto 25px; - max-width: 570px; + max-width: 600px; + font-weight: 500; ` + export const Inner = styled(Box).attrs({ horizontal: true, grow: true, diff --git a/src/components/Onboarding/steps/GenuineCheck.js b/src/components/Onboarding/steps/GenuineCheck.js index 24a2af7c..f1ac5dba 100644 --- a/src/components/Onboarding/steps/GenuineCheck.js +++ b/src/components/Onboarding/steps/GenuineCheck.js @@ -355,7 +355,9 @@ export function GenuineCheckFail({ export const GenuineSuccessText = styled(Box).attrs({ ff: 'Open Sans|Regular', fontSize: 4, -})`` +})` + font-weight: 600; +` export const CardTitle = styled(Box).attrs({ ff: 'Open Sans|SemiBold', diff --git a/src/components/Onboarding/steps/Init.js b/src/components/Onboarding/steps/Init.js index 506a0362..ea503497 100644 --- a/src/components/Onboarding/steps/Init.js +++ b/src/components/Onboarding/steps/Init.js @@ -7,12 +7,12 @@ import { colors } from 'styles/theme' import styled from 'styled-components' import { flowType } from 'reducers/onboarding' import Box from 'components/base/Box' -import IconUser from 'icons/User' import IconPlus from 'icons/Plus' import IconRecover from 'icons/Recover' import IconCheck from 'icons/Check' import IconExternalLink from 'icons/ExternalLink' import IconChevronRight from 'icons/ChevronRight' +import { i } from 'helpers/staticPath' import { Title } from '../helperComponents' import type { StepProps } from '..' @@ -66,7 +66,7 @@ class Init extends PureComponent { - + {t('onboarding:init.title')} diff --git a/src/components/SettingsPage/SettingsSection.js b/src/components/SettingsPage/SettingsSection.js index f9343fc8..41b01a99 100644 --- a/src/components/SettingsPage/SettingsSection.js +++ b/src/components/SettingsPage/SettingsSection.js @@ -84,6 +84,7 @@ const SettingsSectionRowContainer = styled(Box).attrs({ horizontal: true, align: 'center', relative: true, + justifyContent: 'space-between', })` cursor: ${p => (p.onClick ? 'pointer' : '')}; ` @@ -101,7 +102,7 @@ export function SettingsSectionRow({ }) { return ( - + {title} diff --git a/src/components/SettingsPage/sections/Display.js b/src/components/SettingsPage/sections/Display.js index 0a19b62a..4c17ba93 100644 --- a/src/components/SettingsPage/sections/Display.js +++ b/src/components/SettingsPage/sections/Display.js @@ -153,7 +153,7 @@ class TabProfile extends PureComponent { title={t('app:settings.display.counterValue')} desc={t('app:settings.display.counterValueDesc')} > - +