Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support config to change the background color of title and title text #1828

Closed
netgfx opened this issue Feb 27, 2024 · 4 comments
Closed

Support config to change the background color of title and title text #1828

netgfx opened this issue Feb 27, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@netgfx
Copy link

netgfx commented Feb 27, 2024

Describe the feature you'd like
As described here: FlowiseAI/FlowiseEmbedReact#3

The Flowise embed code has properties to support change of the Embed or Share title background color and text color, but Flowise doesn't expose the properties on the config object of the embed.

@HenryHengZJ
Copy link
Contributor

You can change the title color:

theme: {
    button: {
        backgroundColor: '#3B81F6' // <-- change this one
    }
}

@netgfx
Copy link
Author

netgfx commented Feb 29, 2024

It could use some better documentation and naming convention

@HenryHengZJ
Copy link
Contributor

It could use some better documentation and naming convention

agreed, we will separate out into different naming like titleBarColor etc.

@HenryHengZJ HenryHengZJ added the enhancement New feature or request label Mar 2, 2024
@netgfx
Copy link
Author

netgfx commented Mar 2, 2024

I guess if the fullscreen component wasn't used from shadow-dom and existed as a standalone normal React component or plain HTML component it could be extended more easily but I get that you would have to support two components then because the bubble-chat one needs to be in shadow-dom to isolate styles from the hosting site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants