📦 deps(thirdparty): update snapshots
This commit is contained in:
@@ -27,6 +27,8 @@ sudo apt update && sudo apt install python3
|
||||
winget install Python.Python.3.12
|
||||
```
|
||||
|
||||
> **Note:** On Windows, use `python` instead of `python3` to run scripts (e.g., `python scripts/search.py` instead of `python3 scripts/search.py`).
|
||||
|
||||
---
|
||||
|
||||
## How to Use This Skill
|
||||
@@ -265,9 +267,14 @@ Scope notice: The rules below are for App UI (iOS/Android/React Native/Flutter),
|
||||
|
||||
### Icons & Visual Elements
|
||||
|
||||
- 默认图标库使用 **Phosphor (`@phosphor-icons/react`)**。`src/ui-ux-pro-max/data/icons.csv` 中列出的只是常用推荐图标,不是完整集合。
|
||||
- 当推荐表中找不到合适的图标时:
|
||||
- **优先继续从 Phosphor 的完整图标集中选择任何语义更贴切的图标**;
|
||||
- 如果 Phosphor 也没有理想选项,可以使用 **Heroicons (`@heroicons/react`)** 作为备选,注意保持风格一致(线性/填充、笔画粗细、圆角风格)。
|
||||
|
||||
| Rule | Standard | Avoid | Why It Matters |
|
||||
|------|----------|--------|----------------|
|
||||
| **No Emoji as Structural Icons** | Use vector-based icons (e.g., Lucide, react-native-vector-icons, @expo/vector-icons). | Using emojis (🎨 🚀 ⚙️) for navigation, settings, or system controls. | Emojis are font-dependent, inconsistent across platforms, and cannot be controlled via design tokens. |
|
||||
| **No Emoji as Structural Icons** | Use vector-based icons (e.g., Phosphor `@phosphor-icons/react`, Heroicons `@heroicons/react`, react-native-vector-icons, @expo/vector-icons). | Using emojis (🎨 🚀 ⚙️) for navigation, settings, or system controls. | Emojis are font-dependent, inconsistent across platforms, and cannot be controlled via design tokens. |
|
||||
| **Vector-Only Assets** | Use SVG or platform vector icons that scale cleanly and support theming. | Raster PNG icons that blur or pixelate. | Ensures scalability, crisp rendering, and dark/light mode adaptability. |
|
||||
| **Stable Interaction States** | Use color, opacity, or elevation transitions for press states without changing layout bounds. | Layout-shifting transforms that move surrounding content or trigger visual jitter. | Prevents unstable interactions and preserves smooth motion/perceived quality on mobile. |
|
||||
| **Correct Brand Logos** | Use official brand assets and follow their usage guidelines (spacing, color, clear space). | Guessing logo paths, recoloring unofficially, or modifying proportions. | Prevents brand misuse and ensures legal/platform compliance. |
|
||||
|
||||
Reference in New Issue
Block a user