feat: add native macOS dynamic app icon (#1402)
* feat: add native macOS dynamic app icon Adds Icon Composer source and compiled Assets.car for macOS Packages the dynamic icon asset into the Electron app Adds a script to regenerate macOS icon assets * fix: harden macOS icon asset scripts
This commit is contained in:
committed by
GitHub
parent
0c8301d579
commit
3f3b835ee9
Binary file not shown.
|
After Width: | Height: | Size: 80 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 59 KiB |
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"fill-specializations" : [
|
||||
{
|
||||
"value" : "automatic"
|
||||
},
|
||||
{
|
||||
"appearance" : "dark",
|
||||
"value" : "automatic"
|
||||
}
|
||||
],
|
||||
"groups" : [
|
||||
{
|
||||
"layers" : [
|
||||
{
|
||||
"glass" : false,
|
||||
"image-name" : "app-icon-glyph-dark 4.png",
|
||||
"name" : "app-icon-glyph-dark 4",
|
||||
"opacity-specializations" : [
|
||||
{
|
||||
"appearance" : "light",
|
||||
"value" : 0
|
||||
},
|
||||
{
|
||||
"appearance" : "dark",
|
||||
"value" : 1
|
||||
},
|
||||
{
|
||||
"appearance" : "tinted",
|
||||
"value" : 1
|
||||
}
|
||||
],
|
||||
"position-specializations" : [
|
||||
{
|
||||
"idiom" : "square",
|
||||
"value" : {
|
||||
"scale" : 1.15,
|
||||
"translation-in-points" : [
|
||||
-0.6499999999998636,
|
||||
-3.25
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"blend-mode" : "normal",
|
||||
"fill-specializations" : [
|
||||
{
|
||||
"value" : "automatic"
|
||||
},
|
||||
{
|
||||
"appearance" : "dark",
|
||||
"value" : "automatic"
|
||||
}
|
||||
],
|
||||
"glass" : false,
|
||||
"hidden-specializations" : [
|
||||
{
|
||||
"idiom" : "square",
|
||||
"value" : false
|
||||
}
|
||||
],
|
||||
"image-name" : "app-icon-glyph-light 2.png",
|
||||
"name" : "app-icon-glyph-light 2",
|
||||
"opacity-specializations" : [
|
||||
{
|
||||
"appearance" : "dark",
|
||||
"value" : 0
|
||||
},
|
||||
{
|
||||
"appearance" : "tinted",
|
||||
"value" : 0
|
||||
}
|
||||
],
|
||||
"position-specializations" : [
|
||||
{
|
||||
"value" : {
|
||||
"scale" : 1.4,
|
||||
"translation-in-points" : [
|
||||
0,
|
||||
-5.2000000000000455
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"idiom" : "square",
|
||||
"value" : {
|
||||
"scale" : 1.3,
|
||||
"translation-in-points" : [
|
||||
0,
|
||||
-5.2000000000000455
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"shadow" : {
|
||||
"kind" : "neutral",
|
||||
"opacity" : 0.5
|
||||
},
|
||||
"translucency" : {
|
||||
"enabled" : true,
|
||||
"value" : 0.5
|
||||
}
|
||||
}
|
||||
],
|
||||
"supported-platforms" : {
|
||||
"circles" : [
|
||||
"watchOS"
|
||||
],
|
||||
"squares" : "shared"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Reference in New Issue
Block a user