Terminal theme: flat lists, compact settings, one-line reply quote
build / build (push) Successful in 17m24s

In the terminal theme only:
- MeshCard becomes a flat row with a rule underneath: no margin, no
  corners, 8/4 padding. Channel and contact lists, settings groups and
  every other card shrink to about half their height.
- AvatarCircle is just the glyph (icon or initials, at most 20 px), the
  contact emoji avatar likewise.
- MeshNavTile and SectionHeader: smaller icons, padding and type.
- Text line height 1.2 instead of Material's 1.4-1.5.
- A reply in a channel is one dim line above the message,
  "↳ <nick> quoted text…", instead of the boxed preview; the
  "replying to" banner above the composer loses its padding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-10-22 12:28:24 +02:00
1 parent 55386df69f
commit e939932cef
5 files changed
+145 -29

No files matched your search

+7 -1
View File
@@ -17,6 +17,7 @@ import '../l10n/contact_localization.dart';
import '../models/contact_group.dart';
import '../services/ui_view_state_service.dart';
import '../theme/mesh_theme.dart';
import '../theme/terminal_theme.dart';
import '../utils/contact_search.dart';
import '../storage/contact_group_store.dart';
import '../utils/dialog_utils.dart';
@@ -1826,7 +1827,12 @@ class _ContactTile extends StatelessWidget {
child: Row(
children: [
// Avatar
if (emoji != null)
if (emoji != null && MeshStyle.of(context).terminal)
SizedBox(
width: 20,
child: Text(emoji, style: const TextStyle(fontSize: 14)),
)
else if (emoji != null)
Container(
width: 42,
height: 42,