Scan with your iPhone to install
This is for making app icons
What's New
Version 1.0
First release
What it does
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
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#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)
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by oliveranimates7
You Might Also Like
Advertisement