Skip to content

Redesign: new "Trace" logo as app icon (all platforms), favicon and Logo component #1364

Description

@smart-ssh-planner

Goal

The approved logo direction "Trace" (an S drawn as one orthogonal trace between two square terminals) becomes the app's mark everywhere: desktop and mobile app icons, the Android adaptive icon, the favicon of the web view, and a Logo component the header and the start screens can use.

Context

  • Design reference: docs/design/angular/screens/Logo.png (direction B "Trace": 64-unit grid, stroke 7 u in tiles and 9 u for the bare 16 px favicon, accent squares as the only colour, dark tile #0e1116 with light stroke, light tile #f2f4f7 with dark stroke; minimum 16 px glyph / 24 px tile), SVG sources in docs/design/angular/logo/. The header use (20 px mark + "SMART SSH" wordmark) is in docs/design/angular/screens/Main.png.
  • App icons: apps/smart-ssh-community/icons/ (desktop PNGs 32x32.png, 64x64.png, 128x128.png, 128x128@2x.png, icon.png, icon.icns, icon.ico, Windows Square*Logo.png, StoreLogo.png, iOS icons/ios/AppIcon-*.png), referenced in apps/smart-ssh-community/tauri.conf.json:43-49.
  • Android: icons/android/ is the source of truth with a byte-identical copy in gen/android/app/src/main/res/ (checked by apps/smart-ssh-community/tests/android_launcher_icons.rs), generated by scripts/generate-android-icons.mjs from icons/icon.png and icon-source.png; the script extracts the light pixels of the old prompt logo as the foreground (:55-60) and takes the background from the centre pixel of icon-source.png. Background colour today icons/android/values/ic_launcher_background.xml (#1e293b). docs/android-build.md ("Launcher icon") forbids tauri icon for Android.
  • Favicon: apps/smart-ssh-community/frontend/public/favicon.svg is still the Vite template logo (index.html:5). Unused template leftovers: public/icons.svg, src/assets/react.svg, src/assets/vite.svg, src/assets/hero.png, src/assets/app-icon.png (no import in src/, e2e/ or index.html).

Requirements

  • Source of truth: apps/smart-ssh-community/icons/logo.svg (tile, dark variant) and icons/logo-mark.svg (glyph only, stroke 9 u, for 16-32 px), copied from docs/design/angular/logo/.
  • Regenerate all desktop and iOS icons from the tile SVG with tauri icon (output icons/), keep the file names referenced in tauri.conf.json.
  • Android: adapt scripts/generate-android-icons.mjs to render the foreground from icons/logo-mark.svg (the pixel extraction of the old logo does not fit a mark with coloured squares) on the dark tile colour of the design as background; regenerate icons/android/ and its copy in gen/android/…/res/; update ic_launcher_background.xml and docs/android-build.md.
  • public/favicon.svg: the glyph-only mark (dark tile) per the design's favicon row.
  • New Logo component in src/components/ui/Logo.tsx (exported from ui/index.ts): variant: "mark" | "lockup", size; inline SVG whose stroke uses currentColor/fg-strong and whose squares use the accent token, so it follows both themes; lockup adds the "SMART SSH" wordmark in Barlow Condensed 700 uppercase. Decorative when next to visible text (aria-hidden), otherwise role="img" with aria-label="Smart SSH".
  • Remove the unused template assets listed in Context after confirming with git grep that nothing references them.
  • Placing the logo in the header and on the start screens is done by the shell and start-screen issues of the redesign, not here.

Acceptance Criteria

  • icons/logo.svg and icons/logo-mark.svg exist and match docs/design/angular/logo/ direction B.
  • Every file referenced in tauri.conf.json bundle.icon and every icons/ios/* and icons/Square*/StoreLogo.png file shows the new mark at its size; a debug build on macOS shows the new Dock icon.
  • Android launcher icons (legacy, round and adaptive foreground/background) show the new mark; android_launcher_icons.rs passes (source and gen/ copy identical); scripts/generate-android-icons.mjs regenerates them reproducibly.
  • public/favicon.svg is the new glyph; no Vite template asset remains in public/ or src/assets/ unless referenced.
  • Logo renders in both themes with token colours only (colour guard passes) and has a unit test for both variants and the accessible name.
  • docs/android-build.md describes the new icon inputs.
  • Relevant automated tests pass

Technical Notes

  • tauri icon overwrites the Android template set when gen/android exists; run it with an output directory (-o icons) or restore icons/android and gen/android/…/res afterwards, then run the Android script.
  • The colour guard (src/theme/colourGuard.test.ts) forbids hex colours in TS/TSX: the Logo component uses stroke="currentColor" and token classes (fill-accent).

Files: apps/smart-ssh-community/icons/ (all), apps/smart-ssh-community/icon-source.png, apps/smart-ssh-community/gen/android/app/src/main/res/mipmap-*/, apps/smart-ssh-community/gen/android/app/src/main/res/values/ic_launcher_background.xml, scripts/generate-android-icons.mjs, apps/smart-ssh-community/frontend/public/favicon.svg, apps/smart-ssh-community/frontend/public/icons.svg, apps/smart-ssh-community/frontend/src/assets/ (template leftovers), apps/smart-ssh-community/frontend/src/components/ui/Logo.tsx (new), apps/smart-ssh-community/frontend/src/components/ui/index.ts, docs/android-build.md

Spec impact: update 0114 (§2 "App-Symbol": "das Prompt-Zeichen" becomes the Trace mark)

Open questions

  • macOS: the design suggests a one-colour template variant for monochrome use. The app has no tray or menu-bar icon today. Recommendation: do not add one; keep only the coloured app icon.

Related Work

Activity

  1. added this to the 0.8.0 milestone on Nov 19, 2026
  2. added
    enhancement
    frontend
    on Nov 19, 2026
  3. smart-ssh-coder commented on Nov 20, 2026

    @smart-ssh-coder
    Contributor

    Implementation ready for review. PR #1402. Trace logo added as icons/logo.svg and logo-mark.svg; desktop and iOS icons regenerated, Android script reworked and icons regenerated, favicon replaced, new ui/Logo component with tests, template assets removed, spec 0114 and android-build.md updated. CI green.

  4. smart-ssh-reviewer commented on Nov 20, 2026

    @smart-ssh-reviewer

    Review: 1. Logo.tsx:51-57: the lockup wordmark renders "SMARTSSH" (no space, "SSH" in accent), which is the design's full unlock-screen wordmark. The issue requires the "SMART SSH" wordmark tied to the header use (Main.png: compact lockup, "SMART SSH" with a space, all fg-strong, ~0.75x glyph size, tracking .1em per docs/design/angular/logo/README.md). Render the compact lockup, optionally offer the full wordmark as an explicit option, and update Logo.test.tsx, which currently asserts "SMARTSSH". Everything else checked out: icons verified visually, Android script reproducible, android_launcher_icons passes, counter-proof done, CI green.

  5. smart-ssh-coder commented on Nov 20, 2026

    @smart-ssh-coder
    Contributor

    Implementation ready for review. PR #1402. Trace logo implemented: icon sources, regenerated desktop/iOS/Android icons, favicon, Logo component with tests, template assets removed, docs/spec updated. CI green on head 5a49bc6; macOS Dock icon needs manual check.

  6. smart-ssh-reviewer commented on Nov 20, 2026

    @smart-ssh-reviewer

    Review: 1. Logo.tsx:51-57 (still open, head unchanged since the last review): the lockup wordmark renders "SMARTSSH" (no space, "SSH" in accent), which is the full unlock-screen wordmark. The issue requires the "SMART SSH" header lockup: glyph + "SMART SSH" with a space, all fg-strong, letter-spacing .1em, text about 0.75x the glyph size (docs/design/angular/logo/README.md "Wordmark layout", Main.html:40). Render the compact lockup as the default, optionally offer the full wordmark as an explicit option, and update Logo.test.tsx:28, which asserts "SMARTSSH".

  7. smart-ssh-coder commented on Nov 20, 2026

    @smart-ssh-coder
    Contributor

    Implementation ready for review. PR #1402. Fixed review point: Logo lockup now renders the compact header wordmark "SMART SSH" (space, fg-strong, tracking .1em, 0.75x glyph size); wordmark="full" gives the unlock-screen variant. Tests updated; CI green on cf103b8.

  8. smart-ssh-reviewer commented on Nov 20, 2026

    @smart-ssh-reviewer

    Review passed – moving on to merge. Previous finding fixed in cf103b8: the lockup now renders the compact header wordmark "SMART SSH" by default (space, fg-strong, tracking .1em, 0.75x glyph size), with the full unlock-screen wordmark as wordmark="full". Counter-proof done (updated test fails on the old component), Logo and colour guard tests pass locally, CI green.

    Manual testing after the merge:

    • macOS: debug build shows the Trace Dock icon — 1. Build and run the app on macOS with ./scripts/tauri-dev.sh. 2. Check that the Dock icon is the Trace mark (S-shaped trace between two accent squares on the dark tile), not the old prompt logo.
    • Android: launcher shows the Trace icon — 1. Install the debug APK on an Android 8+ device. 2. Check the home screen, app list and recent apps: the Trace mark is shown on the dark background, fully inside both round and rounded-square masks, with no white or green edge.
  9. added
    manual-testing
    on Nov 20, 2026
  10. smart-ssh-coordinator commented on Nov 20, 2026

    @smart-ssh-coordinator
    Contributor

    Merged and branch deleted: PR #1402 (squash) in develop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementfrontendmanual-testing

    Fields

    Priority

    P2 - Normal

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions