From dbd917c65542a3a5a1eec51b2d2182c8a2c3b9ed Mon Sep 17 00:00:00 2001 From: Jakub Kosmydel <104823336+kosmydel@users.noreply.github.com> Date: Thu, 12 Oct 2023 13:03:24 +0200 Subject: [PATCH 01/30] fix header gap --- src/CONST.ts | 2 +- src/styles/styles.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CONST.ts b/src/CONST.ts index 58fdea7654cb..52d80ecd2d49 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -883,7 +883,7 @@ const CONST = { WIDTH: 320, HEIGHT: 416, }, - DESKTOP_HEADER_PADDING: 12, + DESKTOP_HEADER_PADDING: 27, CATEGORY_SHORTCUT_BAR_HEIGHT: 32, SMALL_EMOJI_PICKER_SIZE: { WIDTH: '100%', diff --git a/src/styles/styles.js b/src/styles/styles.js index 8fa81cd98b21..dcd328dc27c8 100644 --- a/src/styles/styles.js +++ b/src/styles/styles.js @@ -814,6 +814,7 @@ const styles = (theme) => ({ headerGap: { height: CONST.DESKTOP_HEADER_PADDING, + backgroundColor: theme.highlightBG, }, reportOptions: { From e477710bb09e0a0e5089c2656eacdaf1277a0b72 Mon Sep 17 00:00:00 2001 From: Robert Kozik Date: Thu, 12 Oct 2023 15:47:47 +0200 Subject: [PATCH 02/30] set the settings root color to darkHighlightBackground --- src/styles/themes/default.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/themes/default.js b/src/styles/themes/default.js index db4719f5548a..22e14cbc7193 100644 --- a/src/styles/themes/default.js +++ b/src/styles/themes/default.js @@ -93,7 +93,7 @@ darkTheme.PAGE_BACKGROUND_COLORS = { [SCREENS.SETTINGS.WORKSPACES]: colors.pink800, [SCREENS.SETTINGS.SECURITY]: colors.ice500, [SCREENS.SETTINGS.STATUS]: colors.green700, - [SCREENS.SETTINGS.ROOT]: darkTheme.sidebar, + [SCREENS.SETTINGS.ROOT]: colors.darkHighlightBackground, }; export default darkTheme; From 2f16e9297a889c3c8224499ead53ad8d0df42823 Mon Sep 17 00:00:00 2001 From: Jakub Kosmydel <104823336+kosmydel@users.noreply.github.com> Date: Thu, 12 Oct 2023 14:03:37 +0200 Subject: [PATCH 03/30] change signin button avatar --- src/components/Icon/Expensicons.js | 2 ++ src/pages/home/sidebar/SignInButton.js | 12 ++++-------- src/styles/styles.js | 3 --- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/components/Icon/Expensicons.js b/src/components/Icon/Expensicons.js index dd106c6b3c20..e22891d385c1 100644 --- a/src/components/Icon/Expensicons.js +++ b/src/components/Icon/Expensicons.js @@ -42,6 +42,7 @@ import Emoji from '../../../assets/images/emoji.svg'; import EmptyStateRoutePending from '../../../assets/images/emptystate__routepending.svg'; import Exclamation from '../../../assets/images/exclamation.svg'; import Exit from '../../../assets/images/exit.svg'; +import ExpensifyAppIcon from '../../../assets/images/expensify-app-icon.svg'; import ExpensifyCard from '../../../assets/images/expensifycard.svg'; import ExpensifyWordmark from '../../../assets/images/expensify-wordmark.svg'; import Expand from '../../../assets/images/expand.svg'; @@ -174,6 +175,7 @@ export { EmptyStateRoutePending, Exclamation, Exit, + ExpensifyAppIcon, ExpensifyCard, ExpensifyWordmark, ExpensifyFooterLogo, diff --git a/src/pages/home/sidebar/SignInButton.js b/src/pages/home/sidebar/SignInButton.js index 24b90d778445..770ae369c604 100644 --- a/src/pages/home/sidebar/SignInButton.js +++ b/src/pages/home/sidebar/SignInButton.js @@ -2,11 +2,12 @@ import React from 'react'; import {View} from 'react-native'; import PressableWithoutFeedback from '../../../components/Pressable/PressableWithoutFeedback'; -import Button from '../../../components/Button'; import styles from '../../../styles/styles'; import * as Session from '../../../libs/actions/Session'; import useLocalize from '../../../hooks/useLocalize'; import CONST from '../../../CONST'; +import Avatar from '../../../components/Avatar'; +import * as Expensicons from '../../../components/Icon/Expensicons'; function SignInButton() { const {translate} = useLocalize(); @@ -17,13 +18,8 @@ function SignInButton() { accessibilityRole={CONST.ACCESSIBILITY_ROLE.BUTTON} onPress={Session.signOutAndRedirectToSignIn} > - -