Skip to content

assets: rubash logo — cyan rotor-r engine mark - #988

Merged
caomengxuan666 merged 2 commits into
masterfrom
feat/logo
Oct 22, 2026
Merged

caomengxuan666 merged 2 commits into
masterfrom
feat/logo

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

Summary

Rubash now has a logo, completing the unixwin shell-family brand line (niubash bull, WinuxCmd W).

Family DNA carried over — dark rounded-square tile, one accent color, bold geometric strokes with round caps, a terminal-cursor element. Family slot claimed — cyan (#08f8f8 → #38b6ff), the unused third of the niubash banner gradient: WinuxCmd = green, niubash = gold, rubash = cyan.

Identity — the mark reads as engine core, not a terminal app: a segmented cyan rotor ring around a lowercase r, with a block cursor. The rotor is the engine/flywheel niubash embeds; the cursor keeps it in the shell family.

Recommended: A — Rotor r

rotor

Most ownable silhouette of the three — the broken ring reads "machine in motion" and stays legible at favicon size, and it doesn't reuse the rounded-inner-frame language WinuxCmd already occupies (see B). Committed as assets/rubash-icon.svg.

Alternate B — Core chip

chip

Pins + die = "the embeddable component". On-message for an engine that lives inside niubash, but its rounded-rect frame echoes WinuxCmd's inner border, and the pins mush at 16 px. Kept in assets/proposals/.

Alternate C — Reborn flame

flame

The r + Bourne-again rebirth pun as a negative-space flame. Nice story, weakest readability — the r disappears below ~48 px and "flame" pulls toward app/energy rather than engine/core. Kept in assets/proposals/.

Deliverables

  • assets/rubash-icon.svg — hand-drawn vector master (no raster traces)
  • assets/rubash-icon-512.png / -256.png / -64.png — RGBA renders
  • assets/favicon.ico — 16/32/48 px frames from a bold-stroke variant
  • assets/rubash-lockup.svg — horizontal icon + wordmark lockup
  • assets/proposals/ — alternates B and C (SVG + PNG)
  • docs/design/brand-assets.md — palette, files, usage rules
  • README.md / README.zh-CN.md header now shows the lockup

Notes

  • Light/dark: the icon carries its own navy tile, so one asset works on both surfaces; a #2a3a60 hairline keeps the edge visible on dark.
  • Cargo.toml: unchanged — crates.io removed badges support and has no icon field; niubash's manifest confirms no family convention to copy.
  • Verified by rendering: contact-sheet screenshots at 256/64/32/16 px on #fff and #0d1117, plus a README mock on both backgrounds.

Test plan

  • SVG renders on light and dark backgrounds (Edge headless)
  • 16/32/48 px favicon frames legible
  • README relative paths resolve (assets/…)
  • Reviewer picks final direction (A recommended)

Generated with Devin

Completes the unixwin shell-family brand line (niubash gold bull,
WinuxCmd green W): dark rounded tile, one accent color, geometric
round-cap strokes, cursor element. Rubash takes cyan (#08f8f8 ->
#38b6ff), the unused third of the niubash banner gradient.

The mark reads as the engine core: a segmented rotor ring around a
lowercase r with a block cursor — the engine embedded inside niubash,
not a terminal app. Tile + hairline works on light and dark surfaces;
favicon.ico frames use a bold-stroke variant for 16px legibility.

Ships SVG master, 512/256/64 PNG renders, favicon.ico, horizontal
lockup (now on both READMEs), and two alternate directions under
assets/proposals/ (chip, reborn-flame) for the record.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

@caomengxuan666 caomengxuan666 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technical review of the assets (design choice deliberately left to the owner)

Verified against feat/logo @ de0a5ea in a throwaway worktree; renders re-done independently with PIL (not reusing the PR's own screenshots).

Checks that pass

Check Result
SVG well-formedness All 5 (rubash-icon.svg, rubash-lockup.svg, proposals/a/b/c) parse as valid XML; self-contained (no external refs, no scripts); masters draw the tile full-canvas
rubash-icon-512.png 512×512, 8-bit RGBA, full-bleed alpha
rubash-icon-64.png 64×64, 8-bit RGBA, full-bleed alpha
favicon.ico Valid ICO, exactly 3 frames: 16/32/48 @ 32 bpp; 16 px frame is the bold-stroke variant and reads clearly
Light/dark Single-asset strategy (self-carried navy tile + #2a3a60 hairline, present in the SVG) — re-rendered on #fff and #0d1117 at 16 px: contrast holds on both
README mount Both READMEs add the same 4-line header block referencing assets/rubash-lockup.svg; path exists at repo root on the head branch → GitHub rendering resolves
16 px legibility Independently downscaled 512/64 and the ICO 16 px frame on both backgrounds: segmented rotor ring + lowercase r remain distinguishable — self-report confirmed
Diff scope Exactly the 15 declared files (2 READMEs + assets/** + docs/design/brand-assets.md). No Cargo.toml / Cargo.lock / src churn
proposals B/C SVG + PNG present and parse; SVGs differ from A in geometry as claimed
docs/design/brand-assets.md File table matches the actual deliverables; palette matches SVG source values

One blocker found: the 256 px rasters are half-cropped

  • assets/rubash-icon-256.png: alpha bounding box is (118, 0, 256, 256) — content occupies only the right ~54 % of the canvas and is clipped at the right edge. 512 and 64 exports of the same master are correctly full-bleed, so this is a rasterizer-viewport bug in the 256 export, not a source problem.
  • Same defect in all three proposal PNGs (proposals/rubash-icon-a-rotor.png, -b-chip.png, -c-flame.png, all bbox (118, 0, 256, 256)). Note proposals/rubash-icon-a-rotor.png is byte-identical (md5 e9950825…) to rubash-icon-256.png — expected since A is the promoted design, but it means one bad export was copied into five files.
  • Impact: any consumer using -256.png (e.g. the PR-description embeds, marketplace/social uploads expecting a square) gets an off-center, right-cropped mark. Suggested fix: re-export all four 256 px rasters from the SVG masters (or downscale the known-good 512).

Minor note (non-blocking)

rubash-lockup.svg sets the wordmark/tagline via <text> with system font stacks (Segoe UI/Consolas, …). GitHub <img> SVGs can't fetch external fonts, so rendering varies with viewer-installed fonts; text metrics stay inside the 780×192 canvas even under fallback, so it degrades gracefully. Flagging only so it's a known property; converting to outlines is optional.

Verdict

Not merging. Two reasons, in order: (1) the 256 px raster defect must be re-exported first; (2) final direction A/B/C is the owner's call per the PR's own checklist. Everything else is technically sound.

The four 256px PNGs were rendered with the content shifted right
(alpha bbox (118,0,256,256), right-edge clipped). Reproduced the
cause: Chromium headless --screenshot at --window-size=256,256
misrenders the viewport while 512/64 come out correctly.

Fix pipeline: render/derive a correct 512px master, then
premultiplied-alpha LANCZOS downscale to 256.
- rubash-icon-256.png / proposals/a-rotor.png: downscaled from the
  verified rubash-icon-512.png (byte-identical between the two, as
  before).
- proposals/b-chip.png, c-flame.png: SVG masters re-rendered at 512
  (Chromium 512 output is pixel-identical to the shipped icon-512),
  then downscaled.

All four now: 256x256 RGBA, alpha bbox (0,0,256,256). favicon.ico,
lockup SVG and README mounts unchanged.
@caomengxuan666

Copy link
Copy Markdown
Member Author

Follow-up on the 256 px raster blocker from the technical review above — fixed in 1fd6c67.

Root cause confirmed

Reproduced the export bug directly: Chromium headless --screenshot at --window-size=256,256 renders the SVG masters with the content shifted right — producing exactly the reported (118, 0, 256, 256) alpha bbox — while --window-size=512,512 output is pixel-identical (max diff 0) to the shipped rubash-icon-512.png. So the original 256 exports were direct-viewport screenshots hitting a rasterizer/viewport bug at that size; --force-device-scale-factor=1 does not change it.

Fix pipeline

  • rubash-icon-256.png, proposals/rubash-icon-a-rotor.png: premultiplied-alpha LANCZOS downscale of the verified rubash-icon-512.png. The two files remain byte-identical (same invariant as before).
  • proposals/rubash-icon-b-chip.png, -c-flame.png: SVG masters re-rendered at 512 via the same Chromium path proven pixel-exact on the main icon, then downscaled the same way.

Post-fix verification (PIL)

File Size / mode Alpha bbox (before → after) Alpha coverage md5 (prefix)
assets/rubash-icon-256.png 256×256 RGBA (118,0,256,256) → (0,0,256,256) 97.5 % 82ffa70a
assets/proposals/rubash-icon-a-rotor.png 256×256 RGBA (118,0,256,256) → (0,0,256,256) 97.5 % 82ffa70a
assets/proposals/rubash-icon-b-chip.png 256×256 RGBA (118,0,256,256) → (0,0,256,256) 97.5 % 6dad7fbb
assets/proposals/rubash-icon-c-flame.png 256×256 RGBA (118,0,256,256) → (0,0,256,256) 97.5 % 4c8c57be
  • 97.5 % alpha coverage ≈ the rx=48 rounded-tile geometry (transparent corners only); corner alpha = 0, center pixel = navy tile.
  • Consistency vs 512 master: each new 256 differs from an independent downscale of its 512 master only at rounded-corner AA texels (mean diff 0.42) — i.e. same content at half scale.
  • favicon.ico, rubash-lockup.svg, rubash-icon-512.png, rubash-icon-64.png, READMEs: unchanged (diff scope = the 4 PNGs only).

Blocker (1) from the review should now be resolved; direction A/B/C remains the owner's call per the checklist.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant