Skip to content

Commit

Permalink
Fixing modal backdrop color
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed Feb 13, 2025
1 parent 24fafa9 commit 6518c3f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 12 deletions.
1 change: 0 additions & 1 deletion examples/react/src/components/Connected.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,6 @@ export const Connected = () => {
}
}}
scroll={false}
backdropColor="backgroundBackdrop"
onClose={() => setIsCheckoutInfoModalOpen(false)}
>
<div id="sequence-kit-checkout-info-modal">
Expand Down
6 changes: 3 additions & 3 deletions examples/react/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
'Helvetica Neue', sans-serif;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
'Droid Sans', 'Helvetica Neue', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: var(--seq-colors-background-primary);
background: var(--seq-color-background-primary);
}

code {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ export const KitCheckoutContent = ({ children }: KitCheckoutProvider) => {
}
}}
scroll={false}
backdropColor="backgroundBackdrop"
onClose={() => setOpenCheckoutModal(false)}
>
<div id="sequence-kit-checkout-content">
Expand All @@ -278,7 +277,6 @@ export const KitCheckoutContent = ({ children }: KitCheckoutProvider) => {
}
}}
scroll={false}
backdropColor="backgroundBackdrop"
onClose={closeAddFunds}
>
<div id="sequence-kit-add-funds-content">
Expand All @@ -297,7 +295,6 @@ export const KitCheckoutContent = ({ children }: KitCheckoutProvider) => {
scrollbarWidth: 'thin'
}
}}
backdropColor="backgroundBackdrop"
onClose={() => setOpenPaymentSelectionModal(false)}
>
<div id="sequence-kit-payment-selection-content">
Expand All @@ -313,7 +310,6 @@ export const KitCheckoutContent = ({ children }: KitCheckoutProvider) => {
...getModalPositionCss(position)
}
}}
backdropColor="backgroundBackdrop"
onClose={closeTransferFunds}
>
<div id="sequence-kit-transfer-funds-modal">
Expand Down Expand Up @@ -346,7 +342,6 @@ export const KitCheckoutContent = ({ children }: KitCheckoutProvider) => {
...getModalPositionCss(position)
}
}}
backdropColor="backgroundBackdrop"
onClose={closeSwapModal}
>
<div id="sequence-kit-swap-modal">
Expand Down
2 changes: 0 additions & 2 deletions packages/kit/src/components/KitProvider/KitProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ export const KitProvider = (props: KitConnectProviderProps) => {
{openConnectModal && (
<Modal
scroll={false}
backdropColor="backgroundBackdrop"
size="sm"
contentProps={{
style: {
Expand All @@ -165,7 +164,6 @@ export const KitProvider = (props: KitConnectProviderProps) => {
{pendingRequestConfirmation && (
<Modal
scroll={false}
backdropColor="backgroundBackdrop"
size="sm"
contentProps={{
style: {
Expand Down
1 change: 0 additions & 1 deletion packages/wallet/src/shared/KitWalletProvider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ export const KitWalletContent = ({ children }: KitWalletProviderProps) => {
}
}}
scroll={false}
backdropColor="backgroundBackdrop"
onClose={() => setOpenWalletModal(false)}
>
<div id="sequence-kit-wallet-content">
Expand Down

0 comments on commit 6518c3f

Please sign in to comment.