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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user