Repository navigation
feat(desktop): replace the app icon with the ink-blue crescent and star - #292
Merged
Merged
Conversation
The small icon's star had a thick rounded outline. It now has pointed tips like the large icon, is 10% smaller and sits further right, away from the prompt's tip.
…glow The in-app icons were flat. The small master now has the tile gradient, the rim highlight, the star glow and the glyph gradients. The in-app icon from 40px up is app-icon-tile.svg, which build:icons crops from the finished master, so the hand-drawn flat master is removed. The glow, the bloom and the rim highlight are dimmer in every icon.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
desktop/electron/build/:app-icon.svg(the finished 1024 icon on the macOS grid: 824 tile, 185 corner radius, gradient, rim highlight, star glow, shadows),app-icon-small.svg(the bolder mark for 32 px and below, with the same tile gradient, rim highlight and star glow but no shadows) andtray-icon.svg(single-color, for the macOS menu bar).cd desktop && bun run build:icons(desktop/scripts/generate-icons.ts) regenerates every bitmap from them, andapp-icon-tile.svg(the finished icon cropped to its tile, without the tile shadow, for the in-app logo at 40 px and up), with the existing@resvg/resvg-jsdev dependency, so a later refinement only swaps the masters.icon.icns(16–512 plus @2x; 16 and 32 pt use the small mark on whole-pixel tiles, packed with macOSiconutil),icon.ico(16, 24, 32, 48, 64, 128, 256; the small mark up to 32, the finished icon cropped to its tile from 48) andapp-icon.pnginelectron/buildandpublic.trayTemplate.pngwith @2x), so it follows the light or dark menu bar; Windows and Linux use the colored small mark (tray.pngwith @2x).installTrayno longer resizes the image, which dropped the @2x representation, so @2x now takes effect.electron-builder.jsoncopies alltray*.pngfiles.DreamCoderIconrenders an<img>:app-icon-small.svgbelow 40 px,app-icon-tile.svgfrom 40 px. Its colors are the icon's own, not the theme's--primary.desktop/electron/build/app-icon-macos.svg(a wrapper around the PNG) anddesktop/public/app-icon.svg(an unreferenced copy of the old artwork).docs/features/ui-refresh/design-log.zh.md) and CHANGELOG updated.Why
The old terracotta icon was immature and its colors read too close to Claude's. The new one keeps the crescent prompt and star but recomposes them on an ink-blue tile. The interface's primary color is unchanged; that will be handled separately.
How it was tested
cd desktop && bun run lintandbun run test -- --runpass (238 files, 3137 passed, 4 skipped). New tests cover the size rule inDreamCoderIcon, the ICO directory layout, the whole-pixel macOS grid tile and the shadow-free Windows crop.icon.icnswas unpacked withiconutil -c iconset: all ten sizes are present at the right pixel sizes, and the 16 and 32 tiles have no half-pixel edges. Theicon.icoheader was parsed: seven 32-bit PNG entries.