nex_shift/scripts
mula.liu 8a4c9d2b0d feat(icons): one mark, drawn twice — tinted for the shell, coloured for the dock
Reported: "应用的图标问题,要和当前的单色图标保持一致设计" — and clarified:
consistency of *design*, but colour in the panel and the system.

So consistency comes from geometry and filling rules, not from the palette.
`scripts/build-icons.py` now defines the ring once (OUTER/INNER/HUB/GAP/
PLUS_ARM/PLUS_BAR) and emits both marks from it: the tray keeps the alpha-only
flat form because the shell tints it, and the app icon keeps the same figure
in three flat colours drawn from the UI itself — `#FFB25C` wedges and the
`#f04f24` accent the app's own buttons use, on an espresso tile that is also
what shows through the plus punched out of the hub.

What the old icon actually got wrong was not that it was colourful. It was a
gradient tile with a radial shine, a drop shadow and six pastel wedge tints,
which is a different visual language from a crisp flat mark no matter what
hue it wears. Hence the rule: at most three flat colours, and no gradient,
gloss, shadow or per-wedge tint.

The menu-bar icon is byte-for-byte unchanged; the generator reproduces the
committed PNG exactly, so this commit alters only the coloured surfaces. The
hub-inside-a-lighter-ring orientation is deliberately not inverted, because
flipping which end of the mark is dark would read to existing users as a
different product rather than a redraw.

`tauri icon` regenerates the whole tracked set, and the .icns entry set and
.ico size ladder come out identical to the committed ones, so nothing in the
packaging contracts moves.

Co-Authored-By: Codex <noreply@openai.com>
2026-11-19 21:27:01 +08:00
..
linux release: 0.1.1 — update channel, settings/UI trims, macOS + Windows x64 only 2026-10-26 03:06:46 +08:00
build-icons.py feat(icons): one mark, drawn twice — tinted for the shell, coloured for the dock 2026-11-19 21:27:01 +08:00
build-macos-drag-bridge.sh release: prepare Shift 0.1.8 2026-10-27 18:45:32 +08:00
build-macos-release.sh build: bake release key into macOS packages 2026-10-27 18:49:21 +08:00
build-windows-release.sh release: prepare Shift 0.1.8 2026-10-27 18:45:32 +08:00
prepare-ocr-assets.sh baseline: capture workspace state (bug fixes in progress) 2026-10-21 08:54:54 +08:00
publish-release.sh docs: 收录 2026-11 全面评审的修复与约束 2026-11-07 12:42:35 +08:00
release-key.py fix(release): derive the public key from either key file 2026-10-26 17:29:59 +08:00
windows-installer.nsi release: prepare Shift 0.1.8 2026-10-27 18:45:32 +08:00