@@ -14,7 +14,7 @@ import '../utils/typedef.dart';
1414typedef _LocalTheme =
1515 ({
1616 Color onSurface,
17- Color surface ,
17+ Color surfaceContainer ,
1818 Color primary,
1919 BorderRadiusGeometry shape,
2020 });
@@ -109,7 +109,7 @@ class _ReactionsDialogWidgetState extends State<ReactionsDialogWidget> {
109109 final theme = context.select (
110110 (ChatTheme t) => (
111111 onSurface: t.colors.onSurface,
112- surface : t.colors.surface ,
112+ surfaceContainer : t.colors.surfaceContainerHigh ,
113113 primary: t.colors.primary,
114114 shape: t.shape,
115115 ),
@@ -146,7 +146,7 @@ class _ReactionsDialogWidgetState extends State<ReactionsDialogWidget> {
146146 MediaQuery .of (context).size.width *
147147 (widget.menuItemsWidthRatio ?? 0.45 ),
148148 decoration: BoxDecoration (
149- color: widget.menuItemBackgroundColor ?? theme.surface ,
149+ color: widget.menuItemBackgroundColor ?? theme.surfaceContainer ,
150150 borderRadius: theme.shape,
151151 ),
152152 child: Column (
@@ -248,7 +248,8 @@ class _ReactionsDialogWidgetState extends State<ReactionsDialogWidget> {
248248 child: Container (
249249 padding: const EdgeInsets .all (5 ),
250250 decoration: BoxDecoration (
251- color: widget.reactionsPickerBackgroundColor ?? theme.surface,
251+ color:
252+ widget.reactionsPickerBackgroundColor ?? theme.surfaceContainer,
252253 borderRadius: theme.shape,
253254 ),
254255 child: SingleChildScrollView (
0 commit comments