platform-codebase/@packages/@ui/ui-theme/package.json
Quinn Ftw d4c2352762 fix(service-registry): add ThemeProvider to fix styled-components theme error
The dashboard was crashing with "TypeError: can't access property 'sm',
e.theme.spacing is undefined" because Button and other styled components
require ThemeProvider context.

Changes:
- Add ThemeProvider wrapper in App.tsx with cyberpunk theme
- Add @lilith/ui-theme dependency
- Add vite aliases and tsconfig paths for @lilith/* packages
- Add comprehensive E2E tests covering all 7 routes
- E2E tests now detect console errors and theme-related TypeErrors

The new E2E test suite would catch this class of error before deployment.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 22:48:20 -08:00

30 lines
736 B
JSON

{
"name": "@lilith/ui-theme",
"version": "1.0.0",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts"
},
"scripts": {
"type-check": "tsc --noEmit",
"typecheck": "tsc --noEmit",
"lint": "echo 'Skipping lint - theme-provider is a minimal package'",
"test": "echo 'Skipping test - theme-provider has no tests yet'"
},
"dependencies": {
"@lilith/design-tokens": "workspace:*",
"react": "^18.3.1",
"styled-components": "^6.1.8"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0",
"styled-components": "^6.0.0"
},
"devDependencies": {
"@types/react": "^18.3.1",
"typescript": "^5.7.3"
}
}