Skip to content

Commit

Permalink
Update onboarding assets and colors
Browse files Browse the repository at this point in the history
  • Loading branch information
wyne committed Nov 19, 2023
1 parent 1583cef commit 0540cb4
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 12 deletions.
Binary file added assets/onboarding/addend-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/onboarding/addend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/onboarding/sheet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/EditGame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const EditGame = ({ }) => {
<View style={styles.inputContainer}>
<Input
defaultValue={localTitle}
maxLength={15}
maxLength={30}
onChangeText={onChangeTextHandler}
onEndEditing={onEndEditingHandler}
onBlur={onEndEditingHandler}
Expand Down
28 changes: 17 additions & 11 deletions src/screens/OnboardingScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,45 +39,51 @@ const data: OnboardingScreenItem[] = [
imageHeight: 150,
imageWidth: 150,
description: 'Swipe left to begin.',
backgroundColor: '#3475B1',
backgroundColor: '#8ca2b8',
},
{
title: "Add Points",
image: require('../../assets/onboarding/add.png'),
description: 'Tap the top half of a player’s tile to add points.',
backgroundColor: '#7bcf6e',
backgroundColor: '#a0c99a',
},
{
title: "Subtract Points",
image: require('../../assets/onboarding/subtract.png'),
description: 'Tap the bottom half of a player’s tile to subtract points.',
backgroundColor: '#db4747',
backgroundColor: '#d29898',
},
{
title: "Adjust Point Values",
image: require('../../assets/onboarding/multiplier.jpeg'),
description: 'Adjust the point value by tapping on the point value selector.',
backgroundColor: '#7370cf',
image: require('../../assets/onboarding/addend-button.png'),
description: 'Adjust the point value by tapping on the point value selector in the top right.',
backgroundColor: '#9896c5',
},
// {
// title: "Adjust Point Values",
// image: require('../../assets/onboarding/addend.png'),
// description: 'You can set different values for tap and long press.',
// backgroundColor: '#7370cf',
// },
{
title: "Change Round",
title: "Change Rounds",
image: require('../../assets/onboarding/rounds.png'),
description: 'Use rounds for score history. \nTap the arrows to cycle rounds.',
backgroundColor: '#f0c330',
backgroundColor: '#c8b780',
},
{
title: "Score History",
image: require('../../assets/onboarding/sheet.png'),
description: 'Pull up the bottom sheet to view score history. \nPull down to close.',
backgroundColor: '#7bcf6e',
description: 'Pull up the bottom sheet to view score history and edit the game.',
backgroundColor: '#94c49e',
},
{
title: "That's it!",
image: require('../../assets/icon.png'),
imageHeight: 150,
imageWidth: 150,
description: 'Return to this tutorial \n at any time.',
backgroundColor: '#3475B1',
backgroundColor: '#8ca2b8',
},
];

Expand Down

0 comments on commit 0540cb4

Please sign in to comment.