From 23644132144b9db69c5fba7e6310e7120337b0ce Mon Sep 17 00:00:00 2001 From: Efthymis Sarmpanis Date: Thu, 12 Oct 2023 16:18:39 +0300 Subject: [PATCH] Update: switch back to theme colors --- .../01-custom-widgets/04-adding_custom_attachments.mdx | 6 +++--- .../Flutter/03-stream_chat_flutter/stream_message_input.mdx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docusaurus/docs/Flutter/02-customization/01-custom-widgets/04-adding_custom_attachments.mdx b/docusaurus/docs/Flutter/02-customization/01-custom-widgets/04-adding_custom_attachments.mdx index 18c15f49..2954523b 100644 --- a/docusaurus/docs/Flutter/02-customization/01-custom-widgets/04-adding_custom_attachments.mdx +++ b/docusaurus/docs/Flutter/02-customization/01-custom-widgets/04-adding_custom_attachments.mdx @@ -65,7 +65,7 @@ StreamMessageInput( child: const Icon( Icons.location_on, size: 20, - color: Colors.grey, + color: StreamChatTheme.of(context).colorTheme.textLowEmphasis, ), onTap: () { final channel = StreamChannel.of(context).channel; @@ -193,7 +193,7 @@ First, we add the attachment when the location button is clicked: child: Icon( Icons.location_on, size: 20, - color: Colors.grey, + color: StreamChatTheme.of(context).colorTheme.textLowEmphasis, ), onTap: () { _determinePosition().then((value) { @@ -226,7 +226,7 @@ StreamMessageInput( child: Icon( Icons.location_on, size: 20, - color: Colors.grey, + color: StreamChatTheme.of(context).colorTheme.textLowEmphasis, ), onTap: () { _determinePosition().then((value) { diff --git a/docusaurus/docs/Flutter/03-stream_chat_flutter/stream_message_input.mdx b/docusaurus/docs/Flutter/03-stream_chat_flutter/stream_message_input.mdx index 8610d5e2..45c399a9 100644 --- a/docusaurus/docs/Flutter/03-stream_chat_flutter/stream_message_input.mdx +++ b/docusaurus/docs/Flutter/03-stream_chat_flutter/stream_message_input.mdx @@ -72,7 +72,7 @@ StreamMessageInput( child: Icon( Icons.location_on, size: 20, - color: Colors.grey, + color: StreamChatTheme.of(context).colorTheme.textLowEmphasis, ), onTap: () { // Do something here