Animation Fetch Recolor
animation_fetch_recolorDownloads a Lottie animation for a loading, success, empty, or onboarding hero slot; recolors it to the app's primary and accent palette; saves it as Resources/Animations/.json.
Instructions
Fetch a cute Lottie animation from the free LottieFiles library and recolor it to the app palette into Resources/Animations/.json.
Use when: once per slot (loading, success, empty, onboarding_hero) for every app; rendered by lottie-spm with .named(slot). Colors are mapped at build time (dominant to primary, others to accent). Returns: {ok, path, source, colors}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | Animation slot: 'loading', 'success', 'empty' or 'onboarding_hero'. | |
| app_dir | Yes | Absolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp. | |
| keyword | No | App-themed search keyword override, e.g. 'happy dog celebration'. | |
| accent_hex | Yes | Accent palette color as hex, '#' optional, e.g. 'FFB300'. | |
| primary_hex | Yes | Primary palette color as hex, '#' optional, e.g. '006A63'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||