Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

fix(icons): align mobile platform artwork

Rahmanaac4bad04843
diff --git a/app/globals.css b/app/globals.css
index 54bbdd5d..d9266c06 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -303,9 +303,9 @@ body {
border-radius: var(--shell-icon-radius);
}
-/* Platform-specific generated app artwork. Only the active desktop shell's
- image is painted; other shells keep the generic fallback. This keeps one app
- identity while letting macOS and Windows use genuinely different icon art. */
+/* Platform-family app artwork. Apple surfaces share the macOS artwork family
+ (macOS + iOS), while Microsoft/Material surfaces share the Windows artwork
+ family (Windows + Android). Dashboard keeps the generic fallback. */
.shell-artwork {
position: absolute;
inset: 0;
@@ -318,9 +318,13 @@ body {
}
.shell-artwork-macos, .shell-artwork-windows { display: none; }
[data-shell="macos"] .shell-artwork-default,
-[data-shell="windows"] .shell-artwork-default { display: none; }
-[data-shell="macos"] .shell-artwork-macos { display: block; }
-[data-shell="windows"] .shell-artwork-windows { display: block; }
+[data-shell="ios"] .shell-artwork-default,
+[data-shell="windows"] .shell-artwork-default,
+[data-shell="android"] .shell-artwork-default { display: none; }
+[data-shell="macos"] .shell-artwork-macos,
+[data-shell="ios"] .shell-artwork-macos { display: block; }
+[data-shell="windows"] .shell-artwork-windows,
+[data-shell="android"] .shell-artwork-windows { display: block; }
/* ── iOS component parity (scoped to the iOS surface ONLY) ─────────────────
Shared primitives (Switch, Segmented) carry accent-tinted states that suit
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index f89aaef4..6de05d22 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -8,6 +8,7 @@ this is the *what*, and it is what Settings → About shows as “What's new”.
**Fixed**
+- `icons` align mobile platform artwork
- `responsive` harden mobile and landscape layouts
- `git` isolate push-gate test repositories
- `settings` improve MCP UI and activity scrolling
diff --git a/frontend/slices/os-shell/brand-marks.tsx b/frontend/slices/os-shell/brand-marks.tsx
index 1844f19e..75c84ce0 100644
--- a/frontend/slices/os-shell/brand-marks.tsx
+++ b/frontend/slices/os-shell/brand-marks.tsx
@@ -3,28 +3,10 @@
// Raster app artwork is intentionally WebP. Toolbar/menu/control glyphs stay
// vector (Lucide), while app icons are allowed to carry richer platform-specific
// illustration. macOS and Windows do NOT share the same art direction: the shell
-// chooses the correct image through data-shell CSS. Other shells keep the generic
-// fallback artwork until they receive their own generated set.
+// chooses the correct image through data-shell CSS. Mobile intentionally reuses
+// those families: iOS = macOS artwork, Android = Windows artwork.
import type { AppIconComponent } from "@/features/appshell";
-function mark(src: string): AppIconComponent {
- const Mark: AppIconComponent = ({ className: cls }) => (
- // Tiny fixed local artwork; next/image would add optimizer overhead with no
- // visual or transfer-size win at these dimensions.
- // eslint-disable-next-line @next/next/no-img-element
- <img
- src={src}
- alt=""
- aria-hidden
- className={cls ?? "size-full object-contain"}
- draggable={false}
- decoding="async"
- />
- );
- Mark.displayName = `AppArtwork(${src})`;
- return Mark;
-}
-
/** One app identity with distinct native-looking artwork per desktop shell. */
function platformMark(fallback: string, macos: string, windows: string): AppIconComponent {
const Mark: AppIconComponent = ({ className: cls }) => {
@@ -50,7 +32,7 @@ export const APP_MARKS: Record<string, AppIconComponent> = {
"/app-icons/macos/files.webp",
"/app-icons/windows/files.webp",
),
- "camoufox-browser": mark("/brand/official/camoufox.webp"),
+ "camoufox-browser": platformMark("/brand/official/camoufox.webp", "/app-icons/macos/camoufox.webp", "/app-icons/windows/camoufox.webp"),
"code-editor": platformMark(
"/app-icons/code.webp",
"/app-icons/macos/code.webp",
@@ -96,8 +78,8 @@ export const APP_MARKS: Record<string, AppIconComponent> = {
"/app-icons/macos/docs.webp",
"/app-icons/windows/docs.webp",
),
- hermes: mark("/brand/official/hermes.webp"),
- openclaw: mark("/brand/official/openclaw.webp"),
+ hermes: platformMark("/brand/official/hermes.webp", "/app-icons/macos/hermes.webp", "/app-icons/windows/hermes.webp"),
+ openclaw: platformMark("/brand/official/openclaw.webp", "/app-icons/macos/openclaw.webp", "/app-icons/windows/openclaw.webp"),
};
export const HermesMark = APP_MARKS.hermes;