From 713d169915a82edfcfe4b44622e3dce8c6adaf0c Mon Sep 17 00:00:00 2001 From: Shravya Ramesh <37447613+shravyaramesh@users.noreply.github.com> Date: Tue, 17 Nov 2020 18:06:14 -0800 Subject: [TMA-382] Edit profile screen (#121) * added more icon * a less fat icon * and the actual icon asset * bottom drawer skeleton done * removed warning, better code * a more completed skeleton done * bottom drawer done! * Added content container, sent birthday picker props, minor styling * differenciating defined and undefined birthdate in birthdate, datepicker * removed restricting width for TaggDropDown * Added edit profile screen to navigator stack * Add EditProfile view, refresh profile view on save * Removes unnecessary import * Stores gender and birthdate as part of ProfileType * Added gender, birthdate, isEditProfile to AuthProv * Conditional view applied for edit profile button * Includes discarded changes in previous merge- BD * removed unused icon * resolved scary warnings * added icon to drawer * Small fix * minor code improvement * sc * fixed birthday bug * custom gender updation fixed * small change to birthday default value * missed something * cleaned up types! Warnings gone! * fixed another gender picker bug * fixed gender bug and cleaned up logic * removed warning, MUCH better code now Co-authored-by: Ivan Chen Co-authored-by: Ashm Walia --- src/constants/constants.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/constants') diff --git a/src/constants/constants.ts b/src/constants/constants.ts index dbd79b45..c2003fb4 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -1,5 +1,7 @@ import {SCREEN_WIDTH, SCREEN_HEIGHT} from '../utils'; +export const CHIN_HEIGHT = 34; + export const PROFILE_CUTOUT_TOP_Y = SCREEN_HEIGHT / 2.3; export const PROFILE_CUTOUT_BOTTOM_Y = SCREEN_HEIGHT / 1.8; export const PROFILE_CUTOUT_CORNER_X = SCREEN_WIDTH / 2.9; @@ -46,6 +48,9 @@ export const LINKEDIN_FONT_COLOR: string = '#78B5FD'; export const SNAPCHAT_FONT_COLOR: string = '#FFFC00'; export const YOUTUBE_FONT_COLOR: string = '#FCA4A4'; +export const TAGG_DARK_BLUE = '#4E699C'; +export const TAGG_TEXT_LIGHT_BLUE: string = '#698DD3'; + export const TAGGS_GRADIENT = { start: '#9F00FF', end: '#27EAE9', @@ -81,5 +86,3 @@ export const defaultMoments: Array = [ 'Creativity', 'Activity', ]; - -export const MOMENTS_TITLE_COLOR: string = '#698DD3'; -- cgit v1.2.3-70-g09d2