- Remove system theme option - Refactor ModeToggle component for immediate theme switching - Implement local state management for smoother transitions - Persist theme preference in localStorage - Update icon display logic for better visual feedback This commit addresses the issue of delayed theme switching and simplifies the user experience by offering only dark and light modes.
73 lines
2.1 KiB
JSON
73 lines
2.1 KiB
JSON
{
|
|
"name": "zen-website",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "next dev --turbo",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"pages:build": "npx @cloudflare/next-on-pages",
|
|
"preview": "npm run pages:build && wrangler pages dev",
|
|
"deploy": "npm run pages:build && wrangler pages deploy"
|
|
},
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^3.9.0",
|
|
"@radix-ui/react-accordion": "^1.2.0",
|
|
"@radix-ui/react-checkbox": "^1.1.1",
|
|
"@radix-ui/react-dialog": "^1.1.1",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.1",
|
|
"@radix-ui/react-icons": "^1.3.0",
|
|
"@radix-ui/react-label": "^2.1.0",
|
|
"@radix-ui/react-navigation-menu": "^1.2.0",
|
|
"@radix-ui/react-scroll-area": "^1.1.0",
|
|
"@radix-ui/react-select": "^2.1.1",
|
|
"@radix-ui/react-slider": "^1.2.0",
|
|
"@radix-ui/react-slot": "^1.1.0",
|
|
"@radix-ui/react-tabs": "^1.1.0",
|
|
"@supabase/supabase-js": "^2.45.1",
|
|
"@vercel/postgres": "^0.9.0",
|
|
"canvas-confetti": "^1.9.3",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.1.1",
|
|
"cobe": "^0.6.3",
|
|
"dotenv": "^16.4.5",
|
|
"feed": "^4.2.2",
|
|
"framer-motion": "^11.3.24",
|
|
"lucide-react": "^0.400.0",
|
|
"moment": "^2.30.1",
|
|
"next": "14.2.4",
|
|
"next-themes": "^0.3.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-hook-form": "^7.52.2",
|
|
"react-markdown": "^9.0.1",
|
|
"react-spring": "^9.7.4",
|
|
"react-sticky-box": "^2.0.5",
|
|
"react-sticky-el": "^2.1.0",
|
|
"styled-components": "^6.1.12",
|
|
"tailwind-merge": "^2.5.1",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"zen-website": "file:",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/next-on-pages": "^1.13.2",
|
|
"@types/canvas-confetti": "^1.6.4",
|
|
"@types/node": "^20.14.15",
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@types/sync-fetch": "^0.4.3",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-next": "14.2.4",
|
|
"postcss": "^8.4.41",
|
|
"prettier": "^3.3.3",
|
|
"prettier-plugin-tailwindcss": "^0.6.6",
|
|
"tailwindcss": "^3.4.9",
|
|
"typescript": "^5.5.4"
|
|
}
|
|
}
|