Carry the new palette into every remaining colour

The group chat bar drew white text on the old header token, now light;
it sits on near-black instead. Status, class, routine-kind, goal and chart
colours move from greens and navies to the reference scheme: orange for
met and held, near-black for fine and neutral, deeper orange then red as
standing worsens. Home's ring and kept-day leaves and Progress's bars use
the full accent so they read on grey.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KhQh614DMeYoQEH9SoMRUw
This commit is contained in:
alvocool
2026-11-09 08:07:31 +03:00
parent 4cd3f6c038
commit 99225c2ee2
4 changed files with 44 additions and 42 deletions

View File

@@ -145,13 +145,14 @@ class GroupChatState extends State<GroupChat> implements ConnectGroupChat {
return Container(
decoration: BoxDecoration(
borderRadius: const BorderRadius.all(Radius.circular(12)),
borderRadius:
const BorderRadius.vertical(bottom: Radius.circular(20)),
gradient: LinearGradient(
begin: Alignment.topLeft,
end: Alignment.bottomRight,
colors: <Color>[
Color.lerp(accent, colorHeaderBottom, 0.55)!,
colorHeaderBottom,
Color.lerp(accent, colorNight, 0.55)!,
colorNight,
],
),
),
@@ -178,7 +179,7 @@ class GroupChatState extends State<GroupChat> implements ConnectGroupChat {
.join(", "),
12,
TextType.Regular,
color: colorHeaderMuted,
color: colorWhite.withValues(alpha: 0.65),
maxLines: 1,
overflow: TextOverflow.ellipsis),
],
@@ -187,7 +188,7 @@ class GroupChatState extends State<GroupChat> implements ConnectGroupChat {
const SizedBox(width: 10),
avatarStack(
widget.group.members.map((member) => member.name).toList(), 30,
max: 3, border: colorHeaderBottom),
max: 3, border: colorNight),
],
),
);
@@ -257,7 +258,7 @@ class GroupChatState extends State<GroupChat> implements ConnectGroupChat {
color: colorWhite, height: 1.4),
const SizedBox(height: 4),
text(_time(message.sentAt), 10, TextType.Regular,
color: colorHeaderMuted),
color: colorWhite.withValues(alpha: 0.65)),
],
),
),