Skip to content

end to end app store screenshot creation using AI

Add Mac App Store screenshot support to the editor and skill.

Hussein Elbeheiry0ade6a1ef3e8
diff --git a/README.md b/README.md
index 5365a5d..854e67d 100644
--- a/README.md
+++ b/README.md
@@ -14,8 +14,8 @@ Example screenshots generated with this skill were accepted for [Bloom Coffee Sh
- Keeps older projects safe with isolated-screen export mode until you opt into connected crops
- Saves every deck to `app-store-screenshots.json`, so the project is git-trackable and resumable
- Uploads picked screenshots into `public/screenshots/uploaded/<hash>.png`
-- Supports iPhone, iPad, Apple TV, Apple Watch, CarPlay, Android phone, Android tablet, and Play Store feature graphic decks
-- Exports exact PNG bundles for all required App Store and Google Play sizes
+- Supports iPhone, iPad, Apple TV, Apple Watch, CarPlay, Mac, Android phone, Android tablet, and Play Store feature graphic decks
+- Exports exact PNG bundles for all required App Store, Mac App Store, and Google Play sizes
- Supports locales, RTL-aware copy/layout guidance, reusable themes, and in-place project migration
- Ships 18 named visual styles with deep specs and a headline copy library
@@ -26,8 +26,8 @@ Example screenshots generated with this skill were accepted for [Bloom Coffee Sh
- **Screen sidebar** - add, select, and drag-to-reorder screens with live thumbnails.
- **Inspector** - edit layout, labels, headlines, screenshots, element stacking, and transforms from the right panel. A **Copy ideas** menu next to the headline drops in a proven formula to rewrite.
- **Theme picker** - switch palette presets from the toolbar, including one preset per named style.
-- **Platform switcher** - keep iOS and Android decks side by side while sharing the same editor workflow.
-- **Device selector** - design for iPhone, iPad, Apple TV, Apple Watch, CarPlay, Android phone, Android tablets, and feature graphic formats.
+- **Platform switcher** - keep iOS, Mac, and Android decks side by side while sharing the same editor workflow.
+- **Device selector** - design for iPhone, iPad, Apple TV, Apple Watch, CarPlay, Mac, Android phone, Android tablets, and feature graphic formats.
- **Autosave** - writes to disk through `/api/project` and mirrors to `localStorage` for instant reloads.
- **Export bundle** - downloads a zip organized by platform, device, resolution, and locale.
@@ -85,6 +85,12 @@ The main strengths are fast expense capture, clear monthly trends, and shared bu
I want a sharp modern style with high contrast and 7 slides.
```
+```text
+Build Mac App Store screenshots for my menu-bar utility.
+The app lives in the menu bar and finds files on this Mac instantly.
+I want 5 slides, a dark Mac window frame, and a calm desktop feel.
+```
+
```text
Build App Store screenshots for my language learning app.
I need English, German, and Arabic screenshot sets.
@@ -117,7 +123,8 @@ project/
│ │ ├── ipad/{locale}/01.png
│ │ ├── tvos/{locale}/01.png
│ │ ├── watchos/{locale}/01.png
-│ │ └── carplay/{locale}/01.png
+│ │ ├── carplay/{locale}/01.png
+│ │ └── mac/{locale}/01.png
│ └── android/
│ ├── phone/{locale}/01.png
│ ├── tablet-7/portrait/{locale}/01.png
@@ -180,6 +187,15 @@ Uploaded files are saved under `public/screenshots/uploaded/`, and the canonical
App Store Connect has no CarPlay screenshot slot: CarPlay shots are uploaded into the iPhone slot, so the CarPlay deck exports landscape iPhone sizes with a head-unit frame.
+### Mac App Store
+
+| Display | Resolution |
+|---------|------------|
+| 2880 × 1800 | 2880 x 1800 |
+| 2560 × 1600 | 2560 x 1600 |
+| 1440 × 900 | 1440 x 900 |
+| 1280 × 800 | 1280 x 800 |
+
### Google Play Store
| Device | Resolution |
@@ -191,7 +207,7 @@ App Store Connect has no CarPlay screenshot slot: CarPlay shots are uploaded int
| 10" tablet landscape | 2560 x 1600 |
| Feature graphic | 1024 x 500 |
-Screenshots are designed at the largest size for each device and scaled down for smaller exports. Every export waits until each screenshot has actually painted (Safari/WebKit decodes them asynchronously) and warns instead of silently writing a blank device. Android, iPad, Apple TV, Apple Watch and CarPlay frames are CSS-rendered, while iPhone uses the included `mockup.png` bezel.
+Screenshots are designed at the largest size for each device and scaled down for smaller exports. Every export waits until each screenshot has actually painted (Safari/WebKit decodes them asynchronously) and warns instead of silently writing a blank device. Android, iPad, Apple TV, Apple Watch, CarPlay and Mac frames are CSS-rendered, while iPhone uses the included `mockup.png` bezel.
## Project State
diff --git a/skills/app-store-screenshots/SKILL.md b/skills/app-store-screenshots/SKILL.md
index 77c78f4..5814f82 100644
--- a/skills/app-store-screenshots/SKILL.md
+++ b/skills/app-store-screenshots/SKILL.md
@@ -1,6 +1,6 @@
---
name: app-store-screenshots
-description: Use when building App Store or Google Play screenshot pages, generating exportable marketing screenshots for iOS and/or Android apps, or scaffolding a screenshot editor with Next.js. Triggers on app store, play store, screenshots, marketing assets, html-to-image, phone mockup, android screenshots, feature graphic.
+description: Use when building App Store or Google Play screenshot pages, generating exportable marketing screenshots for iOS, macOS, and/or Android apps, or scaffolding a screenshot editor with Next.js. Triggers on app store, mac app store, play store, screenshots, marketing assets, html-to-image, phone mockup, mac mockup, android screenshots, feature graphic.
---
# App Store & Google Play Screenshots Generator
@@ -14,7 +14,7 @@ Scaffold a pre-built Next.js + ShadCN editor that lets the user design and expor
- Cross-screen mockups: phone/device frames, captions, and layered elements can be moved across adjacent screens, then exported as clipped crops
- Drop-target screenshot picker (file → saved to `public/screenshots/uploaded/<hash>.png`)
- Auto-save to **`app-store-screenshots.json`** at the project root (git-trackable) + `localStorage` mirror
-- Easy iOS ↔ Android platform switch — separate slide decks live side by side
+- Easy iOS ↔ Mac ↔ Android platform switch — separate slide decks live side by side
- One-click bulk PNG export at every Apple/Google-required resolution via `html-to-image`
- Light/dark variant toggle per slide, a toolbar theme picker (one palette preset per named style), locale select
- A **Copy ideas** menu next to the headline field with formulas for hero, differentiator, feature, proof, and closer slides
@@ -26,6 +26,7 @@ Supported devices out of the box:
- **Apple TV** (landscape, 4K + HD) — Apple App Store
- **Apple Watch** (portrait, every Ultra/Series size) — Apple App Store
- **CarPlay** (landscape head unit) — uploaded into the **iPhone** slot; see "Apple TV, Apple Watch and CarPlay" under Step 5
+- **Mac** (16:10) — Mac App Store (`2880×1800`, `2560×1600`, `1440×900`, `1280×800`)
- **Android Phone** (portrait) — Google Play
- **Android Tablet 7"** (portrait + landscape) — Google Play
- **Android Tablet 10"** (portrait + landscape) — Google Play
@@ -135,7 +136,7 @@ const path = require("path");
const PROJECT_FILE = "app-store-screenshots.json";
const DEFAULT_LOCALE = "en";
-const DEVICE_KEYS = ["iphone", "ipad", "tvos", "watchos", "carplay", "android", "android-7", "android-10", "feature-graphic"];
+const DEVICE_KEYS = ["iphone", "ipad", "tvos", "watchos", "carplay", "mac", "android", "android-7", "android-10", "feature-graphic"];
const LAYOUTS = ["hero", "device-bottom", "device-top", "two-devices", "no-device", "split-landscape", "feature-graphic"];
function readJson(file) {
@@ -334,8 +335,8 @@ Ask the user these. Do not proceed until you have answers:
### Optional
-6. **Target stores** — Apple App Store only, Google Play only, or both? Determines which platform decks to seed.
-7. **iPad / Android tablet screenshots** — If yes, what sizes and orientations?
+6. **Target stores** — Apple App Store, Mac App Store, Google Play, or a mix? Determines which platform decks to seed.
+7. **iPad / Mac / Android tablet screenshots** — If yes, what sizes and orientations?
8. **Apple TV / Apple Watch / CarPlay** — Does the app have a tvOS or watchOS app, or CarPlay support? Each gets its own deck.
9. **Feature Graphic** — Want a 1024×500 Play Store banner too?
10. **Localized screenshots** — Languages? (e.g. en, de, es, pt, ja, ar, he)
@@ -386,7 +387,8 @@ public/
│ ├── ipad/{locale}/01.png … N.png
│ ├── tvos/{locale}/01.png … N.png # Apple TV, 16:9
│ ├── watchos/{locale}/01.png … N.png # Apple Watch
- │ └── carplay/{locale}/01.png … N.png # CarPlay head-unit captures
+ │ ├── carplay/{locale}/01.png … N.png # CarPlay head-unit captures
+ │ └── mac/{locale}/01.png … N.png # Mac, 16:10
└── android/
├── phone/{locale}/01.png … N.png
├── tablet-7/{portrait|landscape}/{locale}/...
@@ -464,7 +466,7 @@ Vary the `layout` field across slides. The editor exposes:
- `device-top` — flipped, device above caption (good contrast slide)
- `two-devices` — back + front phones layered
- `no-device` — big standalone headline (use sparingly)
-- `split-landscape` — caption left + device right (tablet landscape only)
+- `split-landscape` — caption left + device right (tablet landscape and Mac)
- `feature-graphic` — Play Store banner (1024×500)
Never repeat the same layout twice in a row. Use 1-2 `inverted` (dark) slides for visual rhythm.
@@ -629,7 +631,7 @@ Every Apple TV and Apple Watch size below was read from App Store Connect's own
### Visual Quality
- No two adjacent slides share the same layout
-- Landscape tablet slides use `split-landscape` — never two devices side-by-side
+- Landscape tablet and Mac slides use `split-landscape` — never two devices side-by-side
- Apple TV and CarPlay decks lead with `split-landscape` or `hero`; Watch headlines fit on the 422 px canvas without wrapping mid-phrase
- At least one contrast (`inverted: true`) slide when the deck is long enough
- For decks with 5+ slides, either one cross-screen/cross-canvas moment exists or there is a clear reason to keep every screen isolated
@@ -728,7 +730,7 @@ When you finish scaffolding, **start the dev server** (`bun dev` / `pnpm dev` /
bun dev # → http://localhost:3000
```
Substitute `pnpm` / `yarn` / `npm run` as appropriate for what was detected in Step 2.
-3. Which platforms have starter decks seeded (iOS, Android, or both).
+3. Which platforms have starter decks seeded (iOS, Mac, Android, or a mix).
4. Any user-supplied screenshots that didn't match the expected filenames (so they can rename or use the in-editor drop target).
5. Point them at the **Export bundle** button once they're happy with the layouts.
6. **Invite further edits:** say something like _"Feel free to ask me to make any changes you'd like to the screenshots — copy, layout, palette, anything. I can iterate with you."_
diff --git a/skills/app-store-screenshots/template/README.md b/skills/app-store-screenshots/template/README.md
index 88b744b..841c1a9 100644
--- a/skills/app-store-screenshots/template/README.md
+++ b/skills/app-store-screenshots/template/README.md
@@ -13,9 +13,9 @@ bun dev # http://localhost:3000
- **Connected canvas editor** (`src/components/editor/`) — every screen sits on one horizontal canvas, so phones, captions, and other elements can be dragged across screen boundaries and exported as split crops when Connected mode is enabled.
- **Screen controls** — drag-to-reorder screens, click-to-edit text, screenshot drop targets, per-screen layout switcher, dark/light toggle.
-- **Device frames** (`src/components/editor/device-frames.tsx`) — iPhone (PNG mockup), iPad, Apple TV, Apple Watch, CarPlay head unit, Android phone, Android tablet (portrait + landscape), feature graphic.
+- **Device frames** (`src/components/editor/device-frames.tsx`) — iPhone (PNG mockup), iPad, Apple TV, Apple Watch, CarPlay head unit, Mac window, Android phone, Android tablet (portrait + landscape), feature graphic.
- **Auto-save (git-trackable)** — every change is persisted within ~600ms to **`app-store-screenshots.json`** at the project root (via `/api/project`) **and** mirrored to `localStorage` as an instant-paint cache. Commit `app-store-screenshots.json` and you can `git clone` to another machine and resume exactly where you left off.
-- **Multi-device decks** — iOS and Android slide decks live side by side; switching the platform tab preserves both.
+- **Multi-device decks** — iOS, Mac, and Android slide decks live side by side; switching the platform tab preserves all three.
- **One-click export** — bulk PNG export at any required App Store / Play Store resolution using `html-to-image`; each PNG is rendered from the current connected or isolated deck mode.
- **Project migration** — older `app-store-screenshots.json` files are migrated on load. Existing per-slide transforms remain valid, and connected crops become available without rewriting the deck by hand.
- **Legacy-safe mode** — pre-v2 projects opened directly in the editor start in isolated-screen mode first, then can opt into connected crops with the toolbar's Connected/Isolated control. Skill-run in-place migrations keep legacy decks isolated unless the project had already explicitly opted into connected canvas.
@@ -27,9 +27,10 @@ Two ways:
1. **Drop a file in the inspector** — drag-and-drop or click Pick. The file is sent to `/api/upload`, hashed, and written to `public/screenshots/uploaded/<hash>.png`. The slide stores the resulting `/screenshots/uploaded/...` path, so commit those files alongside `app-store-screenshots.json` and the screenshots survive a `git clone`.
2. **Reference a static file** — put PNGs under `public/screenshots/{platform}/{device}/{locale}/` and reference them by path. Default sample slides expect:
- `public/screenshots/apple/iphone/en/...`
- - `public/screenshots/android/phone/en/...`
- `public/screenshots/apple/ipad/en/...`
- `public/screenshots/apple/{tvos,watchos,carplay}/en/...` for Apple TV, Apple Watch and CarPlay decks
+ - `public/screenshots/apple/mac/en/...`
+ - `public/screenshots/android/phone/en/...`
Update the matching `screenshot` fields in `app-store-screenshots.json` to point at whatever filenames you choose.
diff --git a/skills/app-store-screenshots/template/app-store-screenshots.json b/skills/app-store-screenshots/template/app-store-screenshots.json
index 4d50fa1..efbbc30 100644
--- a/skills/app-store-screenshots/template/app-store-screenshots.json
+++ b/skills/app-store-screenshots/template/app-store-screenshots.json
@@ -298,6 +298,64 @@
"inverted": true
}
],
+ "mac": [
+ {
+ "id": "s_mac_hero",
+ "layout": "hero",
+ "label": {
+ "en": "MEET YOUR APP"
+ },
+ "headline": {
+ "en": "Made for\nyour Mac."
+ },
+ "screenshot": ""
+ },
+ {
+ "id": "s_mac_split",
+ "layout": "split-landscape",
+ "label": {
+ "en": "FEATURE 01"
+ },
+ "headline": {
+ "en": "Find it\nanyway."
+ },
+ "screenshot": ""
+ },
+ {
+ "id": "s_mac_bottom",
+ "layout": "device-bottom",
+ "label": {
+ "en": "FEATURE 02"
+ },
+ "headline": {
+ "en": "One shortcut\naway."
+ },
+ "screenshot": ""
+ },
+ {
+ "id": "s_mac_top",
+ "layout": "device-top",
+ "label": {
+ "en": "FEATURE 03"
+ },
+ "headline": {
+ "en": "Nothing leaves\nthis Mac."
+ },
+ "screenshot": "",
+ "inverted": true
+ },
+ {
+ "id": "s_mac_more",
+ "layout": "no-device",
+ "label": {
+ "en": "MORE"
+ },
+ "headline": {
+ "en": "And so\nmuch more."
+ },
+ "screenshot": ""
+ }
+ ],
"android-7": [
{
"id": "s_mppgoot8_d",
@@ -361,6 +419,7 @@
"crossScreenMockupsByDevice": {
"iphone": [],
"ipad": [],
+ "mac": [],
"android": [],
"android-7": [],
"android-10": [],
diff --git a/skills/app-store-screenshots/template/src/components/editor/device-frames.tsx b/skills/app-store-screenshots/template/src/components/editor/device-frames.tsx
index 5004bca..27eb71f 100644
--- a/skills/app-store-screenshots/template/src/components/editor/device-frames.tsx
+++ b/skills/app-store-screenshots/template/src/components/editor/device-frames.tsx
@@ -219,6 +219,55 @@ export function AndroidTabletL({ src, alt = "", style, hideEmpty }: FrameProps)
);
}
+export function MacWindow({ src, alt = "", style, hideEmpty }: FrameProps) {
+ const resolved = img(src);
+ return (
+ <div style={{ position: "relative", aspectRatio: "16 / 10", ...style }}>
+ <div
+ style={{
+ width: "100%",
+ height: "100%",
+ borderRadius: "2.2% / 3.5%",
+ background: "linear-gradient(180deg, #3A3A3C 0%, #2C2C2E 8%, #1C1C1E 100%)",
+ boxShadow: "inset 0 0 0 1px rgba(255,255,255,0.12), 0 18px 60px rgba(0,0,0,0.45)",
+ overflow: "hidden",
+ display: "flex",
+ flexDirection: "column",
+ }}
+ >
+ <div
+ style={{
+ height: "7%",
+ display: "flex",
+ alignItems: "center",
+ gap: "1.1%",
+ padding: "0 1.6%",
+ background: "linear-gradient(180deg, #4A4A4C 0%, #3A3A3C 100%)",
+ borderBottom: "1px solid rgba(0,0,0,0.35)",
+ flexShrink: 0,
+ }}
+ >
+ <span style={{ width: "1.35%", aspectRatio: "1", borderRadius: "50%", background: "#FF5F57", boxShadow: "inset 0 0 0 0.5px rgba(0,0,0,0.25)" }} />
+ <span style={{ width: "1.35%", aspectRatio: "1", borderRadius: "50%", background: "#FEBC2E", boxShadow: "inset 0 0 0 0.5px rgba(0,0,0,0.25)" }} />
+ <span style={{ width: "1.35%", aspectRatio: "1", borderRadius: "50%", background: "#28C840", boxShadow: "inset 0 0 0 0.5px rgba(0,0,0,0.25)" }} />
+ </div>
+ <div style={{ flex: 1, overflow: "hidden", background: "#000", minHeight: 0 }}>
+ {resolved ? (
+ <img
+ src={resolved}
+ alt={alt}
+ style={{ display: "block", width: "100%", height: "100%", objectFit: "cover", objectPosition: "top" }}
+ draggable={false}
+ />
+ ) : hideEmpty ? null : (
+ <EmptySlot />
+ )}
+ </div>
+ </div>
+ </div>
+ );
+}
+
export function IPad({ src, alt = "", style, hideEmpty }: FrameProps) {
const resolved = img(src);
return (
diff --git a/skills/app-store-screenshots/template/src/components/editor/sidebar.tsx b/skills/app-store-screenshots/template/src/components/editor/sidebar.tsx
index d5b3e9e..fee5bbd 100644
--- a/skills/app-store-screenshots/template/src/components/editor/sidebar.tsx
+++ b/skills/app-store-screenshots/template/src/components/editor/sidebar.tsx
@@ -120,7 +120,17 @@ export function Sidebar({
type="button"
className="w-full"
variant="default"
- onClick={() => onAdd(newSlide(device === "feature-graphic" ? "feature-graphic" : "device-bottom"))}
+ onClick={() =>
+ onAdd(
+ newSlide(
+ device === "feature-graphic"
+ ? "feature-graphic"
+ : device === "mac"
+ ? "split-landscape"
+ : "device-bottom",
+ ),
+ )
+ }
disabled={disabled}
>
<Plus className="h-4 w-4" /> Add screen
diff --git a/skills/app-store-screenshots/template/src/components/editor/slide-canvas.tsx b/skills/app-store-screenshots/template/src/components/editor/slide-canvas.tsx
index 733ebb3..49332c3 100644
--- a/skills/app-store-screenshots/template/src/components/editor/slide-canvas.tsx
+++ b/skills/app-store-screenshots/template/src/components/editor/slide-canvas.tsx
@@ -17,11 +17,13 @@ import {
CANVAS,
CARPLAY_RATIO,
IPAD_RATIO,
+ MAC_RATIO,
MK_RATIO,
TV_RATIO,
WATCH_RATIO,
carPlayW,
ipadW,
+ macW,
phoneW,
phoneWSmall,
tabletLW,
@@ -41,6 +43,7 @@ import {
AndroidTabletL,
AndroidTabletP,
IPad,
+ MacWindow,
Phone,
} from "./device-frames";
@@ -68,6 +71,7 @@ function getFrameAspect(device: Device, orientation: Orientation) {
case "tvos": return TV_RATIO;
case "watchos": return WATCH_RATIO;
case "carplay": return CARPLAY_RATIO;
+ case "mac": return MAC_RATIO;
case "android-7":
case "android-10": return orientation === "landscape" ? 8 / 5 : 5 / 8;
default: return 1;
@@ -90,6 +94,8 @@ export function getFrameForDevice(device: Device, orientation: Orientation): {
return { Comp: AppleWatch, widthFn: watchW, smallWidthFn: (cW, cH) => watchW(cW, cH, 0.42) };
case "carplay":
return { Comp: CarPlayScreen, widthFn: carPlayW, smallWidthFn: (cW, cH) => carPlayW(cW, cH, 0.7) };
+ case "mac":
+ return { Comp: MacWindow, widthFn: macW, smallWidthFn: (cW, cH) => macW(cW, cH, 0.7) };
case "android":
return { Comp: AndroidPhone, widthFn: phoneW, smallWidthFn: phoneWSmall };
case "android-7":
diff --git a/skills/app-store-screenshots/template/src/components/editor/toolbar.tsx b/skills/app-store-screenshots/template/src/components/editor/toolbar.tsx
index fbe1d2d..aa69ab7 100644
--- a/skills/app-store-screenshots/template/src/components/editor/toolbar.tsx
+++ b/skills/app-store-screenshots/template/src/components/editor/toolbar.tsx
@@ -25,7 +25,7 @@ import {
themeById,
} from "@/lib/constants";
import { detectPlatform } from "@/lib/defaults";
-import type { Device, Orientation, Theme } from "@/lib/types";
+import type { Device, Orientation, Platform, Theme } from "@/lib/types";
type Props = {
appName: string;
@@ -56,8 +56,9 @@ export function Toolbar(props: Props) {
const [resetOpen, setResetOpen] = React.useState(false);
// Track last device per platform so iOS/Android tabs preserve user's choice.
- const lastByPlatform = React.useRef<{ ios: Device; android: Device }>({
+ const lastByPlatform = React.useRef<Record<Platform, Device>>({
ios: platform === "ios" ? props.device : "iphone",
+ macos: platform === "macos" ? props.device : "mac",
android: platform === "android" ? props.device : "android",
});
React.useEffect(() => {
@@ -122,7 +123,7 @@ export function Toolbar(props: Props) {
value={platform}
onValueChange={(p) => {
if (props.busy) return;
- const next = p === "ios" ? lastByPlatform.current.ios : lastByPlatform.current.android;
+ const next = lastByPlatform.current[p as Platform];
props.setDevice(next);
}}
>
@@ -130,6 +131,9 @@ export function Toolbar(props: Props) {
<TabsTrigger value="ios" className="h-7 px-3 text-xs" disabled={props.busy}>
iOS
</TabsTrigger>
+ <TabsTrigger value="macos" className="h-7 px-3 text-xs" disabled={props.busy}>
+ Mac
+ </TabsTrigger>
<TabsTrigger value="android" className="h-7 px-3 text-xs" disabled={props.busy}>
Android
</TabsTrigger>
@@ -153,6 +157,8 @@ export function Toolbar(props: Props) {
<SelectItem value="watchos">{DEVICE_LABEL.watchos}</SelectItem>
<SelectItem value="carplay">{DEVICE_LABEL.carplay}</SelectItem>
</>
+ ) : platform === "macos" ? (
+ <SelectItem value="mac">{DEVICE_LABEL.mac}</SelectItem>
) : (
<>
<SelectItem value="android">{DEVICE_LABEL.android}</SelectItem>
diff --git a/skills/app-store-screenshots/template/src/lib/constants.ts b/skills/app-store-screenshots/template/src/lib/constants.ts
index 008bfe2..4b73de8 100644
--- a/skills/app-store-screenshots/template/src/lib/constants.ts
+++ b/skills/app-store-screenshots/template/src/lib/constants.ts
@@ -13,6 +13,7 @@ export const CANVAS: Record<Device, { w: number; h: number; wL?: number; hL?: nu
// It is submitted in an iPhone slot, which accepts landscape, so the canvas is
// the 6.9" iPhone size turned sideways to fit a wide head unit.
carplay: { w: 2868, h: 1320 },
+ mac: { w: 2880, h: 1800 },
android: { w: 1080, h: 1920 },
"android-7": { w: 1200, h: 1920, wL: 1920, hL: 1200 },
"android-10": { w: 1600, h: 2560, wL: 2560, hL: 1600 },
@@ -62,6 +63,12 @@ export const EXPORT_SIZES: Record<Device, ExportSize[]> = {
{ label: '6.3" landscape', w: 2622, h: 1206 },
{ label: '6.1" landscape', w: 2436, h: 1125 },
],
+ mac: [
+ { label: "2880×1800", w: 2880, h: 1800 },
+ { label: "2560×1600", w: 2560, h: 1600 },
+ { label: "1440×900", w: 1440, h: 900 },
+ { label: "1280×800", w: 1280, h: 800 },
+ ],
android: [{ label: "Phone", w: 1080, h: 1920 }],
"android-7": [{ label: '7" Portrait', w: 1200, h: 1920 }],
"android-10": [{ label: '10" Portrait', w: 1600, h: 2560 }],
@@ -97,6 +104,7 @@ export const WATCH_RATIO = 422 / 514; // Apple Watch Ultra, the largest accep
// Widescreen 1920x720, Portrait 900x1200, Standard Video Playback 1920x1080.
// "Standard" is the default here; change this constant to target another.
export const CARPLAY_RATIO = 800 / 480;
+export const MAC_RATIO = 16 / 10; // Mac App Store 16:10
// iPhone mockup screen overlay (pre-measured)
export const PHONE_SCREEN = {
@@ -135,6 +143,9 @@ export function watchW(cW: number, cH: number, clamp = 0.52) {
export function carPlayW(cW: number, cH: number, clamp = 0.86) {
return Math.min(clamp, 0.58 * (cH / cW) * CARPLAY_RATIO);
}
+export function macW(cW: number, cH: number, clamp = 0.86) {
+ return Math.min(clamp, 0.82 * (cH / cW) * MAC_RATIO);
+}
// ---------- Themes ----------
export const DEFAULT_THEME_ID: ThemeId = "clean-light";
@@ -409,6 +420,7 @@ export const DEVICE_LABEL: Record<Device, string> = {
tvos: "Apple TV",
watchos: "Apple Watch",
carplay: "CarPlay (iPhone slot)",
+ mac: "Mac",
android: "Android Phone",
"android-7": 'Android 7" Tablet',
"android-10": 'Android 10" Tablet',
diff --git a/skills/app-store-screenshots/template/src/lib/defaults.ts b/skills/app-store-screenshots/template/src/lib/defaults.ts
index ed8dd97..8b49d35 100644
--- a/skills/app-store-screenshots/template/src/lib/defaults.ts
+++ b/skills/app-store-screenshots/template/src/lib/defaults.ts
@@ -121,6 +121,47 @@ function tabletStarter(kind: "7" | "10"): Slide[] {
];
}
+function macStarter(): Slide[] {
+ return [
+ {
+ id: nid(),
+ layout: "hero",
+ label: en("MEET YOUR APP"),
+ headline: en("Made for\nyour Mac."),
+ screenshot: "",
+ },
+ {
+ id: nid(),
+ layout: "split-landscape",
+ label: en("FEATURE 01"),
+ headline: en("Find it\nanyway."),
+ screenshot: "",
+ },
+ {
+ id: nid(),
+ layout: "device-bottom",
+ label: en("FEATURE 02"),
+ headline: en("One shortcut\naway."),
+ screenshot: "",
+ },
+ {
+ id: nid(),
+ layout: "device-top",
+ label: en("FEATURE 03"),
+ headline: en("Nothing leaves\nthis Mac."),
+ screenshot: "",
+ inverted: true,
+ },
+ {
+ id: nid(),
+ layout: "no-device",
+ label: en("MORE"),
+ headline: en("And so\nmuch more."),
+ screenshot: "",
+ },
+ ];
+}
+
function fgStarter(): Slide[] {
return [
{
@@ -150,6 +191,7 @@ export const DEFAULT_PROJECT: ProjectState = {
tvos: tvStarter(),
watchos: watchStarter(),
carplay: carplayStarter(),
+ mac: macStarter(),
"android-7": tabletStarter("7"),
"android-10": tabletStarter("10"),
"feature-graphic": fgStarter(),
@@ -170,6 +212,7 @@ const IOS_DEVICES: ReadonlySet<Device> = new Set<Device>([
"iphone", "ipad", "tvos", "watchos", "carplay",
]);
-export function detectPlatform(device: Device): "ios" | "android" {
+export function detectPlatform(device: Device): "ios" | "macos" | "android" {
+ if (device === "mac") return "macos";
return IOS_DEVICES.has(device) ? "ios" : "android";
}
diff --git a/skills/app-store-screenshots/template/src/lib/types.ts b/skills/app-store-screenshots/template/src/lib/types.ts
index 78d6433..2c2a57c 100644
--- a/skills/app-store-screenshots/template/src/lib/types.ts
+++ b/skills/app-store-screenshots/template/src/lib/types.ts
@@ -4,6 +4,7 @@ export type Device =
| "tvos"
| "watchos"
| "carplay"
+ | "mac"
| "android"
| "android-7"
| "android-10"
@@ -11,7 +12,7 @@ export type Device =
export type Orientation = "portrait" | "landscape";
-export type Platform = "ios" | "android";
+export type Platform = "ios" | "macos" | "android";
// Layouts the editor can render. Vary across slides for visual rhythm.
export type SlideLayout =