1.0 KiB
1.0 KiB
DeerFlow UI sources
Read only the files relevant to the requested surface.
Canonical themes
- Light/red:
frontend-web/docs/浅红色UI规范/README.mdand its focused section files. - Dark/blue:
frontend-web/docs/ui规范-深蓝/README.mdand 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.tsxandfrontend-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
pnpminfrontend-web/. - Retain Chrome 109 compatibility; validate CSS with
pnpm check:chrome109-cssafter a build. - Do not move or replace public assets, route behavior, or authentication as part of a visual-only change.