Skip to content

Commit 9735596

Browse files
[core-v2.4.0-alpha.8] : Enhancement - Add --onboard-modal-color (#1136)
* Add --onboard-modal-color * Version bumps + Update docs Co-authored-by: Taylor Dawson <taylorjdawson@gmail.com>
1 parent b74d027 commit 9735596

File tree

6 files changed

+9
-4
lines changed

6 files changed

+9
-4
lines changed

packages/core/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,10 @@ The Onboard styles can customized via [CSS variables](https://developer.mozilla.
760760
--onboard-wallet-button-box-shadow
761761
--onboard-wallet-app-icon-border-color
762762

763+
/* CUSTOMIZE THE SHARED MODAL */
764+
--onboard-modal-background
765+
--onboard-modal-color
766+
763767
/* CUSTOMIZE THE CONNECT MODAL */
764768
--onboard-modal-border-radius
765769
--onboard-modal-backdrop

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/core",
3-
"version": "2.4.0-alpha.7",
3+
"version": "2.4.0-alpha.8",
44
"description": "Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",

packages/core/src/views/shared/Modal.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
border-radius: var(--onboard-modal-border-radius, var(--border-radius-1));
9191
overflow-y: auto;
9292
background: var(--onboard-modal-background, white);
93+
color: var(--onboard-modal-color, initial);
9394
}
9495
9596
@media all and (max-width: 520px) {

packages/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"dependencies": {
2525
"@web3-onboard/coinbase": "^2.0.7",
26-
"@web3-onboard/core": "^2.4.0-alpha.7",
26+
"@web3-onboard/core": "^2.4.0-alpha.8",
2727
"@web3-onboard/dcent": "^2.0.4",
2828
"@web3-onboard/fortmatic": "^2.0.6",
2929
"@web3-onboard/gnosis": "^2.0.5",

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"typescript": "^4.5.5"
6060
},
6161
"dependencies": {
62-
"@web3-onboard/core": "^2.4.0-alpha.7",
62+
"@web3-onboard/core": "^2.4.0-alpha.8",
6363
"@web3-onboard/common": "^2.1.4",
6464
"use-sync-external-store": "1.0.0"
6565
},

packages/vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@vueuse/core": "^8.4.2",
6161
"@vueuse/rxjs": "^8.2.0",
6262
"@web3-onboard/common": "^2.1.4",
63-
"@web3-onboard/core": "^2.4.0-alpha.7",
63+
"@web3-onboard/core": "^2.4.0-alpha.8",
6464
"vue-demi": "^0.12.4"
6565
},
6666
"peerDependencies": {

0 commit comments

Comments
 (0)