[FR] Frontend - Customize theme color of chatbot app.
Self Checks
- [X] I have searched for existing issues search for existing issues, including closed ones.
- [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [X] Pleas do not modify this template :) and fill in all the required fields.
1. Is this request related to a challenge you're experiencing?
The colors of the chatbot app are static. For example, in the Header component, the class that sets the background color is bg-gradient-to-r from-blue-600 to-sky-500. This distinctively blue color, doesn't blend well with some website's styles or doesn't adhere to the design requirements of the website.
2. Describe the feature you'd like to see
It would be ideal, without having to fork the chat app and manually change the code, to configure the colors in a way that the embedded frame blends better with the website's style without making the customization too complex. I was thinking of adding an extra field in the SettingsModal component, such as "Chat Color Theme".
3. How will this feature improve your workflow or experience?
It will improve the experience of developers and designers that want to include the iframe into a website that have clear or strict design requirements.
4. Additional context or comments
Examples using free templates of astro:
Inverted style:
Inverted Style:
@iamjoel Wanted to know what you guys think or what the community, in general, thinks.
5. Can you help us with this feature?
- [X] I am interested in contributing to this feature.
@dromerolovo Can you share your modification? Thanks
@ZuzooVn I haven't had time yet. I'm going to make this this weekend and submit a PR to get feedback.
@ZuzooVn https://github.com/langgenius/dify/pull/4767