Skip to content

Commit 3e1c07c

Browse files
committed
better dark mode isolation
1 parent 8d48b00 commit 3e1c07c

File tree

3 files changed

+23
-12
lines changed

3 files changed

+23
-12
lines changed

packages/ui/nav/nav.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ export default function Nav({ path, deployButton }: NavProps) {
1818
const displayPath = ['Vercel Examples']
1919
.concat(path?.split('/').filter(Boolean) || [])
2020
.join(' / ')
21-
const darkMode = true
22-
// const test = useDarkMode()
21+
const darkMode = useDarkMode()
2322
return (
2423
<nav className={darkMode ? s['root-dark'] : s.root}>
2524
<div className={cn('flex items-center lg:px-6 px-8', s.container)}>

solutions/token-gated-content/package-lock.json

Lines changed: 21 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

solutions/token-gated-content/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@heroicons/react": "^1.0.6",
1414
"@tsndr/cloudflare-worker-jwt": "^1.1.6",
15-
"@vercel/examples-ui": "^0.2.7-beta.2",
15+
"@vercel/examples-ui": "^0.2.8-beta.0",
1616
"ethers": "^5.6.0",
1717
"heroicons": "^1.0.6",
1818
"jsonwebtoken": "^8.5.1",

0 commit comments

Comments
 (0)