diff --git a/example/lib/group_info_screen.dart b/example/lib/group_info_screen.dart index 31653db8..87064472 100644 --- a/example/lib/group_info_screen.dart +++ b/example/lib/group_info_screen.dart @@ -129,7 +129,7 @@ class _GroupInfoScreenState extends State { child: Padding( padding: const EdgeInsets.all(8.0), child: StreamSvgIcon.userAdd( - color: StreamChatTheme.of(context).accentColor), + color: StreamChatTheme.of(context).colorTheme.accentBlue), ), ), ), @@ -356,7 +356,8 @@ class _GroupInfoScreenState extends State { padding: const EdgeInsets.only(right: 16.0, left: 8.0), child: InkWell( child: StreamSvgIcon.check( - color: StreamChatTheme.of(context).accentColor, + color: + StreamChatTheme.of(context).colorTheme.accentBlue, size: 24.0, ), onTap: () { diff --git a/lib/src/channel_file_display_screen.dart b/lib/src/channel_file_display_screen.dart index 0cd3d854..79645f73 100644 --- a/lib/src/channel_file_display_screen.dart +++ b/lib/src/channel_file_display_screen.dart @@ -77,7 +77,7 @@ class _ChannelFileDisplayScreenState extends State { ), ), ), - backgroundColor: StreamChatTheme.of(context).primaryColor, + backgroundColor: StreamChatTheme.of(context).colorTheme.white, ), body: _buildMediaGrid(), ); diff --git a/lib/src/channel_media_display_screen.dart b/lib/src/channel_media_display_screen.dart index ea6dabff..506a46b9 100644 --- a/lib/src/channel_media_display_screen.dart +++ b/lib/src/channel_media_display_screen.dart @@ -79,7 +79,7 @@ class _ChannelMediaDisplayScreenState extends State { ), ), ), - backgroundColor: StreamChatTheme.of(context).primaryColor, + backgroundColor: StreamChatTheme.of(context).colorTheme.white, ), body: _buildMediaGrid(), ); diff --git a/lib/src/image_footer.dart b/lib/src/image_footer.dart index 128acbf7..c17a5bcf 100644 --- a/lib/src/image_footer.dart +++ b/lib/src/image_footer.dart @@ -621,7 +621,9 @@ class _ImageFooterState extends State { icon: Transform.rotate( angle: -pi / 2, child: StreamSvgIcon.Icon_send_message( - color: StreamChatTheme.of(context).accentColor, + color: StreamChatTheme.of(context) + .colorTheme + .accentBlue, ), ), ),