Skip to content

Commit

Permalink
Removing walletContent styles
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed May 3, 2024
1 parent 5e6bc4d commit d7fc893
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { PendingTransaction, TransactionError, TransactionSuccess, CheckoutSelec
import { History, Navigation, NavigationContextProvider, CheckoutModalContextProvider, CheckoutSettings } from '../../contexts'

import { NavigationHeader } from '../../shared/components/NavigationHeader'
import * as sharedStyles from '../../shared/styles.css'

import '@0xsequence/design-system/styles.css'

Expand Down Expand Up @@ -105,7 +104,7 @@ export const KitCheckoutContent = ({ children }: KitCheckoutProvider) => {
backdropColor="backgroundBackdrop"
onClose={() => setOpenCheckoutModal(false)}
>
<Box id="sequence-kit-checkout-content" className={sharedStyles.walletContent}>
<Box id="sequence-kit-checkout-content">
{getHeader()}
{getContent()}
</Box>
Expand Down
13 changes: 0 additions & 13 deletions packages/checkout/src/shared/styles.css.ts

This file was deleted.

4 changes: 2 additions & 2 deletions packages/kit/src/components/KitProvider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export const KitProvider = (props: KitConnectProviderProps) => {
}}
onClose={() => setOpenConnectModal(false)}
>
<Box padding="4" className={sharedStyles.walletContent}>
<Box padding="4">
<Box
justifyContent="center"
color="text100"
Expand Down Expand Up @@ -256,7 +256,7 @@ export const KitProvider = (props: KitConnectProviderProps) => {
rejectPendingRequest('')
}}
>
<Box paddingX="4" paddingTop="4" paddingBottom="2" className={sharedStyles.walletContent}>
<Box paddingX="4" paddingTop="4" paddingBottom="2">
<Box
flexDirection="column"
justifyContent="center"
Expand Down
12 changes: 0 additions & 12 deletions packages/kit/src/components/styles.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,6 @@ globalStyle(`${walletLogoContainerExtended} svg`, {
width: '30px'
})

export const walletContent = style({})

// // Will affect the close button in the modal
// globalStyle(`${walletContent} + button`, {
// backgroundColor: 'transparent'
// })

// globalStyle(`${walletContent} + button > svg`, {
// width: '20px',
// height: '20px'
// })

export const googleWaasButtonContainer = style({})

globalStyle(`${googleWaasButtonContainer}`, {
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet/src/shared/KitWalletProvider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const KitWalletContent = ({ children }: KitWalletProviderProps) => {
backdropColor="backgroundBackdrop"
onClose={() => setOpenWalletModal(false)}
>
<Box className={styles.walletContent} id="sequence-kit-wallet-content">
<Box id="sequence-kit-wallet-content">
{getHeader(navigation)}

{displayScrollbar ? (
Expand Down
12 changes: 0 additions & 12 deletions packages/wallet/src/shared/styles.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,3 @@ export const scrollbar = style({
overflowY: 'scroll'
}
})

export const walletContent = style({})

// // Will affect the close button in the modal
// globalStyle(`${walletContent} + button`, {
// backgroundColor: 'transparent'
// })

// globalStyle(`${walletContent} + button > svg`, {
// width: '20px',
// height: '20px'
// })

0 comments on commit d7fc893

Please sign in to comment.