Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

The App Management mark on Home reads on its cream sticker

Țugui Dragoș5ce5a1c452bf
diff --git a/Peel/Assets.xcassets/PeelOrangeOnCream.colorset/Contents.json b/Peel/Assets.xcassets/PeelOrangeOnCream.colorset/Contents.json
new file mode 100644
index 00000000..737cea39
--- /dev/null
+++ b/Peel/Assets.xcassets/PeelOrangeOnCream.colorset/Contents.json
@@ -0,0 +1,38 @@
+{
+ "colors" : [
+ {
+ "color" : {
+ "color-space" : "srgb",
+ "components" : {
+ "alpha" : "1.000",
+ "blue" : "0.000",
+ "green" : "0.290",
+ "red" : "0.690"
+ }
+ },
+ "idiom" : "universal"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "contrast",
+ "value" : "high"
+ }
+ ],
+ "color" : {
+ "color-space" : "srgb",
+ "components" : {
+ "alpha" : "1.000",
+ "blue" : "0.000",
+ "green" : "0.224",
+ "red" : "0.541"
+ }
+ },
+ "idiom" : "universal"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/Peel/Views/Home/HomePermissionsView.swift b/Peel/Views/Home/HomePermissionsView.swift
index baa4beb6..06ddb4a8 100644
--- a/Peel/Views/Home/HomePermissionsView.swift
+++ b/Peel/Views/Home/HomePermissionsView.swift
@@ -275,7 +275,7 @@ struct HomePermissionsContent: View {
switch permission {
case .fullDiskAccess: (Album.charcoal, .white)
case .helper: (Album.orange, Album.onOrange)
- case .appManagement: (Album.cream, Album.orange)
+ case .appManagement: (Album.cream, Album.orangeOnCream)
default: (Album.cream, Album.charcoal)
}
}
diff --git a/Peel/Views/Stickers/StickerStyle.swift b/Peel/Views/Stickers/StickerStyle.swift
index 42fcf4cc..d2049db2 100644
--- a/Peel/Views/Stickers/StickerStyle.swift
+++ b/Peel/Views/Stickers/StickerStyle.swift
@@ -27,6 +27,9 @@ enum Album {
static let redFill = Color(.peelRedFill)
/// Orange for words and marks on the paper, where the brand orange is too light to read. The logo keeps `orange`.
static let orangeInk = Color(.peelOrangeInk)
+ /// Orange for a mark on a `cream` sticker. The cream is the same in every appearance, so this orange is too,
+ /// where `orangeInk` lightens in dark for the dark paper.
+ static let orangeOnCream = Color(.peelOrangeOnCream)
/// Words and marks drawn on `orange`: dark, and white where Increase Contrast darkens the orange.
static let onOrange = Color(.inkOnOrange)
}