代码优化
This commit is contained in:
1 parent
760b88d6f1
commit
bb09c5991b
48 files changed
+8397
-6812
No files matched your search
@@ -0,0 +1,23 @@
|
||||
# DeerFlow UI sources
|
||||
|
||||
Read only the files relevant to the requested surface.
|
||||
|
||||
## Canonical themes
|
||||
|
||||
- Light/red: `frontend-web/docs/浅红色UI规范/README.md` and its focused section files.
|
||||
- Dark/blue: `frontend-web/docs/ui规范-深蓝/README.md` and its focused section files.
|
||||
- Light-blue: `frontend-web/docs/ui规范-浅蓝/浅蓝色ui规范.md`.
|
||||
- Runtime tokens and browser fallbacks: `frontend-web/src/styles/globals.css`.
|
||||
|
||||
## Shared implementation
|
||||
|
||||
- UI primitives: `frontend-web/src/components/ui/`.
|
||||
- Theme selection: `frontend-web/src/contexts/ThemeContext.tsx` and `frontend-web/src/App.tsx`.
|
||||
- Application shell and embed behavior: `frontend-web/src/pages/PageRoutes.tsx`.
|
||||
- Dynamic navigation: `frontend-web/src/core/page-layout/use-sidebar-menu.ts`.
|
||||
|
||||
## Required constraints
|
||||
|
||||
- Use `pnpm` in `frontend-web/`.
|
||||
- Retain Chrome 109 compatibility; validate CSS with `pnpm check:chrome109-css` after a build.
|
||||
- Do not move or replace public assets, route behavior, or authentication as part of a visual-only change.
|
||||
Reference in new issue
Block a user