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:
@@ -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)),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -741,7 +741,7 @@ class HomeState extends State<Home> implements ConnectHome {
|
||||
height: 26,
|
||||
child: Center(
|
||||
child: kept
|
||||
? Icon(Icons.eco, size: 24, color: colorBarElective)
|
||||
? Icon(Icons.eco, size: 24, color: colorAccent)
|
||||
: text("${date.day}", 16,
|
||||
today ? TextType.Medium : TextType.Regular,
|
||||
color: today ? colorHeaderText : colorHeaderMuted),
|
||||
@@ -782,7 +782,7 @@ class HomeState extends State<Home> implements ConnectHome {
|
||||
fraction: fraction,
|
||||
size: 70,
|
||||
stroke: 4,
|
||||
fill: colorBarElective,
|
||||
fill: colorAccent,
|
||||
track: colorHeaderLine,
|
||||
child:
|
||||
Icon(CupertinoIcons.add, size: 30, color: colorHeaderText),
|
||||
|
||||
@@ -331,8 +331,8 @@ class ProgressState extends State<Progress> implements ConnectProgress {
|
||||
height: future ? 4 : 6 + 84 * fraction,
|
||||
decoration: BoxDecoration(
|
||||
color: isCurrent
|
||||
? colorNight
|
||||
: (future ? colorMuted : colorChartGrid),
|
||||
? colorAccent
|
||||
: (future ? colorMuted : colorAccentSoft),
|
||||
borderRadius: const BorderRadius.all(Radius.circular(4)),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user