tjtanjin / react-chatbotify

A modern React library for creating a flexible and extensible chatbot.
https://react-chatbotify.com
MIT License
148 stars 68 forks source link

Change de style from principal button #96

Closed dspwebstudiomx closed 4 weeks ago

tjtanjin commented 1 month ago

Hey @dspwebstudiomx, could you elaborate more on this issue? 😅

dspwebstudiomx commented 1 month ago

image I need to change the backgroundColor of this and add padding to view the logo more small

tjtanjin commented 1 month ago

Hey @dspwebstudiomx, you're probably looking at the chatButtonStyle and tooltipStyle which you can find here: https://react-chatbotify.com/docs/api/styles

dspwebstudiomx commented 1 month ago

No, I need to change de gradient backgroundcolor, with no color, and adapt my logo size.

tjtanjin commented 1 month ago

Hmm you can tinker with primaryColor and secondaryColor, or target the CSS classes directly. That said, buttons/icons in general have been rather inconsistent in the style props they provide. If you wait a couple days, I'll release an update with new style props that'll separate button styling from icon styling to make things more convenient.

tjtanjin commented 1 month ago

Hey @dspwebstudiomx, bump the library up to v2.0.0-beta.5, you'll then be able to use chatButtonStyle and chatIconStyle to achieve your desired modifications 😊

tjtanjin commented 4 weeks ago

Seeing as you have emoted I assume this is resolved :P Feel free to reach out if there're more issues again 😊