Skip to content

Commit 1682897

Browse files
authored
Merge pull request #11 from WalletConnect/feat/customization
feat: customization
2 parents c73bfdc + 28e0d63 commit 1682897

194 files changed

Lines changed: 29099 additions & 534 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Packages/com.walletconnect.web3modal/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.4.0] - 2024-07-08
9+
10+
### Added
11+
12+
- Advanced customization capabilities
13+
14+
### Fixed
15+
16+
- Empty wallet search query not showing any wallets
17+
818
## [0.3.2] - 2024-06-26
919

1020
### Added

Packages/com.walletconnect.web3modal/Resources/WalletConnect/Web3Modal/Components/CardSelect/CardSelect.uss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@
99
padding: 8px 8px 10px;
1010
align-items: center;
1111
border-radius: var(--wui-border-radius-xs);
12-
border-width: 1px;
13-
border-color: rgba(0, 0, 0, 0);
12+
border-width: var(--wui-card-select-border-width);
13+
border-color: var(--wui-card-select-border-color);
1414
transition-property: background-color;
1515
transition-duration: 100ms;
1616

17-
background-color: var(--wui-gray-glass-002);
17+
background-color: var(--wui-card-select-bg-color);
1818
}
1919

2020
#card-select:active #card-select__container {
2121
border-color: var(--wui-color-accent-100);
2222
}
2323

2424
#card-select__container:hover {
25-
background-color: var(--wui-gray-glass-005);
25+
background-color: var(--wui-card-select-bg-color-hover);
2626
}
2727

2828
#card-select__container:disabled {
@@ -82,9 +82,9 @@
8282
#card-select__icon-image-border {
8383
width: 55;
8484
height: 55;
85-
border-color: rgba(255, 255, 255, 0.1);
85+
border-color: var(--wui-card-select-image-border-color);
8686
border-radius: var(--wui-border-radius-3xs);
87-
border-width: 1px;
87+
border-width: var(--wui-card-select-image-border-width);
8888
}
8989

9090
#card-select__status-icon-container {

Packages/com.walletconnect.web3modal/Resources/WalletConnect/Web3Modal/Components/Modal/Modal.uss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
width: 100%;
33
height: 0;
44
border-radius: var(--wui-border-radius-l);
5-
border-color: var(--wui-gray-glass-005);
6-
background-color: var(--wui-color-modal-bg);
5+
border-color: var(--wui-modal-border-color);
6+
border-width: var(--wui-modal-border-width);
7+
background-color: var(--wui-modal-bg-color);
78
overflow: hidden;
89
transition-property: height;
9-
transition-duration: 150ms;
10+
transition-duration: 175ms;
1011
}
1112

1213
.modal--type-mobile {
1314
position: absolute;
14-
max-height: 90%;
15+
max-height: var(--wui-modal-max-height-mobile);
1516
bottom: 0;
1617
left: 0;
1718
right: 0;
@@ -21,7 +22,7 @@
2122

2223
.modal--type-desktop {
2324
align-self: center;
24-
width: 360px;
25+
width: var(--wui-modal-width-desktop);
2526
}
2627

2728
#modal__body {

Packages/com.walletconnect.web3modal/Resources/WalletConnect/Web3Modal/Components/ModalHeader/ModalHeader.uss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
width: 100%;
33
height: 63;
44
border-bottom-width: 1;
5-
border-color: rgba(255, 255, 255, 0.05);
5+
border-color: var(--wui-modal-header-border-color);
66
}
77

88
#modal-header__container {
@@ -12,7 +12,7 @@
1212
}
1313

1414
#modal-header__body {
15-
color: rgba(228, 231, 231, 1);
15+
color: var(--wui-color-fg-100);
1616
padding-left: 12;
1717
padding-right: 12;
1818
}

Packages/com.walletconnect.web3modal/Resources/WalletConnect/Web3Modal/Components/QrCode/QrCode.uss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.qrcode {
22
width: 100%;
33
height: 100%;
4-
border-radius: 36px;
4+
border-radius: var(--wui-border-radius-l);
55
overflow: hidden;
66
}
77

Packages/com.walletconnect.web3modal/Resources/WalletConnect/Web3Modal/Components/TextInput/TextInput.uss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Image {
2424
padding-left: 12;
2525
padding-right: 12;
2626
align-items: center;
27-
border-radius: 12;
27+
border-radius: var(--wui-border-radius-xxs);
2828
border-width: 1;
2929
flex-shrink: 1;
3030
border-color: var(--wui-gray-glass-005);

Packages/com.walletconnect.web3modal/Resources/WalletConnect/Web3Modal/Components/WalletImage/WalletImage.uss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.wallet-image {
22
padding: 1px;
33
border-width: 1px;
4-
border-color: rgba(255, 255, 255, 0.1);
4+
border-color: var(--wui-gray-glass-010);
55
border-radius: var(--wui-border-radius-xs, 8px);
66
flex-shrink: 0;
77
flex-grow: 0;

Packages/com.walletconnect.web3modal/Resources/WalletConnect/Web3Modal/Views/AccountView/AccountView.uxml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
variant="Shade"
1313
/>
1414
</ui:VisualElement>
15-
1615
</ui:VisualElement>
1716
<ui:VisualElement name="account-view__profile-balance-container">
1817
<ui:Label name="account-view__profile-balance-value"/>

Packages/com.walletconnect.web3modal/Resources/WalletConnect/Web3Modal/Views/DeepLinkView/DeepLinkView.uss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Label {
2+
white-space: normal;
3+
}
4+
15
#deep-link-view__wallet-icon-container {
26
margin-top: 30;
37
margin-bottom: 10;

Packages/com.walletconnect.web3modal/Resources/WalletConnect/Web3Modal/Views/WebAppView/WebAppView.uss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Label {
2+
white-space: normal;
3+
}
4+
15
#web-app-view__wallet-icon-container {
26
margin-top: 30;
37
margin-bottom: 10;

0 commit comments

Comments
 (0)