mirror of
https://github.com/supabase/supabase.git
synced 2026-05-08 07:50:20 +08:00
This PR fixes a bug where a user might choose `classic-dark` as a theme in `studio` but then `docs` and `marketing` apps will look weird. To test: - Change the localStorage value of `theme` to `classic-dark` - Open `www` and `docs` apps, they should look ok <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a new "classic-dark" theme option for enhanced visual customization. * **Improvements** * Unified and simplified theme handling across apps for more consistent behavior. * Improved system-theme detection and smoother transitions when switching themes. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"name": "learn",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"dev": "next dev --port 3007",
|
|
"build": "pnpm run content:build && next build --turbopack",
|
|
"internal:sync": "tsx ./scripts/sync-internal-content.mts",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"lint:mdx": "supa-mdx-lint content --config ../../supa-mdx-lint.config.toml",
|
|
"content:build": "contentlayer2 build",
|
|
"clean": "rimraf node_modules .next .turbo tsconfig.tsbuildinfo",
|
|
"typecheck": "contentlayer2 build && tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"common": "workspace:*",
|
|
"contentlayer2": "0.4.6",
|
|
"framer-motion": "^11.18.2",
|
|
"jotai": "^2.8.0",
|
|
"lucide-react": "*",
|
|
"next": "catalog:",
|
|
"next-contentlayer2": "0.4.6",
|
|
"next-themes": "catalog:",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:",
|
|
"react-wrap-balancer": "^1.1.0",
|
|
"rehype-autolink-headings": "^7.1.0",
|
|
"rehype-pretty-code": "^0.9.0",
|
|
"rehype-slug": "^6.0.0",
|
|
"remark": "^14.0.3",
|
|
"remark-code-import": "^1.2.0",
|
|
"remark-gfm": "^4.0.0",
|
|
"ui": "workspace:*",
|
|
"ui-patterns": "workspace:*",
|
|
"unist-util-visit": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@shikijs/compat": "^1.1.7",
|
|
"@supabase/supa-mdx-lint": "0.3.1",
|
|
"@types/react": "catalog:",
|
|
"config": "workspace:^",
|
|
"mdast-util-toc": "^6.1.1",
|
|
"shiki": "^1.1.7",
|
|
"tailwindcss": "catalog:",
|
|
"tsconfig": "workspace:*",
|
|
"tsx": "catalog:"
|
|
}
|
|
}
|