-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CP-9316: Buttons and Glasses (#2033)
- Loading branch information
Showing
37 changed files
with
759 additions
and
105 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
19 changes: 0 additions & 19 deletions
19
packages/core-mobile/app/new/components/BlurBackgroundView.tsx
This file was deleted.
Oops, something went wrong.
12 changes: 8 additions & 4 deletions
12
packages/core-mobile/app/new/components/navigation/BackBarButton.tsx
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
16 changes: 16 additions & 0 deletions
16
packages/core-mobile/app/new/components/navigation/BlurredBackgroundView.tsx
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from 'react' | ||
import { useColorScheme } from 'react-native' | ||
import { GlassView } from '@avalabs/k2-alpine' | ||
|
||
const BlurredBackgroundView = (): JSX.Element => { | ||
const colorScheme = useColorScheme() | ||
|
||
return ( | ||
<GlassView | ||
style={{ flex: 1 }} | ||
glassType={colorScheme === 'dark' ? 'dark' : 'light'} | ||
/> | ||
) | ||
} | ||
|
||
export default BlurredBackgroundView |
20 changes: 0 additions & 20 deletions
20
packages/core-mobile/app/new/components/navigation/HeaderBackground.tsx
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
packages/core-mobile/app/new/components/navigation/TabBarBackground.tsx
This file was deleted.
Oops, something went wrong.
8 changes: 5 additions & 3 deletions
8
packages/core-mobile/app/new/routes/(signedIn)/(modals)/settings/account.tsx
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
4 changes: 2 additions & 2 deletions
4
packages/core-mobile/app/new/routes/(signedIn)/(tabs)/_layout.tsx
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
declare module '*.svg' { | ||
import React from 'react' | ||
import { SvgProps } from 'react-native-svg' | ||
const content: React.FC<SvgProps> | ||
export default 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
const { getDefaultConfig } = require('expo/metro-config') | ||
|
||
module.exports = (() => { | ||
const config = getDefaultConfig(__dirname) | ||
|
||
config.transformer.babelTransformerPath = require.resolve( | ||
'react-native-svg-transformer' | ||
) | ||
config.resolver.assetExts = config.resolver.assetExts.filter( | ||
ext => ext !== 'svg' | ||
) | ||
config.resolver.sourceExts = [...config.resolver.sourceExts, 'svg'] | ||
|
||
return config | ||
})() |
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.
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.
Oops, something went wrong.