-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: replace drawer dialog, containers and global header footers, o…
…nboarding, settings, ref #4371
- Loading branch information
1 parent
22b695e
commit 6cf8f31
Showing
315 changed files
with
4,112 additions
and
4,452 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
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,46 @@ | ||
import { breakpoints, tokens } from '@leather-wallet/tokens'; | ||
|
||
export const customViewports = { | ||
popup: { | ||
name: 'Popup', | ||
styles: { | ||
width: tokens.sizes.popupWidth.value, | ||
height: tokens.sizes.popupHeight.value, | ||
}, | ||
}, | ||
sm: { | ||
name: 'sm', | ||
styles: { | ||
width: breakpoints.sm, | ||
height: '100%', | ||
}, | ||
}, | ||
md: { | ||
name: 'md', | ||
styles: { | ||
width: breakpoints.md, | ||
height: '100%', | ||
}, | ||
}, | ||
lg: { | ||
name: 'lg', | ||
styles: { | ||
width: breakpoints.lg, | ||
height: '100%', | ||
}, | ||
}, | ||
xl: { | ||
name: 'xl', | ||
styles: { | ||
width: breakpoints.xl, | ||
height: '100%', | ||
}, | ||
}, | ||
'2xl': { | ||
name: '2xl', | ||
styles: { | ||
width: breakpoints['2xl'], | ||
height: '100%', | ||
}, | ||
}, | ||
}; |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import toast from 'react-hot-toast'; | ||
|
||
export async function copyToClipboard(text: string) { | ||
await navigator.clipboard.writeText(text); | ||
toast.success('Copied to clipboard!'); | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.