| name | firefly-font-config |
| description | 修改 Firefly 字体配置。Use when changing custom font enablement, preload policy, selected fonts, or font source definitions in src/config/fontConfig.ts. |
Firefly Font Config
Overview
Manage typography stack, font loading sources, and fallback behavior.
Workflow
- Read the current target file(s) before editing.
- Confirm the requested behavior and map it to existing keys.
- Apply the smallest possible change inside the declared scope.
- Keep existing style, object structure, and value types.
- Report changed keys and paths.
Edit Scope
Common Keys
- enable / preload
- selected[]
- fonts..id / name / src / family / weight / display
- fallback[]
Guardrails
- Do not modify files outside Edit Scope unless explicitly requested.
- Keep booleans, numbers, arrays, enums, and URLs in valid types.
- Preserve existing comments unless they conflict with the new behavior.
- Prefer minimal diffs that are easy to review.