Commit e7c86fe
committed
v1.5.1: design polish for popover + Preferences ("crafted Mac utility")
Both surfaces now share a small design system (Sources/WeChatMulti/
DesignSystem.swift):
- Brand color tokens: jade, jadeDeep, jadeTint, hoverTint, badgeRed —
one source of truth, used by both surfaces.
- Motion tokens: hover (140ms easeOut), state (220ms easeInOut),
entry (spring 0.42/0.86). Mac-feel timings — responsive, not floaty.
- SectionLabel: tracked uppercase header that signals "crafted utility"
without shouting.
- SettingsCard: subtle elevated container with 0.5pt hairline border
using the system control-background color (adapts dark/light).
- JadeButtonStyle: themed primary button (available for future use).
PreferencesView redesigned:
- Hero card with app icon, name, version pill, tagline, and a layered
jade-tinted gradient background (linear + radial wash anchored to the
icon). Drop shadow under the icon picks up jadeDeep.
- Three SettingsCards: Startup, WeChat Source, Clones. Each has a tracked
uppercase header label plus tightly-spaced content.
- WeChat path now rendered in a subtle monospace panel with a shippingbox
glyph and a jade version pill at the row's right edge.
- Clone count in a jade monospace pill mirrors the Source version pill.
- Sections fade + offset in with staggered spring delays on appear.
- Footer: jade-colored repo link + "Crafted for macOS" microcopy.
MenuPanelView polished:
- Account-count chip in a jade-tinted capsule with monospace digits.
- Subtitle ("running" / "not running") in monospace; jadeDeep when
running, secondary when stopped.
- Status dots gain a glow ring + gradient fill + tiny white speckle
highlight for depth (animates on state change with state token).
- Hover state on rows uses a left-to-right jade gradient + 0.5pt jade
border instead of flat opacity — adds visual interest without noise.
- Hover transitions animated through the hover token.
- Stale-clone prompt redesigned: orange iconography in a circular
background, two-line label, trailing arrow.clockwise icon.
- Footer items gain SF Symbol leading icons (plus.circle.fill jade-tinted
for "Add account", slider.horizontal.3 for Preferences, power for
Quit) plus monospace shortcuts that brighten on hover.
Bumped to v1.5.1 / build 10.1 parent 7ff5622 commit e7c86fe
5 files changed
Lines changed: 538 additions & 185 deletions
File tree
- Resources
- Sources/WeChatMulti
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
0 commit comments