Skip to content

Commit 14e6553

Browse files
authored
Liquid Glass App Icon for macOS 26 Tahoe (#1659)
* Added new Liquid Glass app icon Design based on the existing app icon created by Giovanni Maria Cusaro. * Use legacy app icon for older macOS versions Added build setting to use legacy app icon for pre macOS Tahoe builds. * Added Liquid Glass app icon contribution
1 parent 1197867 commit 14e6553

File tree

5 files changed

+99
-1
lines changed

5 files changed

+99
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,6 @@ The original repository for MASShortcut was archived, so Rectangle uses my [fork
187187

188188
As mentioned above, Rectangle uses a forked version of [MASShortcut](https://github.com/rxhanson/MASShortcut), which still works great, and it uses [Sparkle](https://sparkle-project.org) for updates.
189189

190-
The Big Sur variant of the Rectangle app icon was created by Giovanni Maria Cusaro (@gmcusaro).
190+
The Big Sur variant of the Rectangle app icon was created by Giovanni Maria Cusaro (@gmcusaro). The Liquid Glass variant of the app icon was created by [Alexander Käßner](https://www.alexkaessner.de) (@alexkaessner).
191191

192192
And of course, there's been a lot of community contributions over the years :)

Rectangle.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/* Begin PBXBuildFile section */
1010
12D896200936C0DE9FF41FB4 /* (null) in Frameworks */ = {isa = PBXBuildFile; };
1111
30166BD024F27D6A00A38608 /* SpecifiedCalculation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 30166BCF24F27D6A00A38608 /* SpecifiedCalculation.swift */; };
12+
482E9E422EB1528D00D7928A /* AppIcon.icon in Resources */ = {isa = PBXBuildFile; fileRef = 482E9E412EB1528D00D7928A /* AppIcon.icon */; };
1213
6490B39127BF907A0056C220 /* BottomLeftEighthCalculation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6490B39027BF907A0056C220 /* BottomLeftEighthCalculation.swift */; };
1314
6490B39327BF90F90056C220 /* EighthsRepeated.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6490B39227BF90F90056C220 /* EighthsRepeated.swift */; };
1415
6490B39527BF96880056C220 /* TopLeftEighthCalculation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6490B39427BF96880056C220 /* TopLeftEighthCalculation.swift */; };
@@ -179,6 +180,7 @@
179180
30166BCF24F27D6A00A38608 /* SpecifiedCalculation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SpecifiedCalculation.swift; sourceTree = "<group>"; };
180181
423DC1992AE681F900C98564 /* mul */ = {isa = PBXFileReference; lastKnownFileType = text.json.xcstrings; name = mul; path = mul.lproj/Main.xcstrings; sourceTree = "<group>"; };
181182
42627A972ADA03D200D047C6 /* mul */ = {isa = PBXFileReference; lastKnownFileType = text.json.xcstrings; name = mul; path = mul.lproj/Main.xcstrings; sourceTree = "<group>"; };
183+
482E9E412EB1528D00D7928A /* AppIcon.icon */ = {isa = PBXFileReference; lastKnownFileType = folder.iconcomposer.icon; path = AppIcon.icon; sourceTree = "<group>"; };
182184
6490B39027BF907A0056C220 /* BottomLeftEighthCalculation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BottomLeftEighthCalculation.swift; sourceTree = "<group>"; };
183185
6490B39227BF90F90056C220 /* EighthsRepeated.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EighthsRepeated.swift; sourceTree = "<group>"; };
184186
6490B39427BF96880056C220 /* TopLeftEighthCalculation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TopLeftEighthCalculation.swift; sourceTree = "<group>"; };
@@ -551,6 +553,7 @@
551553
children = (
552554
9824700C22AF9B7D0037B409 /* AppDelegate.swift */,
553555
9824701022AF9B7E0037B409 /* Assets.xcassets */,
556+
482E9E412EB1528D00D7928A /* AppIcon.icon */,
554557
9824701222AF9B7E0037B409 /* Main.storyboard */,
555558
9824701522AF9B7E0037B409 /* Info.plist */,
556559
981F27D02340E3E1006CD263 /* InternetAccessPolicy.plist */,
@@ -824,6 +827,7 @@
824827
9824701422AF9B7E0037B409 /* Main.storyboard in Resources */,
825828
981F27D12340E3E1006CD263 /* InternetAccessPolicy.plist in Resources */,
826829
98987AA42391890400BE72C4 /* LogViewer.storyboard in Resources */,
830+
482E9E422EB1528D00D7928A /* AppIcon.icon in Resources */,
827831
);
828832
runOnlyForDeploymentPostprocessing = 0;
829833
};
@@ -1208,6 +1212,7 @@
12081212
isa = XCBuildConfiguration;
12091213
buildSettings = {
12101214
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1215+
ASSETCATALOG_OTHER_FLAGS = "--enable-icon-stack-fallback-generation=disabled";
12111216
CLANG_ENABLE_MODULES = YES;
12121217
CODE_SIGN_ENTITLEMENTS = Rectangle/Rectangle.entitlements;
12131218
CODE_SIGN_IDENTITY = "-";
@@ -1238,6 +1243,7 @@
12381243
isa = XCBuildConfiguration;
12391244
buildSettings = {
12401245
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1246+
ASSETCATALOG_OTHER_FLAGS = "--enable-icon-stack-fallback-generation=disabled";
12411247
CLANG_ENABLE_MODULES = YES;
12421248
CODE_SIGN_ENTITLEMENTS = Rectangle/RectangleRelease.entitlements;
12431249
CODE_SIGN_IDENTITY = "Apple Development";
Lines changed: 15 additions & 0 deletions
Loading
Lines changed: 14 additions & 0 deletions
Loading

Rectangle/AppIcon.icon/icon.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"color-space-for-untagged-svg-colors" : "display-p3",
3+
"fill" : {
4+
"linear-gradient" : [
5+
"display-p3:0.36863,0.43529,0.50980,1.00000",
6+
"srgb:0.24706,0.27451,0.33333,1.00000"
7+
]
8+
},
9+
"groups" : [
10+
{
11+
"blur-material" : null,
12+
"layers" : [
13+
{
14+
"glass" : true,
15+
"image-name" : "Dots.svg",
16+
"name" : "Dots"
17+
}
18+
],
19+
"shadow" : {
20+
"kind" : "none",
21+
"opacity" : 0.5
22+
},
23+
"specular" : true,
24+
"translucency" : {
25+
"enabled" : true,
26+
"value" : 0.2
27+
}
28+
},
29+
{
30+
"layers" : [
31+
{
32+
"fill-specializations" : [
33+
{
34+
"appearance" : "tinted",
35+
"value" : {
36+
"linear-gradient" : [
37+
"gray:0.90000,1.00000",
38+
"extended-gray:0.75000,1.00000"
39+
]
40+
}
41+
}
42+
],
43+
"glass" : true,
44+
"image-name" : "Overlay.svg",
45+
"name" : "Overlay"
46+
}
47+
],
48+
"shadow" : {
49+
"kind" : "layer-color",
50+
"opacity" : 0.5
51+
},
52+
"translucency" : {
53+
"enabled" : true,
54+
"value" : 0.5
55+
}
56+
}
57+
],
58+
"supported-platforms" : {
59+
"squares" : [
60+
"macOS"
61+
]
62+
}
63+
}

0 commit comments

Comments
 (0)