Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Tidy Ensu app icon note

Manav Rathiba3e8cbea658
diff --git a/mobile/native/darwin/Apps/Ensu/docs/app-icon.md b/mobile/native/darwin/Apps/Ensu/docs/app-icon.md
new file mode 100644
index 0000000000..ff522ee694
--- /dev/null
+++ b/mobile/native/darwin/Apps/Ensu/docs/app-icon.md
@@ -0,0 +1,14 @@
+# Updating the app icon
+
+The iOS app icon is based on a 1024Γ—1024 transparent foreground image centered on a square canvas. From this we create three assets with differing backgrounds and add them to `AppIcon.appiconset`.
+
+## Steps
+
+1. Open the transparent source PNG.
+2. Ensure the foreground is centered on a 1024Γ—1024 canvas. If the source is a different size, rescale to 1024Γ—1024 first without adding padding.
+3. Export three variants:
+ - **Any**: `IconOGAny.png` β€” #FFEEDD background
+ - **Dark**: `IconOGDark.png` β€” transparent background (so the system dark gradient can show)
+ - **Tinted**: `IconOGTinted.png` β€” white background (so tinting behaves correctly)
+4. Replace the corresponding files in [`Ensu/Assets.xcassets/AppIcon.appiconset/`](../Ensu/Assets.xcassets/AppIcon.appiconset/).
+5. Rebuild the app in Xcode to refresh the asset catalog.
diff --git a/mobile/native/darwin/Apps/Ensu/docs/appicon.md b/mobile/native/darwin/Apps/Ensu/docs/appicon.md
deleted file mode 100644
index 6ac8876d97..0000000000
--- a/mobile/native/darwin/Apps/Ensu/docs/appicon.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# Updating the iOS app icon
-
-The iOS app icon uses a 1024Γ—1024 foreground image centered on a square canvas.
-**Do not add extra padding or scaling**β€”use the foreground artwork as-is.
-
-## Sources
-- **Foreground artwork**: provided by design (transparent PNG, 1024Γ—1024).
-- **Backgrounds**:
- - Any (default): `#FFEEDD`
- - Dark: **transparent** (so the system dark gradient can show)
- - Tinted: **white** (so tinting behaves correctly)
-
-## Assets to update
-Update the files inside:
-```
-mobile/native/darwin/Apps/Ensu/Ensu/Assets.xcassets/AppIcon.appiconset
-```
-
-Required files:
-- `IconOGAny.png` (foreground on #FFEEDD)
-- `IconOGDark.png` (foreground on transparent background)
-- `IconOGTinted.png` (foreground on white background)
-
-## Steps
-1. Open the provided foreground PNG and keep it at **1024Γ—1024**.
-2. Center the foreground on a 1024Γ—1024 canvas.
-3. Export three variants:
- - **Any**: background `#FFEEDD`
- - **Dark**: transparent background
- - **Tinted**: background `#FFFFFF`
-4. Replace the corresponding files in `AppIcon.appiconset`.
-5. Rebuild the app in Xcode to refresh the asset catalog.
-
-## Notes
-- Do **not** add extra padding for iOS; the foreground sizing is already correct.
-- If the artwork is delivered at a different size, scale it to **1024Γ—1024** first and keep it centered.