-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): update mobile qr screens layout and wallet list view
- Loading branch information
Showing
12 changed files
with
178 additions
and
73 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
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
33 changes: 30 additions & 3 deletions
33
.../src/app/views/modals/wallets-modal/mobile-connection-modal/mobile-connection-qr/style.ts
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,17 +1,44 @@ | ||
import { styled } from 'solid-styled-components'; | ||
import { H1, H2 } from 'src/app/components'; | ||
import { H1, H2, Button } from 'src/app/components'; | ||
import { BorderRadiusConfig } from 'src/app/models/border-radius-config'; | ||
import { rgba } from 'src/app/utils/css'; | ||
|
||
const actionButtonBorderRadius: BorderRadiusConfig = { | ||
m: '16px', | ||
s: '8px', | ||
none: '0' | ||
}; | ||
|
||
export const H1Styled = styled(H1)` | ||
margin-bottom: 2px; | ||
padding: 0 64px; | ||
padding: 0 52px; | ||
`; | ||
|
||
export const H2Styled = styled(H2)` | ||
margin-bottom: 20px; | ||
padding: 0 64px; | ||
min-height: 44px; | ||
`; | ||
|
||
export const QrCodeWrapper = styled.div` | ||
padding: 0 24px 16px; | ||
`; | ||
|
||
export const ButtonsWrapper = styled.div` | ||
display: flex; | ||
flex-direction: row; | ||
gap: 16px; | ||
padding: 0 24px 24px; | ||
margin-top: 0; | ||
`; | ||
|
||
export const ActionButton = styled(Button)` | ||
width: 100%; | ||
height: 56px; | ||
border-radius: ${props => actionButtonBorderRadius[props.theme!.borderRadius]}; | ||
background-color: ${props => rgba(props.theme!.colors.accent, 0.12)}; | ||
color: ${props => props.theme!.colors.accent}; | ||
font-size: 16px; | ||
line-height: 20px; | ||
font-weight: 500; | ||
padding: 17px 20px 19px 20px; | ||
`; |
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
Oops, something went wrong.