@@ -8,7 +8,6 @@ import 'package:sentracore_dashboard/screens/diagnostics_screen.dart';
88import 'package:sentracore_dashboard/theme/app_theme.dart' ;
99import 'package:sentracore_dashboard/widgets/connection_banner.dart' ;
1010import 'package:sentracore_dashboard/providers/settings_provider.dart' ;
11- import 'package:sentracore_dashboard/widgets/top_status_bar.dart' ;
1211
1312/// Root shell with persistent navigation rail and page switching.
1413class DashboardScreen extends StatefulWidget {
@@ -36,7 +35,6 @@ class _DashboardScreenState extends State<DashboardScreen> {
3635 body: Column (
3736 children: [
3837 if (! provider.connected) const ConnectionBanner (),
39- const TopStatusBar (),
4038 Expanded (
4139 child: Row (
4240 children: [
@@ -97,30 +95,19 @@ class _SentraNavRail extends StatelessWidget {
9795 child: Column (
9896 children: [
9997 const SizedBox (height: 12 ),
100- // Logo / brand mark
98+ // Logo — flat frame, no gradient (design.md calm tone)
10199 Container (
102100 width: 44 ,
103101 height: 44 ,
104102 decoration: BoxDecoration (
105- gradient: LinearGradient (
106- begin: Alignment .topLeft,
107- end: Alignment .bottomRight,
108- colors: [
109- AppTheme .primary,
110- AppTheme .primary.withValues (alpha: 0.6 ),
111- ],
103+ borderRadius: BorderRadius .circular (10 ),
104+ border: Border .all (
105+ color: Theme .of (context).dividerColor,
112106 ),
113- borderRadius: BorderRadius .circular (12 ),
114- boxShadow: [
115- BoxShadow (
116- color: AppTheme .primary.withValues (alpha: 0.3 ),
117- blurRadius: 8 ,
118- offset: const Offset (0 , 4 ),
119- ),
120- ],
107+ color: AppTheme .surfaceLightFor (context),
121108 ),
122109 child: ClipRRect (
123- borderRadius: BorderRadius .circular (12 ),
110+ borderRadius: BorderRadius .circular (9 ),
124111 child: Image .asset (
125112 'assets/brandmark.jpeg' ,
126113 fit: BoxFit .cover,
@@ -196,15 +183,6 @@ class _SentraNavRail extends StatelessWidget {
196183 decoration: BoxDecoration (
197184 color: provider.connected ? AppTheme .success : AppTheme .error,
198185 shape: BoxShape .circle,
199- boxShadow: [
200- BoxShadow (
201- color:
202- (provider.connected ? AppTheme .success : AppTheme .error)
203- .withValues (alpha: 0.4 ),
204- blurRadius: 8 ,
205- spreadRadius: 1 ,
206- )
207- ],
208186 ),
209187 ),
210188 ],
0 commit comments