-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: initial paradym theme changes (#261)
Signed-off-by: Jan <[email protected]> Co-authored-by: Timo Glastra <[email protected]>
- Loading branch information
1 parent
58a5049
commit e8cc819
Showing
61 changed files
with
457 additions
and
899 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
import React from 'react' | ||
|
||
import { useHaptics, useScrollViewPosition } from '@package/app/src/hooks' | ||
import { Button, FlexPage, Heading, HeroIcons, ScrollView, Stack, XStack, YStack, useScaleAnimation } from '@package/ui' | ||
import { | ||
Button, | ||
FlexPage, | ||
HeaderContainer, | ||
Heading, | ||
HeroIcons, | ||
ScrollView, | ||
Stack, | ||
XStack, | ||
YStack, | ||
useScaleAnimation, | ||
} from '@package/ui' | ||
|
||
import { usePidCredential } from '@easypid/hooks' | ||
import { useWalletReset } from '@easypid/hooks/useWalletReset' | ||
|
@@ -67,17 +78,8 @@ export function FunkeMenuScreen() { | |
|
||
return ( | ||
<FlexPage gap="$0" paddingHorizontal="$0"> | ||
<YStack w="100%" top={0} borderBottomWidth="$0.5" borderColor={isScrolledByOffset ? '$grey-200' : '$background'}> | ||
<YStack p="$4" gap="$2"> | ||
<Stack h="$2" /> | ||
<Heading variant="h1">Menu</Heading> | ||
</YStack> | ||
</YStack> | ||
<ScrollView | ||
onScroll={handleScroll} | ||
scrollEventThrottle={scrollEventThrottle} | ||
contentContainerStyle={{ minHeight: '85%' }} | ||
> | ||
<HeaderContainer isScrolledByOffset={isScrolledByOffset} title="Menu" /> | ||
<ScrollView onScroll={handleScroll} scrollEventThrottle={scrollEventThrottle}> | ||
<YStack fg={1} jc="space-between"> | ||
<YStack> | ||
{idItem} | ||
|
@@ -146,7 +148,7 @@ const MenuItem = ({ item, idx, onPress }: { item: (typeof menuItems)[number]; id | |
<Stack | ||
onPressIn={handlePressIn} | ||
onPressOut={handlePressOut} | ||
onPress={withHaptics(() => Linking.openURL('mailto:[email protected]?subject=Feedback on the Funke EUDI Wallet'))} | ||
onPress={withHaptics(() => Linking.openURL('mailto:[email protected]?subject=Feedback on the Wallet'))} | ||
asChild | ||
> | ||
{content} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.