Restyle the watch app in the «Лес» palette with the Flutter app icon
Build / Build (watchOS Simulator) (push) Canceled after 0s
Build / Build (watchOS Device) (push) Canceled after 0s

- BalancePalette (Shared/AppTheme.swift): the palette of BalanceFlutter's
  default preset. Balance card in a green gradient with mint text, income
  teal (↙) and expense deep orange (↗) as in the Flutter app, mint accent
  and a forest «Добавить операцию» button instead of indigo/purple.
- Money shows no kopecks when whole, otherwise exactly two decimals
  («8 480,50 ₽»), like the Flutter client.
- App icon: same artwork as BalanceFlutter (branding/icon.svg), every
  size of AppIcon.appiconset rendered by the new branding/render.sh
  (resvg, bundled Roboto fonts).
- Repository avatar and README banner redrawn in the same style as the
  BalanceFlutter banner, with real simulator screenshots (docs/).

Checked on the watchOS 27.2 simulator (icon in the app grid, home and
accounts screens). Builds for simulator and device.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
wtandClaude Opus 5.5 committed 2026-11-01 02:11:00 +07:00
1 parent 94177dbb0b
commit 9cfac1797c
36 files changed
+435 -136

No files matched your search

+19 -49
View File
@@ -1,60 +1,30 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512" width="512" height="512">
<!-- Repository avatar: the watch with the app icon (palette «Лес»).
Render with branding/render.sh (needs resvg). -->
<defs>
<radialGradient id="bg" cx="50%" cy="40%" r="75%">
<stop offset="0" stop-color="#2a2368"/>
<stop offset="1" stop-color="#0d0b26"/>
<radialGradient id="bg" cx="50%" cy="42%" r="75%">
<stop offset="0" stop-color="#25594c"/>
<stop offset="1" stop-color="#0c241e"/>
</radialGradient>
<linearGradient id="strap" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="#2b2660"/>
<stop offset="0.5" stop-color="#3b3580"/>
<stop offset="1" stop-color="#2b2660"/>
<stop offset="0" stop-color="#173f35"/>
<stop offset="0.5" stop-color="#245a4b"/>
<stop offset="1" stop-color="#173f35"/>
</linearGradient>
<linearGradient id="case" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#6d68c9"/>
<stop offset="1" stop-color="#3a3488"/>
<stop offset="0" stop-color="#5a9c87"/>
<stop offset="1" stop-color="#1f5245"/>
</linearGradient>
<linearGradient id="teal" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#2fc7b0"/>
<stop offset="1" stop-color="#3f6fd8"/>
</linearGradient>
<linearGradient id="coral" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#ff8a5c"/>
<stop offset="1" stop-color="#e2475f"/>
</linearGradient>
<radialGradient id="ball" cx="38%" cy="35%" r="70%">
<stop offset="0" stop-color="#ffb08f"/>
<stop offset="0.5" stop-color="#f2614f"/>
<stop offset="1" stop-color="#b7323f"/>
</radialGradient>
<filter id="glow" x="-30%" y="-30%" width="160%" height="160%">
<feGaussianBlur stdDeviation="10"/>
</filter>
<clipPath id="screen"><rect x="132" y="142" width="248" height="228" rx="58"/></clipPath>
<filter id="haze" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="40"/></filter>
</defs>
<!-- background -->
<rect width="512" height="512" fill="url(#bg)"/>
<!-- straps -->
<ellipse cx="256" cy="256" rx="170" ry="150" fill="#39b997" opacity="0.22" filter="url(#haze)"/>
<path d="M186 40 h140 l-10 100 h-120 z" fill="url(#strap)"/>
<path d="M196 372 h120 l10 100 h-140 z" fill="url(#strap)"/>
<!-- crown and side button -->
<rect x="394" y="196" width="22" height="50" rx="8" fill="#5b56b8"/>
<rect x="396" y="270" width="14" height="40" rx="6" fill="#4a4599"/>
<!-- case -->
<rect x="106" y="116" width="294" height="280" rx="78" fill="url(#case)"/>
<!-- screen -->
<rect x="124" y="134" width="258" height="244" rx="62" fill="#07061a"/>
<!-- soft glow behind the mark -->
<ellipse cx="253" cy="256" rx="80" ry="90" fill="#4c45c2" opacity="0.45" filter="url(#glow)"/>
<!-- balance mark: two loops and a ball, as in the app icon -->
<rect x="190" y="166" width="126" height="94" rx="47" fill="none" stroke="url(#teal)" stroke-width="28"/>
<rect x="190" y="252" width="126" height="94" rx="47" fill="none" stroke="url(#coral)" stroke-width="28"/>
<!-- teal loop overlaps coral on the left, like the original figure -->
<path d="M204 213 v40" stroke="url(#teal)" stroke-width="28" stroke-linecap="round"/>
<circle cx="253" cy="256" r="24" fill="url(#ball)"/>
<ellipse cx="246" cy="247" rx="8" ry="5" fill="#ffffff" opacity="0.35"/>
<rect x="394" y="196" width="22" height="50" rx="8" fill="#4f8f7b"/>
<rect x="396" y="270" width="14" height="40" rx="6" fill="#3f7d6b"/>
<rect x="106" y="116" width="300" height="280" rx="78" fill="url(#case)"/>
<rect x="124" y="134" width="264" height="244" rx="62" fill="#04120e"/>
<image x="132" y="132" width="248" height="248" xlink:href="../BalanceWatch/Assets.xcassets/AppIcon.appiconset/BalanceIcon-1024.png" clip-path="url(#screen)"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB