EmbeddedChat icon indicating copy to clipboard operation
EmbeddedChat copied to clipboard

Added Functionality to Customise theme using Props

Open Ayyanaruto opened this issue 1 year ago • 4 comments

Functionality to Theme your Chat using Props

Changes Done

  • [ ] Added two Props called primaryColor and secondaryColor in RCComponent
  • [ ] primaryColor is responsible for backgroundColors of all components
  • [ ] secondaryColor is responsible for changing text color of input ,messages or any other text related components
  • [ ] The background of Chatheader and ChatInput will be lighter if body background is Dark or dark if background-color is light they will be darker which gives a good contrast to our app
  • [ ] Also changed some styling added box-shadow, border-radius to ChatHeader and more

Video/Screenshots

Some Examples

Light Colors

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Dark Colors

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is the Default Theme

Default

Ayyanaruto avatar Mar 12 '23 16:03 Ayyanaruto

This is amazing @Ayyanaruto ! It would be great if you could attend the weekly catchup to discuss more on this

sidmohanty11 avatar Mar 13 '23 14:03 sidmohanty11

Sure, It will be notified on #embedded chat channel on Rocket chat,right?

Ayyanaruto avatar Mar 13 '23 14:03 Ayyanaruto

Yup, sure will notify there too if you want. I usually notify inside official channels,

  • For EC2023 - https://open.rocket.chat/channel/idea-embedded-chat-2023

sidmohanty11 avatar Mar 13 '23 17:03 sidmohanty11

Thanks @sidmohanty11 I joined the above mentioned channel, I will check the meetings from there

Ayyanaruto avatar Mar 15 '23 07:03 Ayyanaruto