Terminal theme: pure black, square, monospace, IRC-style chat lines
build / build (push) Successful in 16m14s
build / build (push) Successful in 16m14s
A fourth theme choice "Term" next to System/Light/Dark: - black surfaces, green accent, JetBrains Mono, no rounded corners, compact density and paddings, no ink splash (lib/theme/terminal_theme.dart, built on MeshTheme's dark theme with the shapes overridden); - channel and direct chats render each message as one IRC line across the whole width: "14:02 <nick> text [2 hops] ✓", no avatar, no bubble, own messages on the left too. Route, region, repeat and delivery status follow the text inline; the tracing path stays on its own line. The upstream bubble code is untouched: both chat screens branch to a separate builder when MeshStyle.of(context).terminal, so the nightly upstream merge does not collide with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b519922d51
commit
55386df69f
9 files changed
+762
-6
No files matched your search
+5
-1
@@ -35,6 +35,7 @@ import 'services/ui_view_state_service.dart';
|
||||
import 'services/timeout_prediction_service.dart';
|
||||
import 'storage/prefs_manager.dart';
|
||||
import 'theme/mesh_theme.dart';
|
||||
import 'theme/terminal_theme.dart';
|
||||
import 'utils/app_logger.dart';
|
||||
import 'widgets/image_send_codec_binding.dart';
|
||||
|
||||
@@ -460,7 +461,9 @@ class _MeshCoreAppState extends State<MeshCoreApp> with WidgetsBindingObserver {
|
||||
settingsService.settings.languageOverride,
|
||||
),
|
||||
theme: MeshTheme.light(),
|
||||
darkTheme: MeshTheme.dark(),
|
||||
darkTheme: settingsService.settings.themeMode == 'terminal'
|
||||
? terminalTheme()
|
||||
: MeshTheme.dark(),
|
||||
themeMode: _themeModeFromSetting(
|
||||
settingsService.settings.themeMode,
|
||||
),
|
||||
@@ -487,6 +490,7 @@ class _MeshCoreAppState extends State<MeshCoreApp> with WidgetsBindingObserver {
|
||||
case 'light':
|
||||
return ThemeMode.light;
|
||||
case 'dark':
|
||||
case 'terminal':
|
||||
return ThemeMode.dark;
|
||||
default:
|
||||
return ThemeMode.system;
|
||||
|
||||
Reference in new issue
Block a user