Skip to content

Commit 3152560

Browse files
committed
chore: remove styled-components module declaration and update reown AppKit color
1 parent ad2c61b commit 3152560

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

web/global.d.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import {} from "styled-components";
2-
import { lightTheme } from "./src/styles/themes";
3-
41
declare global {
52
module "*.svg" {
63
const content: React.FC<React.SVGAttributes<SVGElement>>;
@@ -12,8 +9,4 @@ declare global {
129
}
1310
}
1411

15-
declare module "styled-components" {
16-
type Theme = typeof lightTheme;
17-
//eslint-disable-next-line @typescript-eslint/no-empty-interface
18-
export interface DefaultTheme extends Theme {}
19-
}
12+
export {};

web/src/context/Web3Provider.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import { WagmiAdapter } from "@reown/appkit-adapter-wagmi";
77
import { ALL_CHAINS, DEFAULT_CHAIN } from "consts/chains";
88
import { isProductionDeployment } from "consts/index";
99

10-
import { lightTheme } from "styles/themes";
11-
1210
const alchemyApiKey = import.meta.env.ALCHEMY_API_KEY ?? "";
1311
const isProduction = isProductionDeployment();
1412

@@ -61,7 +59,7 @@ createAppKit({
6159
defaultNetwork: isProduction ? arbitrum : arbitrumSepolia,
6260
projectId,
6361
themeVariables: {
64-
"--w3m-color-mix": lightTheme.primaryPurple,
62+
"--w3m-color-mix": "#4D00B4",
6563
"--w3m-color-mix-strength": 20,
6664
// overlay portal is at 9999
6765
"--w3m-z-index": 10000,

0 commit comments

Comments
 (0)