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