mirror of
https://github.com/langgenius/dify.git
synced 2026-05-08 20:08:36 +08:00
docs: update iconify review guidance
- generalize generated icon diff review guidance for intrinsic width and height changes
This commit is contained in:
parent
14be7dc9f1
commit
4cba238134
@ -53,4 +53,4 @@ Category: Performance
|
||||
|
||||
New custom SVG icons should be added to `packages/iconify-collections/assets/...`, generated with `pnpm --filter @dify/iconify-collections generate`, checked with `pnpm --filter @dify/iconify-collections check:dimensions`, and consumed through Tailwind `i-custom-*` classes. Do not add new generated React icon components or JSON files under `web/app/components/base/icons/src/...` for new custom SVG icons.
|
||||
|
||||
When reviewing generated `packages/iconify-collections/custom-*/icons.json` diffs, verify unrelated existing icons did not lose or change intrinsic `width` / `height`, especially layout-sensitive groups such as `main-nav-*`.
|
||||
When reviewing generated `packages/iconify-collections/custom-*/icons.json` diffs, verify unrelated existing icons did not lose or change intrinsic `width` / `height`.
|
||||
Loading…
Reference in New Issue
Block a user