Repository navigation
Description
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#0e1116with light stroke, light tile#f2f4f7with dark stroke; minimum 16 px glyph / 24 px tile), SVG sources indocs/design/angular/logo/. The header use (20 px mark + "SMART SSH" wordmark) is indocs/design/angular/screens/Main.png. - App icons:
apps/smart-ssh-community/icons/(desktop PNGs32x32.png,64x64.png,128x128.png,128x128@2x.png,icon.png,icon.icns,icon.ico, WindowsSquare*Logo.png,StoreLogo.png, iOSicons/ios/AppIcon-*.png), referenced inapps/smart-ssh-community/tauri.conf.json:43-49. - Android:
icons/android/is the source of truth with a byte-identical copy ingen/android/app/src/main/res/(checked byapps/smart-ssh-community/tests/android_launcher_icons.rs), generated byscripts/generate-android-icons.mjsfromicons/icon.pngandicon-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 oficon-source.png. Background colour todayicons/android/values/ic_launcher_background.xml(#1e293b).docs/android-build.md("Launcher icon") forbidstauri iconfor Android. - Favicon:
apps/smart-ssh-community/frontend/public/favicon.svgis 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 insrc/,e2e/orindex.html).
Requirements
- Source of truth:
apps/smart-ssh-community/icons/logo.svg(tile, dark variant) andicons/logo-mark.svg(glyph only, stroke 9 u, for 16-32 px), copied fromdocs/design/angular/logo/. - Regenerate all desktop and iOS icons from the tile SVG with
tauri icon(outputicons/), keep the file names referenced intauri.conf.json. - Android: adapt
scripts/generate-android-icons.mjsto render the foreground fromicons/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; regenerateicons/android/and its copy ingen/android/…/res/; updateic_launcher_background.xmlanddocs/android-build.md. public/favicon.svg: the glyph-only mark (dark tile) per the design's favicon row.- New
Logocomponent insrc/components/ui/Logo.tsx(exported fromui/index.ts):variant: "mark" | "lockup",size; inline SVG whose stroke usescurrentColor/fg-strongand whose squares use theaccenttoken, so it follows both themes;lockupadds the "SMART SSH" wordmark in Barlow Condensed 700 uppercase. Decorative when next to visible text (aria-hidden), otherwiserole="img"witharia-label="Smart SSH". - Remove the unused template assets listed in Context after confirming with
git grepthat 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.svgandicons/logo-mark.svgexist and matchdocs/design/angular/logo/direction B. - Every file referenced in
tauri.conf.jsonbundle.iconand everyicons/ios/*andicons/Square*/StoreLogo.pngfile 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.rspasses (source andgen/copy identical);scripts/generate-android-icons.mjsregenerates them reproducibly. -
public/favicon.svgis the new glyph; no Vite template asset remains inpublic/orsrc/assets/unless referenced. -
Logorenders 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.mddescribes the new icon inputs. - Relevant automated tests pass
Technical Notes
tauri iconoverwrites the Android template set whengen/androidexists; run it with an output directory (-o icons) or restoreicons/androidandgen/android/…/resafterwards, then run the Android script.- The colour guard (
src/theme/colourGuard.test.ts) forbids hex colours in TS/TSX: theLogocomponent usesstroke="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
- Part of the Angular redesign (docs/design/angular/). Blocked by: Redesign: shared SVG icon set replaces emoji and glyph icons #1363 (icon-set) — shares
ui/index.ts. Blocks: Redesign: title bar with logo and main navigation, session tabs with square status markers #1365 (titlebar-session-tabs), Redesign: start screens (unlock card with grid background, start-up prompts, first-run notice) #1383 (startup-unlock). - Android launcher icons were introduced in Android: launcher icon shows the Smart SSH logo instead of the default framework icon #980.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
feat(frontend): Trace logo as app icon, favicon and Logo component (#…
test(android): expect Trace tile background in launcher icon test (#1364
docs(android): use full paths in launcher icon section (#1364)
smart-ssh-coder commentedon Nov 20, 2026
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.
smart-ssh-reviewer commentedon Nov 20, 2026
Review: 1. Logo.tsx:51-57: the
lockupwordmark 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.smart-ssh-coder commentedon Nov 20, 2026
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.
smart-ssh-reviewer commentedon Nov 20, 2026
Review: 1. Logo.tsx:51-57 (still open, head unchanged since the last review): the
lockupwordmark 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".fix(frontend): compact SMART SSH lockup, full wordmark optional (#1364)
smart-ssh-coder commentedon Nov 20, 2026
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.
smart-ssh-reviewer commentedon Nov 20, 2026
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:
feat: Trace logo as app icon, favicon and Logo component (#1402)
smart-ssh-coordinator commentedon Nov 20, 2026
Merged and branch deleted: PR #1402 (squash) in develop