Created App Surfaces for Theming
This commit is contained in:
@@ -8,6 +8,7 @@ import '../../providers/tasks_provider.dart';
|
||||
import '../../providers/tickets_provider.dart';
|
||||
import '../../widgets/mono_text.dart';
|
||||
import '../../widgets/responsive_body.dart';
|
||||
import '../../theme/app_surfaces.dart';
|
||||
|
||||
class NotificationsScreen extends ConsumerWidget {
|
||||
const NotificationsScreen({super.key});
|
||||
@@ -74,7 +75,11 @@ class NotificationsScreen extends ConsumerWidget {
|
||||
final title = _notificationTitle(item.type, actorName);
|
||||
final icon = _notificationIcon(item.type);
|
||||
|
||||
// Use a slightly more compact card for dense notification lists
|
||||
// — 12px radius, subtle shadow so the list remains readable.
|
||||
return Card(
|
||||
shape: AppSurfaces.of(context).compactShape,
|
||||
shadowColor: AppSurfaces.of(context).compactShadowColor,
|
||||
child: ListTile(
|
||||
leading: Icon(icon),
|
||||
title: Text(title),
|
||||
|
||||
Reference in New Issue
Block a user