Skip to content

Commit 8a3b72e

Browse files
authored
[core-v2.2.11-alpha.3]: enhancement - add border-radius CSS variables (#1046)
* border-styling-addition * merge develop
1 parent 7543b6e commit 8a3b72e

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

packages/core/src/views/account-center/Maximized.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
5959
.wallets-section {
6060
width: 100%;
61-
border-radius: 16px;
61+
border-radius: var(--onboard-border-radius-3, var(--border-radius-3));
6262
}
6363
6464
.p5 {
@@ -117,7 +117,7 @@
117117
118118
.network-container {
119119
margin: 0 1px 1px 1px;
120-
border-radius: 15px;
120+
border-radius: var(--onboard-border-radius-3, var(--border-radius-3));
121121
color: var(--onboard-gray-500, var(--gray-500));
122122
}
123123

packages/core/src/views/connect/WalletButton.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@
4747
}
4848
4949
button.wallet-button-styling {
50-
border-radius: var(--onboard-wallet-button-border-radius, var(--border-radius-1));
50+
border-radius: var(
51+
--onboard-wallet-button-border-radius,
52+
var(--border-radius-1)
53+
);
5154
box-shadow: var(--onboard-wallet-button-box-shadow, var(--box-shadow-0));
5255
}
5356
</style>

packages/demo/src/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
portis,
105105
torus,
106106
gnosis,
107-
dcent
107+
dcent
108108
],
109109
chains: [
110110
{

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"typescript": "^4.5.5"
2424
},
2525
"dependencies": {
26-
"@web3-onboard/core": "^2.2.11-alpha.2",
26+
"@web3-onboard/core": "^2.2.11-alpha.3",
2727
"@web3-onboard/common": "^2.1.0-alpha.1",
2828
"use-sync-external-store": "1.0.0"
2929
},

0 commit comments

Comments
 (0)