Scanne avec ton iPhone pour installer
This is for making app icons
Nouveautés
Version 1.0
First release
Ce qu’il fait
23 actions-
Choose from MenuWhat type of gradient
-
Choose from Menutop to bottom
-
Ask for InputEnter a hex value
-
Ask for InputEnter another hex value
-
Create Gradient Color Imagecom.sindresorhus.Actions
-
Choose from Menuleft to right
-
Ask for InputEnter a hex value
-
Ask for InputEnter another hex value
-
Create Gradient Color Imagecom.sindresorhus.Actions
-
Choose from Menutop left to bottom right
-
Ask for InputEnter a hex value
-
Ask for InputEnter another hex value
-
Create Gradient Color Imagecom.sindresorhus.Actions
-
Choose from Menutop right to bottom left
-
Ask for InputEnter a hex value
-
Ask for InputEnter another hex value
-
Create Gradient Color Imagecom.sindresorhus.Actions
-
Ask for InputEnter the name of an SF symbol
-
Ask for InputEnter a third hex value
-
Symbol Imagecom.sindresorhus.Actions
-
Overlay Image
-
Quick Look
-
Save to Photo Album
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#define color red
const MenuResult = menu "What type of gradient " {
item "top to bottom":
prompt("Enter a hex value")
prompt("Enter another hex value")
rawAction("com.sindresorhus.Actions.CreateGradientColorImageIntent", {
"AppIntentDescriptor": "",
"endColor": "#{}",
"height": "1024",
"startColor": "#{}",
"width": "1024"
})
item "left to right":
prompt("Enter a hex value")
prompt("Enter another hex value")
rawAction("com.sindresorhus.Actions.CreateGradientColorImageIntent", {
"AppIntentDescriptor": "",
"direction": "leftToRight",
"endColor": "#{}",
"height": "1024",
"startColor": "#{}",
"width": "1024"
})
item "top left to bottom right":
prompt("Enter a hex value")
prompt("Enter another hex value")
rawAction("com.sindresorhus.Actions.CreateGradientColorImageIntent", {
"AppIntentDescriptor": "",
"direction": "diagonalTopLeftToBottomRight",
"endColor": "#{}",
"height": "1024",
"startColor": "#{}",
"width": "1024"
})
item "top right to bottom left ":
prompt("Enter a hex value")
prompt("Enter another hex value")
rawAction("com.sindresorhus.Actions.CreateGradientColorImageIntent", {
"AppIntentDescriptor": "",
"direction": "diagonalTopRightToBottomLeft",
"endColor": "#{}",
"height": "1024",
"startColor": "#{}",
"width": "1024"
})
}
prompt("Enter the name of an SF symbol")
prompt("Enter a third hex value ")
rawAction("com.sindresorhus.Actions.SymbolImageIntent", {
"AppIntentDescriptor": "",
"color": "#{}",
"symbolName": "{}"
})
const OverlaidImage = customImageOverlay(MenuResult, SFSymbolImage)
quicklook(OverlaidImage)
savePhoto(OverlaidImage)
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de oliveranimates7
Ça pourrait aussi te plaire
Publicité