Commit d368dd804e

d368dd804e853153b31695abfbc0a54a47fb5cbc

parent: 0504a49cf7

Verified · cmc

cmc <hello@cleberg.net> · 2026-10-14 14:08 UTC

Twelve more app icons, three of them unicorns; iOS alternate icons

Layout: unified · split

ios/Orgstar.xcodeproj/project.pbxproj +2
@@ -765,6 +765,7 @@
765 isa = XCBuildConfiguration; 765 isa = XCBuildConfiguration;
766 buildSettings = { 766 buildSettings = {
767 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 767 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
768 ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
768 CODE_SIGN_ENTITLEMENTS = Orgstar/Orgstar.entitlements; 769 CODE_SIGN_ENTITLEMENTS = Orgstar/Orgstar.entitlements;
769 CODE_SIGN_STYLE = Automatic; 770 CODE_SIGN_STYLE = Automatic;
770 CURRENT_PROJECT_VERSION = 9; 771 CURRENT_PROJECT_VERSION = 9;
@@ -850,6 +851,7 @@
850 isa = XCBuildConfiguration; 851 isa = XCBuildConfiguration;
851 buildSettings = { 852 buildSettings = {
852 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 853 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
854 ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
853 CODE_SIGN_ENTITLEMENTS = Orgstar/Orgstar.entitlements; 855 CODE_SIGN_ENTITLEMENTS = Orgstar/Orgstar.entitlements;
854 CODE_SIGN_STYLE = Automatic; 856 CODE_SIGN_STYLE = Automatic;
855 CURRENT_PROJECT_VERSION = 9; 857 CURRENT_PROJECT_VERSION = 9;
ios/Orgstar/Assets.xcassets/AppIcon-Forest.appiconset/AppIcon-dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Forest.appiconset/AppIcon-tinted.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Forest.appiconset/AppIcon.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Forest.appiconset/Contents.json added +38
@@ -0,0 +1,38 @@
1{
2 "images" : [
3 {
4 "filename" : "AppIcon.png",
5 "idiom" : "universal",
6 "platform" : "ios",
7 "size" : "1024x1024"
8 },
9 {
10 "appearances" : [
11 {
12 "appearance" : "luminosity",
13 "value" : "dark"
14 }
15 ],
16 "filename" : "AppIcon-dark.png",
17 "idiom" : "universal",
18 "platform" : "ios",
19 "size" : "1024x1024"
20 },
21 {
22 "appearances" : [
23 {
24 "appearance" : "luminosity",
25 "value" : "tinted"
26 }
27 ],
28 "filename" : "AppIcon-tinted.png",
29 "idiom" : "universal",
30 "platform" : "ios",
31 "size" : "1024x1024"
32 }
33 ],
34 "info" : {
35 "author" : "xcode",
36 "version" : 1
37 }
38}\ No newline at end of file
ios/Orgstar/Assets.xcassets/AppIcon-Midnight.appiconset/AppIcon-dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Midnight.appiconset/AppIcon-tinted.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Midnight.appiconset/AppIcon.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Midnight.appiconset/Contents.json added +38
@@ -0,0 +1,38 @@
1{
2 "images" : [
3 {
4 "filename" : "AppIcon.png",
5 "idiom" : "universal",
6 "platform" : "ios",
7 "size" : "1024x1024"
8 },
9 {
10 "appearances" : [
11 {
12 "appearance" : "luminosity",
13 "value" : "dark"
14 }
15 ],
16 "filename" : "AppIcon-dark.png",
17 "idiom" : "universal",
18 "platform" : "ios",
19 "size" : "1024x1024"
20 },
21 {
22 "appearances" : [
23 {
24 "appearance" : "luminosity",
25 "value" : "tinted"
26 }
27 ],
28 "filename" : "AppIcon-tinted.png",
29 "idiom" : "universal",
30 "platform" : "ios",
31 "size" : "1024x1024"
32 }
33 ],
34 "info" : {
35 "author" : "xcode",
36 "version" : 1
37 }
38}\ No newline at end of file
ios/Orgstar/Assets.xcassets/AppIcon-Mono.appiconset/AppIcon-dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Mono.appiconset/AppIcon-tinted.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Mono.appiconset/AppIcon.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Mono.appiconset/Contents.json added +38
@@ -0,0 +1,38 @@
1{
2 "images" : [
3 {
4 "filename" : "AppIcon.png",
5 "idiom" : "universal",
6 "platform" : "ios",
7 "size" : "1024x1024"
8 },
9 {
10 "appearances" : [
11 {
12 "appearance" : "luminosity",
13 "value" : "dark"
14 }
15 ],
16 "filename" : "AppIcon-dark.png",
17 "idiom" : "universal",
18 "platform" : "ios",
19 "size" : "1024x1024"
20 },
21 {
22 "appearances" : [
23 {
24 "appearance" : "luminosity",
25 "value" : "tinted"
26 }
27 ],
28 "filename" : "AppIcon-tinted.png",
29 "idiom" : "universal",
30 "platform" : "ios",
31 "size" : "1024x1024"
32 }
33 ],
34 "info" : {
35 "author" : "xcode",
36 "version" : 1
37 }
38}\ No newline at end of file
ios/Orgstar/Assets.xcassets/AppIcon-Org.appiconset/AppIcon-dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Org.appiconset/AppIcon-tinted.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Org.appiconset/AppIcon.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Org.appiconset/Contents.json added +38
@@ -0,0 +1,38 @@
1{
2 "images" : [
3 {
4 "filename" : "AppIcon.png",
5 "idiom" : "universal",
6 "platform" : "ios",
7 "size" : "1024x1024"
8 },
9 {
10 "appearances" : [
11 {
12 "appearance" : "luminosity",
13 "value" : "dark"
14 }
15 ],
16 "filename" : "AppIcon-dark.png",
17 "idiom" : "universal",
18 "platform" : "ios",
19 "size" : "1024x1024"
20 },
21 {
22 "appearances" : [
23 {
24 "appearance" : "luminosity",
25 "value" : "tinted"
26 }
27 ],
28 "filename" : "AppIcon-tinted.png",
29 "idiom" : "universal",
30 "platform" : "ios",
31 "size" : "1024x1024"
32 }
33 ],
34 "info" : {
35 "author" : "xcode",
36 "version" : 1
37 }
38}\ No newline at end of file
ios/Orgstar/Assets.xcassets/AppIcon-Outline.appiconset/AppIcon-dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Outline.appiconset/AppIcon-tinted.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Outline.appiconset/AppIcon.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Outline.appiconset/Contents.json added +38
@@ -0,0 +1,38 @@
1{
2 "images" : [
3 {
4 "filename" : "AppIcon.png",
5 "idiom" : "universal",
6 "platform" : "ios",
7 "size" : "1024x1024"
8 },
9 {
10 "appearances" : [
11 {
12 "appearance" : "luminosity",
13 "value" : "dark"
14 }
15 ],
16 "filename" : "AppIcon-dark.png",
17 "idiom" : "universal",
18 "platform" : "ios",
19 "size" : "1024x1024"
20 },
21 {
22 "appearances" : [
23 {
24 "appearance" : "luminosity",
25 "value" : "tinted"
26 }
27 ],
28 "filename" : "AppIcon-tinted.png",
29 "idiom" : "universal",
30 "platform" : "ios",
31 "size" : "1024x1024"
32 }
33 ],
34 "info" : {
35 "author" : "xcode",
36 "version" : 1
37 }
38}\ No newline at end of file
ios/Orgstar/Assets.xcassets/AppIcon-Paper.appiconset/AppIcon-dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Paper.appiconset/AppIcon-tinted.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Paper.appiconset/AppIcon.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Paper.appiconset/Contents.json added +38
@@ -0,0 +1,38 @@
1{
2 "images" : [
3 {
4 "filename" : "AppIcon.png",
5 "idiom" : "universal",
6 "platform" : "ios",
7 "size" : "1024x1024"
8 },
9 {
10 "appearances" : [
11 {
12 "appearance" : "luminosity",
13 "value" : "dark"
14 }
15 ],
16 "filename" : "AppIcon-dark.png",
17 "idiom" : "universal",
18 "platform" : "ios",
19 "size" : "1024x1024"
20 },
21 {
22 "appearances" : [
23 {
24 "appearance" : "luminosity",
25 "value" : "tinted"
26 }
27 ],
28 "filename" : "AppIcon-tinted.png",
29 "idiom" : "universal",
30 "platform" : "ios",
31 "size" : "1024x1024"
32 }
33 ],
34 "info" : {
35 "author" : "xcode",
36 "version" : 1
37 }
38}\ No newline at end of file
ios/Orgstar/Assets.xcassets/AppIcon-Rainbow.appiconset/AppIcon-dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Rainbow.appiconset/AppIcon-tinted.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Rainbow.appiconset/AppIcon.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Rainbow.appiconset/Contents.json added +38
@@ -0,0 +1,38 @@
1{
2 "images" : [
3 {
4 "filename" : "AppIcon.png",
5 "idiom" : "universal",
6 "platform" : "ios",
7 "size" : "1024x1024"
8 },
9 {
10 "appearances" : [
11 {
12 "appearance" : "luminosity",
13 "value" : "dark"
14 }
15 ],
16 "filename" : "AppIcon-dark.png",
17 "idiom" : "universal",
18 "platform" : "ios",
19 "size" : "1024x1024"
20 },
21 {
22 "appearances" : [
23 {
24 "appearance" : "luminosity",
25 "value" : "tinted"
26 }
27 ],
28 "filename" : "AppIcon-tinted.png",
29 "idiom" : "universal",
30 "platform" : "ios",
31 "size" : "1024x1024"
32 }
33 ],
34 "info" : {
35 "author" : "xcode",
36 "version" : 1
37 }
38}\ No newline at end of file
ios/Orgstar/Assets.xcassets/AppIcon-Sunset.appiconset/AppIcon-dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Sunset.appiconset/AppIcon-tinted.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Sunset.appiconset/AppIcon.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Sunset.appiconset/Contents.json added +38
@@ -0,0 +1,38 @@
1{
2 "images" : [
3 {
4 "filename" : "AppIcon.png",
5 "idiom" : "universal",
6 "platform" : "ios",
7 "size" : "1024x1024"
8 },
9 {
10 "appearances" : [
11 {
12 "appearance" : "luminosity",
13 "value" : "dark"
14 }
15 ],
16 "filename" : "AppIcon-dark.png",
17 "idiom" : "universal",
18 "platform" : "ios",
19 "size" : "1024x1024"
20 },
21 {
22 "appearances" : [
23 {
24 "appearance" : "luminosity",
25 "value" : "tinted"
26 }
27 ],
28 "filename" : "AppIcon-tinted.png",
29 "idiom" : "universal",
30 "platform" : "ios",
31 "size" : "1024x1024"
32 }
33 ],
34 "info" : {
35 "author" : "xcode",
36 "version" : 1
37 }
38}\ No newline at end of file
ios/Orgstar/Assets.xcassets/AppIcon-Terminal.appiconset/AppIcon-dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Terminal.appiconset/AppIcon-tinted.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Terminal.appiconset/AppIcon.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Terminal.appiconset/Contents.json added +38
@@ -0,0 +1,38 @@
1{
2 "images" : [
3 {
4 "filename" : "AppIcon.png",
5 "idiom" : "universal",
6 "platform" : "ios",
7 "size" : "1024x1024"
8 },
9 {
10 "appearances" : [
11 {
12 "appearance" : "luminosity",
13 "value" : "dark"
14 }
15 ],
16 "filename" : "AppIcon-dark.png",
17 "idiom" : "universal",
18 "platform" : "ios",
19 "size" : "1024x1024"
20 },
21 {
22 "appearances" : [
23 {
24 "appearance" : "luminosity",
25 "value" : "tinted"
26 }
27 ],
28 "filename" : "AppIcon-tinted.png",
29 "idiom" : "universal",
30 "platform" : "ios",
31 "size" : "1024x1024"
32 }
33 ],
34 "info" : {
35 "author" : "xcode",
36 "version" : 1
37 }
38}\ No newline at end of file
ios/Orgstar/Assets.xcassets/AppIcon-Unicorn.appiconset/AppIcon-dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Unicorn.appiconset/AppIcon-tinted.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Unicorn.appiconset/AppIcon.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-Unicorn.appiconset/Contents.json added +38
@@ -0,0 +1,38 @@
1{
2 "images" : [
3 {
4 "filename" : "AppIcon.png",
5 "idiom" : "universal",
6 "platform" : "ios",
7 "size" : "1024x1024"
8 },
9 {
10 "appearances" : [
11 {
12 "appearance" : "luminosity",
13 "value" : "dark"
14 }
15 ],
16 "filename" : "AppIcon-dark.png",
17 "idiom" : "universal",
18 "platform" : "ios",
19 "size" : "1024x1024"
20 },
21 {
22 "appearances" : [
23 {
24 "appearance" : "luminosity",
25 "value" : "tinted"
26 }
27 ],
28 "filename" : "AppIcon-tinted.png",
29 "idiom" : "universal",
30 "platform" : "ios",
31 "size" : "1024x1024"
32 }
33 ],
34 "info" : {
35 "author" : "xcode",
36 "version" : 1
37 }
38}\ No newline at end of file
ios/Orgstar/Assets.xcassets/AppIcon-UnicornNight.appiconset/AppIcon-dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-UnicornNight.appiconset/AppIcon-tinted.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-UnicornNight.appiconset/AppIcon.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-UnicornNight.appiconset/Contents.json added +38
@@ -0,0 +1,38 @@
1{
2 "images" : [
3 {
4 "filename" : "AppIcon.png",
5 "idiom" : "universal",
6 "platform" : "ios",
7 "size" : "1024x1024"
8 },
9 {
10 "appearances" : [
11 {
12 "appearance" : "luminosity",
13 "value" : "dark"
14 }
15 ],
16 "filename" : "AppIcon-dark.png",
17 "idiom" : "universal",
18 "platform" : "ios",
19 "size" : "1024x1024"
20 },
21 {
22 "appearances" : [
23 {
24 "appearance" : "luminosity",
25 "value" : "tinted"
26 }
27 ],
28 "filename" : "AppIcon-tinted.png",
29 "idiom" : "universal",
30 "platform" : "ios",
31 "size" : "1024x1024"
32 }
33 ],
34 "info" : {
35 "author" : "xcode",
36 "version" : 1
37 }
38}\ No newline at end of file
ios/Orgstar/Assets.xcassets/AppIcon-UnicornPastel.appiconset/AppIcon-dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-UnicornPastel.appiconset/AppIcon-tinted.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-UnicornPastel.appiconset/AppIcon.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/AppIcon-UnicornPastel.appiconset/Contents.json added +38
@@ -0,0 +1,38 @@
1{
2 "images" : [
3 {
4 "filename" : "AppIcon.png",
5 "idiom" : "universal",
6 "platform" : "ios",
7 "size" : "1024x1024"
8 },
9 {
10 "appearances" : [
11 {
12 "appearance" : "luminosity",
13 "value" : "dark"
14 }
15 ],
16 "filename" : "AppIcon-dark.png",
17 "idiom" : "universal",
18 "platform" : "ios",
19 "size" : "1024x1024"
20 },
21 {
22 "appearances" : [
23 {
24 "appearance" : "luminosity",
25 "value" : "tinted"
26 }
27 ],
28 "filename" : "AppIcon-tinted.png",
29 "idiom" : "universal",
30 "platform" : "ios",
31 "size" : "1024x1024"
32 }
33 ],
34 "info" : {
35 "author" : "xcode",
36 "version" : 1
37 }
38}\ No newline at end of file
ios/Orgstar/Assets.xcassets/IconPreview-forest.imageset/Contents.json added +22
@@ -0,0 +1,22 @@
1{
2 "images" : [
3 {
4 "filename" : "light.png",
5 "idiom" : "universal"
6 },
7 {
8 "appearances" : [
9 {
10 "appearance" : "luminosity",
11 "value" : "dark"
12 }
13 ],
14 "filename" : "dark.png",
15 "idiom" : "universal"
16 }
17 ],
18 "info" : {
19 "author" : "xcode",
20 "version" : 1
21 }
22}\ No newline at end of file
ios/Orgstar/Assets.xcassets/IconPreview-forest.imageset/dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-forest.imageset/light.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-midnight.imageset/Contents.json added +22
@@ -0,0 +1,22 @@
1{
2 "images" : [
3 {
4 "filename" : "light.png",
5 "idiom" : "universal"
6 },
7 {
8 "appearances" : [
9 {
10 "appearance" : "luminosity",
11 "value" : "dark"
12 }
13 ],
14 "filename" : "dark.png",
15 "idiom" : "universal"
16 }
17 ],
18 "info" : {
19 "author" : "xcode",
20 "version" : 1
21 }
22}\ No newline at end of file
ios/Orgstar/Assets.xcassets/IconPreview-midnight.imageset/dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-midnight.imageset/light.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-mono.imageset/Contents.json added +22
@@ -0,0 +1,22 @@
1{
2 "images" : [
3 {
4 "filename" : "light.png",
5 "idiom" : "universal"
6 },
7 {
8 "appearances" : [
9 {
10 "appearance" : "luminosity",
11 "value" : "dark"
12 }
13 ],
14 "filename" : "dark.png",
15 "idiom" : "universal"
16 }
17 ],
18 "info" : {
19 "author" : "xcode",
20 "version" : 1
21 }
22}\ No newline at end of file
ios/Orgstar/Assets.xcassets/IconPreview-mono.imageset/dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-mono.imageset/light.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-org.imageset/Contents.json added +22
@@ -0,0 +1,22 @@
1{
2 "images" : [
3 {
4 "filename" : "light.png",
5 "idiom" : "universal"
6 },
7 {
8 "appearances" : [
9 {
10 "appearance" : "luminosity",
11 "value" : "dark"
12 }
13 ],
14 "filename" : "dark.png",
15 "idiom" : "universal"
16 }
17 ],
18 "info" : {
19 "author" : "xcode",
20 "version" : 1
21 }
22}\ No newline at end of file
ios/Orgstar/Assets.xcassets/IconPreview-org.imageset/dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-org.imageset/light.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-outline.imageset/Contents.json added +22
@@ -0,0 +1,22 @@
1{
2 "images" : [
3 {
4 "filename" : "light.png",
5 "idiom" : "universal"
6 },
7 {
8 "appearances" : [
9 {
10 "appearance" : "luminosity",
11 "value" : "dark"
12 }
13 ],
14 "filename" : "dark.png",
15 "idiom" : "universal"
16 }
17 ],
18 "info" : {
19 "author" : "xcode",
20 "version" : 1
21 }
22}\ No newline at end of file
ios/Orgstar/Assets.xcassets/IconPreview-outline.imageset/dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-outline.imageset/light.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-paper.imageset/Contents.json added +22
@@ -0,0 +1,22 @@
1{
2 "images" : [
3 {
4 "filename" : "light.png",
5 "idiom" : "universal"
6 },
7 {
8 "appearances" : [
9 {
10 "appearance" : "luminosity",
11 "value" : "dark"
12 }
13 ],
14 "filename" : "dark.png",
15 "idiom" : "universal"
16 }
17 ],
18 "info" : {
19 "author" : "xcode",
20 "version" : 1
21 }
22}\ No newline at end of file
ios/Orgstar/Assets.xcassets/IconPreview-paper.imageset/dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-paper.imageset/light.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-rainbow.imageset/Contents.json added +22
@@ -0,0 +1,22 @@
1{
2 "images" : [
3 {
4 "filename" : "light.png",
5 "idiom" : "universal"
6 },
7 {
8 "appearances" : [
9 {
10 "appearance" : "luminosity",
11 "value" : "dark"
12 }
13 ],
14 "filename" : "dark.png",
15 "idiom" : "universal"
16 }
17 ],
18 "info" : {
19 "author" : "xcode",
20 "version" : 1
21 }
22}\ No newline at end of file
ios/Orgstar/Assets.xcassets/IconPreview-rainbow.imageset/dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-rainbow.imageset/light.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-sunset.imageset/Contents.json added +22
@@ -0,0 +1,22 @@
1{
2 "images" : [
3 {
4 "filename" : "light.png",
5 "idiom" : "universal"
6 },
7 {
8 "appearances" : [
9 {
10 "appearance" : "luminosity",
11 "value" : "dark"
12 }
13 ],
14 "filename" : "dark.png",
15 "idiom" : "universal"
16 }
17 ],
18 "info" : {
19 "author" : "xcode",
20 "version" : 1
21 }
22}\ No newline at end of file
ios/Orgstar/Assets.xcassets/IconPreview-sunset.imageset/dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-sunset.imageset/light.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-terminal.imageset/Contents.json added +22
@@ -0,0 +1,22 @@
1{
2 "images" : [
3 {
4 "filename" : "light.png",
5 "idiom" : "universal"
6 },
7 {
8 "appearances" : [
9 {
10 "appearance" : "luminosity",
11 "value" : "dark"
12 }
13 ],
14 "filename" : "dark.png",
15 "idiom" : "universal"
16 }
17 ],
18 "info" : {
19 "author" : "xcode",
20 "version" : 1
21 }
22}\ No newline at end of file
ios/Orgstar/Assets.xcassets/IconPreview-terminal.imageset/dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-terminal.imageset/light.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-unicorn-night.imageset/Contents.json added +22
@@ -0,0 +1,22 @@
1{
2 "images" : [
3 {
4 "filename" : "light.png",
5 "idiom" : "universal"
6 },
7 {
8 "appearances" : [
9 {
10 "appearance" : "luminosity",
11 "value" : "dark"
12 }
13 ],
14 "filename" : "dark.png",
15 "idiom" : "universal"
16 }
17 ],
18 "info" : {
19 "author" : "xcode",
20 "version" : 1
21 }
22}\ No newline at end of file
ios/Orgstar/Assets.xcassets/IconPreview-unicorn-night.imageset/dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-unicorn-night.imageset/light.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-unicorn-pastel.imageset/Contents.json added +22
@@ -0,0 +1,22 @@
1{
2 "images" : [
3 {
4 "filename" : "light.png",
5 "idiom" : "universal"
6 },
7 {
8 "appearances" : [
9 {
10 "appearance" : "luminosity",
11 "value" : "dark"
12 }
13 ],
14 "filename" : "dark.png",
15 "idiom" : "universal"
16 }
17 ],
18 "info" : {
19 "author" : "xcode",
20 "version" : 1
21 }
22}\ No newline at end of file
ios/Orgstar/Assets.xcassets/IconPreview-unicorn-pastel.imageset/dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-unicorn-pastel.imageset/light.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-unicorn.imageset/Contents.json added +22
@@ -0,0 +1,22 @@
1{
2 "images" : [
3 {
4 "filename" : "light.png",
5 "idiom" : "universal"
6 },
7 {
8 "appearances" : [
9 {
10 "appearance" : "luminosity",
11 "value" : "dark"
12 }
13 ],
14 "filename" : "dark.png",
15 "idiom" : "universal"
16 }
17 ],
18 "info" : {
19 "author" : "xcode",
20 "version" : 1
21 }
22}\ No newline at end of file
ios/Orgstar/Assets.xcassets/IconPreview-unicorn.imageset/dark.png added

Binary file not shown.

ios/Orgstar/Assets.xcassets/IconPreview-unicorn.imageset/light.png added

Binary file not shown.

packaging/IconPreviews/forest-dark.png added

Binary file not shown.

packaging/IconPreviews/forest-light.png added

Binary file not shown.

packaging/IconPreviews/midnight-dark.png added

Binary file not shown.

packaging/IconPreviews/midnight-light.png added

Binary file not shown.

packaging/IconPreviews/mono-dark.png added

Binary file not shown.

packaging/IconPreviews/mono-light.png added

Binary file not shown.

packaging/IconPreviews/org-dark.png added

Binary file not shown.

packaging/IconPreviews/org-light.png added

Binary file not shown.

packaging/IconPreviews/outline-dark.png added

Binary file not shown.

packaging/IconPreviews/outline-light.png added

Binary file not shown.

packaging/IconPreviews/paper-dark.png added

Binary file not shown.

packaging/IconPreviews/paper-light.png added

Binary file not shown.

packaging/IconPreviews/rainbow-dark.png added

Binary file not shown.

packaging/IconPreviews/rainbow-light.png added

Binary file not shown.

packaging/IconPreviews/sunset-dark.png added

Binary file not shown.

packaging/IconPreviews/sunset-light.png added

Binary file not shown.

packaging/IconPreviews/terminal-dark.png added

Binary file not shown.

packaging/IconPreviews/terminal-light.png added

Binary file not shown.

packaging/IconPreviews/unicorn-dark.png added

Binary file not shown.

packaging/IconPreviews/unicorn-light.png added

Binary file not shown.

packaging/IconPreviews/unicorn-night-dark.png added

Binary file not shown.

packaging/IconPreviews/unicorn-night-light.png added

Binary file not shown.

packaging/IconPreviews/unicorn-pastel-dark.png added

Binary file not shown.

packaging/IconPreviews/unicorn-pastel-light.png added

Binary file not shown.

scripts/make-icon.swift +61 −2
@@ -21,6 +21,18 @@ func rgb(_ hex: UInt32) -> NSColor {
21let variants: [Variant] = [ 21let variants: [Variant] = [
22 Variant(id: "default", top: NSColor(srgbRed: 0.13, green: 0.20, blue: 0.55, alpha: 1), bottom: NSColor(srgbRed: 0.40, green: 0.22, blue: 0.70, alpha: 1), 22 Variant(id: "default", top: NSColor(srgbRed: 0.13, green: 0.20, blue: 0.55, alpha: 1), bottom: NSColor(srgbRed: 0.40, green: 0.22, blue: 0.70, alpha: 1),
23 glyph: NSColor(srgbRed: 1, green: 0.78, blue: 0.30, alpha: 1), bars: NSColor(white: 1, alpha: 0.92)), 23 glyph: NSColor(srgbRed: 1, green: 0.78, blue: 0.30, alpha: 1), bars: NSColor(white: 1, alpha: 0.92)),
24 Variant(id: "midnight", top: rgb(0x1a1d24), bottom: rgb(0x0b0c10), glyph: rgb(0xffc74d), bars: NSColor(white: 1, alpha: 0.85)),
25 Variant(id: "paper", top: rgb(0xfbf8f1), bottom: rgb(0xece4d2), glyph: rgb(0x3b3428), bars: rgb(0x7d7262)),
26 Variant(id: "org", top: rgb(0x77aa99), bottom: rgb(0x3e7a6a), glyph: rgb(0xffc74d), bars: NSColor(white: 1, alpha: 0.92)),
27 Variant(id: "sunset", top: rgb(0xff9a3c), bottom: rgb(0xe23e7a), glyph: .white, bars: NSColor(white: 1, alpha: 0.85)),
28 Variant(id: "forest", top: rgb(0x2f5d3a), bottom: rgb(0x173322), glyph: rgb(0xf4ecd0), bars: NSColor(white: 1, alpha: 0.8)),
29 Variant(id: "mono", top: rgb(0x5a5d63), bottom: rgb(0x2c2e33), glyph: .white, bars: NSColor(white: 1, alpha: 0.8)),
30 Variant(id: "rainbow", top: rgb(0xe40303), bottom: rgb(0x732982), glyph: .white, bars: NSColor(white: 1, alpha: 0.9)),
31 Variant(id: "outline", top: .white, bottom: rgb(0xf2f2f2), glyph: rgb(0x2f5486), bars: rgb(0x2f5486), style: .outline),
32 Variant(id: "terminal", top: rgb(0x0a0f0a), bottom: .black, glyph: rgb(0x39ff6a), bars: rgb(0x2bcc55)),
33 Variant(id: "unicorn", top: rgb(0x77aa99), bottom: rgb(0x3e7a6a), glyph: rgb(0xffc74d), bars: .white, style: .unicorn),
34 Variant(id: "unicorn-night", top: rgb(0x2b2a6b), bottom: rgb(0x14133a), glyph: rgb(0xd8dde6), bars: rgb(0xeae8ff), style: .unicorn),
35 Variant(id: "unicorn-pastel", top: rgb(0xffc6dd), bottom: rgb(0xc7b8ff), glyph: rgb(0xffc74d), bars: .white, style: .unicorn),
24] 36]
25 37
26enum Look { case light, dark, tinted } 38enum Look { case light, dark, tinted }
@@ -43,6 +55,16 @@ func draw(_ v: Variant, _ size: CGFloat, look: Look = .light, fullBleed: Bool =
43 let square = NSRect(x: 100 * s, y: 100 * s, width: 824 * s, height: 824 * s) 55 let square = NSRect(x: 100 * s, y: 100 * s, width: 824 * s, height: 824 * s)
44 let shape = fullBleed ? NSBezierPath(rect: square) : NSBezierPath(roundedRect: square, xRadius: 185 * s, yRadius: 185 * s) 56 let shape = fullBleed ? NSBezierPath(rect: square) : NSBezierPath(roundedRect: square, xRadius: 185 * s, yRadius: 185 * s)
45 switch look { 57 switch look {
58 case .light where v.id == "rainbow":
59 NSGraphicsContext.saveGraphicsState()
60 shape.addClip()
61 let stripes = [0xe40303, 0xff8c00, 0xffed00, 0x008026, 0x004dff, 0x750787].map(rgb)
62 let band = square.height / CGFloat(stripes.count)
63 for (i, color) in stripes.enumerated() {
64 color.setFill()
65 NSRect(x: square.minX, y: square.maxY - band * CGFloat(i + 1), width: square.width, height: band).fill()
66 }
67 NSGraphicsContext.restoreGraphicsState()
46 case .light: NSGradient(colors: [v.top, v.bottom])!.draw(in: shape, angle: -60) 68 case .light: NSGradient(colors: [v.top, v.bottom])!.draw(in: shape, angle: -60)
47 case .dark: break 69 case .dark: break
48 case .tinted: NSColor.black.setFill(); shape.fill() 70 case .tinted: NSColor.black.setFill(); shape.fill()
@@ -76,9 +98,46 @@ func drawOutline(_ s: CGFloat, glyph: NSColor, bars: NSColor, filled: Bool) {
76 } 98 }
77} 99}
78 100
79/// Task 8 draws the unicorn. 101/// A unicorn's head in profile, facing left, with a mane; its horn ends in the heading star.
80func drawUnicorn(_ s: CGFloat, glyph: NSColor, head: NSColor) { 102func drawUnicorn(_ s: CGFloat, glyph: NSColor, head: NSColor) {
81 drawOutline(s, glyph: glyph, bars: head, filled: true) 103 func p(_ x: CGFloat, _ y: CGFloat) -> NSPoint { NSPoint(x: x * s, y: y * s) }
104 let face = NSBezierPath()
105 face.move(to: p(640, 200)) // neck, back
106 face.curve(to: p(600, 560), controlPoint1: p(700, 330), controlPoint2: p(690, 480))
107 face.curve(to: p(470, 640), controlPoint1: p(560, 610), controlPoint2: p(520, 640)) // crown
108 face.line(to: p(440, 690)) // ear
109 face.line(to: p(410, 620))
110 face.curve(to: p(250, 470), controlPoint1: p(340, 590), controlPoint2: p(270, 530)) // brow to nose
111 face.curve(to: p(290, 400), controlPoint1: p(235, 430), controlPoint2: p(250, 400)) // muzzle
112 face.curve(to: p(430, 430), controlPoint1: p(340, 400), controlPoint2: p(390, 410)) // jaw
113 face.curve(to: p(450, 200), controlPoint1: p(470, 360), controlPoint2: p(440, 280)) // throat
114 face.close()
115 head.setFill()
116 face.fill()
117
118 let mane = NSBezierPath()
119 mane.move(to: p(600, 560))
120 mane.curve(to: p(760, 220), controlPoint1: p(720, 520), controlPoint2: p(800, 360))
121 mane.line(to: p(690, 210))
122 mane.curve(to: p(600, 520), controlPoint1: p(730, 330), controlPoint2: p(680, 470))
123 mane.close()
124 glyph.withAlphaComponent(0.85).setFill()
125 mane.fill()
126
127 let horn = NSBezierPath()
128 horn.move(to: p(440, 640))
129 horn.line(to: p(300, 790))
130 horn.line(to: p(475, 660))
131 horn.close()
132 head.blended(withFraction: 0.25, of: glyph)?.setFill()
133 horn.fill()
134
135 let eye = NSBezierPath(ovalIn: NSRect(x: 360 * s, y: 520 * s, width: 28 * s, height: 28 * s))
136 NSColor(white: 0.15, alpha: 1).setFill()
137 eye.fill()
138
139 let star = NSAttributedString(string: "✱", attributes: [.font: NSFont.systemFont(ofSize: 190 * s, weight: .heavy), .foregroundColor: glyph])
140 star.draw(at: p(205, 700))
82} 141}
83 142
84func png(_ rep: NSBitmapImageRep) -> Data { rep.representation(using: .png, properties: [:])! } 143func png(_ rep: NSBitmapImageRep) -> Data { rep.representation(using: .png, properties: [:])! }