Files
deerflow-code/.codex/skills/deerflow-ui-guard/references/project-sources.md
2026-07-19 16:08:40 +08:00

1.0 KiB

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.