High contrast design: black/white, 2px borders, 48px targets, focus ring, boxed chat

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 23:36:06 +00:00
parent 9436067bf2
commit 4b781378b5
37 changed files with 2526 additions and 100 deletions
@@ -250,9 +250,13 @@ class ChatStackColumn extends StatelessWidget {
decoration: ShapeDecoration(
color: tokens.flat ? null : scheme.primaryContainer,
shape: chatStackShape(tokens).copyWith(
side: tokens.flat
? BorderSide(color: scheme.primary.withValues(alpha: .55))
: BorderSide.none,
// A design with a contrast floor frames it in the full
// accent at its own stroke.
side: !tokens.flat
? BorderSide.none
: tokens.minContrast != null
? BorderSide(color: scheme.primary, width: tokens.stroke)
: BorderSide(color: scheme.primary.withValues(alpha: .55)),
),
),
child: Icon(