Widgets: align every widget to the exact logo palette (KC-19)

WidgetTheme now uses the true brand colors — accent RGB(232,98,42) on
the logo's dark RGB(26,29,34) — replacing a near-miss orange on slate.
Bars countdown, My Tasks, and Day Progress inherit it; Task Live
Activity drops its hardcoded accent/black tint for the theme; lock
screen rings tint brand orange.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
kutesir
2026-06-11 19:33:01 +03:00
parent 0606d9c3aa
commit a7639f6454
3 changed files with 30 additions and 6 deletions

View File

@@ -584,3 +584,25 @@ and the Event date / Counting from rows in the config appeared not to work.
Files: `KisaniCalWidgets/EventCountdownWidget.swift`.
Note: existing widget instances re-read their config; dates must be re-picked
once (params changed to optional).
---
## KC-19 — Widgets: exact logo palette everywhere
**Status:** In Progress (implemented & build-verified, pending device build)
**Reported by:** User
**Area:** Widgets
### Description
All widgets should match the brand orange theme of the logo exactly.
### Fix
- `WidgetTheme` now uses the precise brand palette: accent **RGB(232,98,42)**
(app `AppColors.accent`) on the logo's dark **RGB(26,29,34)** background —
previously a near-miss orange on a slate background.
- Every themed widget (Event Countdown Bars, My Tasks, Day Progress) inherits it.
- Task Live Activity: hardcoded accent → `WidgetTheme.accent`; background tint →
logo dark.
- Lock-screen ring tints → brand accent (renders in color on StandBy/home).
Files: `WidgetViews.swift`, `TaskLiveActivity.swift`.