Skip to content

feat(appearance): add seven app icon themes - #22

Open
Mirr0ch1 wants to merge 1 commit into
RoversX:mainfrom
Mirr0ch1:feat/app-icon-themes
Open

Mirr0ch1 wants to merge 1 commit into
RoversX:mainfrom
Mirr0ch1:feat/app-icon-themes

Conversation

@Mirr0ch1

@Mirr0ch1 Mirr0ch1 commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Settings → Appearance → App Icon has offered the same three choices in a single row. This adds seven themes and lays the row out as a four-column gallery once the catalogue outgrows a 3×3 grid, so the new choices do not crowd out or truncate the existing localized names.

Label Full name
Capsules Agent Capsules
Dawn Dawn Threads
Ivory Warm Ivory
Split Night Split
Ligature Night Ligature
Pure Pure Monolith
Nordic Nordic Monolith

The Chinese labels are 并行脉络、晨曦脉络、暖白哲思、暗夜分屏、暗夜连字、纯粹哲思、静谧哲思. The English labels are the short forms; the full names above are the artwork's titles. Cells are sized for the longest translated label (French and Japanese are the widest), and the grid keeps three columns below ten choices.

The artwork

Each theme is a 1024px .icns (16 through 1024) plus a 128px thumbnail for Settings. The source images were cropped to their rounded face, the backdrop was removed, and the face was placed on the same 824-in-1024 grid the existing icons use, so the seven share one size and position. The 128px copies are what the settings window draws at 44pt; the full-size art is not decoded for the row.

The original three choices (Blue Pill, Red Pill and Classic) are unchanged. The 2048px source images are not committed; the 1024 master is inside each .icns.

Files

  • wezterm-gui/src/native_settings.rs — seven NativeAppIcon variants, their .icns names, and their 128px thumbnails.
  • wezterm-gui/src/settings_window.rs — the label mapping and the grid layout.
  • thinkterm-i18n/i18n/*.ftl — the seven labels in all five shipped locales.
  • assets/icon/ThinkTerm_{capsules,dawn,ivory,split,ligature,pure,nordic}.icns and *_128.png — the new art.
  • ci/deploy.sh — copy every ThinkTerm*.icns into the bundle, instead of only ThinkTerm_simple.icns, so a future choice cannot be added without shipping its file.
  • native_settings tests — a guard that every choice's 128px thumbnail decodes at 128×128, and a round-trip for one of the new names.

Validation

  • cargo check -p wezterm-gui — passed.
  • cargo test -p wezterm-gui --bin thinkterm-gui native_settings::tests — 49 passed, including the new thumbnail guard.
  • cargo test -p thinkterm-i18n — 6 passed; every shipped locale has the complete key set.
  • A live Settings window under Xvfb on Linux, in both light and dark themes: the ten choices form four columns of four, four and two without overlap, selecting a new icon draws the selected ring and writes app_icon = "capsules" to the settings file.
  • The .icns containers were read back on Linux (all eleven entries and sizes decode), but the macOS NSImage path has not been exercised on macOS yet. The first macOS build of this branch is the remaining check; if an icon fails to load there, the .icns entry set is the place to look.

Third-party material

None. The seven app icons are the contributor's own artwork, generated with an image model from the contributor's prompts and then cropped and normalized for this change. No third-party icons, fonts, or other assets are included; the existing icons and glyphs are untouched.

Contributor agreement

By opening this pull request I agree to the ThinkTerm Contributor Agreement version 1.1 for the contributions in it, including the permission for a future MIT release, and confirm that I am authorized to make these grants and have identified any third-party material.

Settings → Appearance → App Icon offered three choices in a single
line. This adds seven more and lays the row out as a four-column gallery
once the catalogue outgrows a 3×3 grid: Capsules, Dawn, Ivory, Split,
Ligature, Pure and Nordic. The original three choices are unchanged.

Each theme is a 1024px .icns plus a 128px thumbnail for Settings. The
source images were cropped to their rounded face, the backdrop was
removed, and the face was placed on the same 824-in-1024 grid the
existing icons use, so the seven share one size and position. The 128px
copies are what the settings window draws at 44pt.

The gallery keeps a cell wide enough for the longest translated name at
the user's settings font size, and drops columns when the window is too
narrow to leave the title a readable column.

ci/deploy.sh now copies every ThinkTerm*.icns from assets/icon into the
app bundle, instead of only the simple icon, so a future choice cannot be
added without also shipping its file.

Validated with cargo check -p wezterm-gui, the native_settings and
thinkterm-i18n tests, and a live Settings window under Xvfb (dark and
light themes, selecting a theme writes app_icon=capsules).
@Mirr0ch1
Mirr0ch1 force-pushed the feat/app-icon-themes branch from 2336c61 to b51f7a5 Compare October 28, 2026 09:08
@Mirr0ch1 Mirr0ch1 changed the title feat(appearance): add six app icon themes feat(appearance): add seven app icon themes Oct 28, 2026

This branch has not been deployed

No deployments
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