File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed
react/web/ui/ConnectWallet Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " thirdweb " : patch
3+ ---
4+
5+ Fix theme in ConnectButton Details Modal Buy screen
Original file line number Diff line number Diff line change @@ -978,6 +978,11 @@ export function DetailsModal(props: {
978978 onCancel = { ( ) => setScreen ( "main" ) }
979979 onSuccess = { ( ) => setScreen ( "main" ) }
980980 supportedTokens = { props . supportedTokens }
981+ theme = { props . theme }
982+ style = { {
983+ border : "none" ,
984+ borderRadius : radius . lg ,
985+ } }
981986 tokenAddress = {
982987 props . displayBalanceToken ?. [ Number ( requestedChainId ) ] as
983988 | `0x${string } `
Original file line number Diff line number Diff line change 11import type { Meta , StoryObj } from "@storybook/react-vite" ;
2+ import { darkTheme } from "../../react/core/design-system/index.js" ;
23import { ConnectButton } from "../../react/web/ui/ConnectWallet/ConnectButton.js" ;
34import { storyClient } from "../utils.js" ;
45
@@ -27,4 +28,14 @@ export const Light: Story = {
2728 } ,
2829} ;
2930
31+ export const CustomBlack : Story = {
32+ args : {
33+ theme : darkTheme ( {
34+ colors : {
35+ modalBg : "black" ,
36+ } ,
37+ } ) ,
38+ } ,
39+ } ;
40+
3041export default meta ;
You can’t perform that action at this time.
0 commit comments