Skip to content

Commit

Permalink
Fix/dark mode issue (#11)
Browse files Browse the repository at this point in the history
* next configuration

* update version

* general git ignore

* fix dark mode issue
  • Loading branch information
rtomas authored Dec 10, 2024
1 parent 2ec2632 commit 9aeb556
Show file tree
Hide file tree
Showing 54 changed files with 1,049 additions and 1,065 deletions.
29 changes: 29 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

dist

.env
.vite
5 changes: 4 additions & 1 deletion nextjs/next-ethers-app-router/next.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
webpack: config => {
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
}
};

export default nextConfig;
4 changes: 2 additions & 2 deletions nextjs/next-ethers-app-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"lint": "next lint"
},
"dependencies": {
"@reown/appkit": "^1.5.2",
"@reown/appkit-adapter-ethers": "^1.5.2",
"@reown/appkit": "^1.5.3",
"@reown/appkit-adapter-ethers": "^1.5.3",
"ethers": "^6.13.4",
"next": "15.0.3",
"react": "19.0.0-rc-66855b96-20241106",
Expand Down
136 changes: 68 additions & 68 deletions nextjs/next-ethers-app-router/pnpm-lock.yaml

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions nextjs/next-ethers-app-router/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
--foreground: #171717;
}

@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}

html,
body {
max-width: 100vw;
Expand Down
1 change: 0 additions & 1 deletion nextjs/next-ethers-app-router/src/context/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export const modal = createAppKit({
networks,
metadata,
themeMode: 'light',
featuredWalletIds :['c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96'],
features: {
analytics: true // Optional - defaults to your Cloud configuration
}
Expand Down
5 changes: 4 additions & 1 deletion nextjs/next-multichain-app-router/next.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
webpack: config => {
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
}
};

export default nextConfig;
6 changes: 3 additions & 3 deletions nextjs/next-multichain-app-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"lint": "next lint"
},
"dependencies": {
"@reown/appkit": "^1.5.2",
"@reown/appkit-adapter-solana": "^1.5.2",
"@reown/appkit-adapter-wagmi": "^1.5.2",
"@reown/appkit": "^1.5.3",
"@reown/appkit-adapter-solana": "^1.5.3",
"@reown/appkit-adapter-wagmi": "^1.5.3",
"@solana/wallet-adapter-wallets": "^0.19.32",
"@tanstack/react-query": "^5.59.20",
"next": "15.0.3",
Expand Down
162 changes: 81 additions & 81 deletions nextjs/next-multichain-app-router/pnpm-lock.yaml

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions nextjs/next-multichain-app-router/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
--foreground: #171717;
}

@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}

html,
body {
max-width: 100vw;
Expand Down
5 changes: 4 additions & 1 deletion nextjs/next-solana-app-router/next.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
webpack: config => {
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
}
};

export default nextConfig;
4 changes: 2 additions & 2 deletions nextjs/next-solana-app-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"lint": "next lint"
},
"dependencies": {
"@reown/appkit": "^1.5.2",
"@reown/appkit-adapter-solana": "^1.5.2",
"@reown/appkit": "^1.5.3",
"@reown/appkit-adapter-solana": "^1.5.3",
"@solana/wallet-adapter-wallets": "^0.19.32",
"next": "15.0.3",
"react": "19.0.0-rc-66855b96-20241106",
Expand Down
136 changes: 68 additions & 68 deletions nextjs/next-solana-app-router/pnpm-lock.yaml

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions nextjs/next-solana-app-router/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
--foreground: #171717;
}

@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}

html,
body {
max-width: 100vw;
Expand Down
5 changes: 4 additions & 1 deletion nextjs/next-wagmi-app-router/next.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
webpack: config => {
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
}
};

export default nextConfig;
4 changes: 2 additions & 2 deletions nextjs/next-wagmi-app-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"lint": "next lint"
},
"dependencies": {
"@reown/appkit": "^1.5.2",
"@reown/appkit-adapter-wagmi": "^1.5.2",
"@reown/appkit": "^1.5.3",
"@reown/appkit-adapter-wagmi": "^1.5.3",
"@tanstack/react-query": "^5.59.20",
"next": "15.0.3",
"react": "19.0.0-rc-66855b96-20241106",
Expand Down
154 changes: 77 additions & 77 deletions nextjs/next-wagmi-app-router/pnpm-lock.yaml

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions nextjs/next-wagmi-app-router/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
--foreground: #171717;
}

@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}

html,
body {
max-width: 100vw;
Expand Down
4 changes: 2 additions & 2 deletions react/react-ethers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"preview": "vite preview"
},
"dependencies": {
"@reown/appkit": "^1.5.2",
"@reown/appkit-adapter-ethers": "^1.5.2",
"@reown/appkit": "^1.5.3",
"@reown/appkit-adapter-ethers": "^1.5.3",
"ethers": "^6.13.2",
"react": "^18.3.1",
"react-dom": "^18.3.1"
Expand Down
Loading

0 comments on commit 9aeb556

Please sign in to comment.