8000 feat(ChatbotContent): Add variant with white background by rebeccaalpert · Pull Request #689 · patternfly/chatbot · GitHub
[go: up one dir, main page]

Skip to content

feat(ChatbotContent): Add variant with white background#689

Merged
rebeccaalpert merged 1 commit intopatternfly:mainfrom
rebeccaalpert:chatbot-color
Oct 20, 2025
Merged

feat(ChatbotContent): Add variant with white background#689
rebeccaalpert merged 1 commit intopatternfly:mainfrom
rebeccaalpert:chatbot-color

Conversation

@rebeccaalpert
Copy link
Member
@rebeccaalpert rebeccaalpert commented Sep 26, 2025

This was a request from OpenShift AI - they are looking for more flexibility in complex embedded layouts.

I'll add a demo with the footer piece since that's going to be a bigger PR.

@rebeccaalpert rebeccaalpert linked an issue Sep 26, 2025 that may be closed by this pull request
@patternfly-build
Copy link
patternfly-build commented Sep 26, 2025

Copy link
Collaborator
@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, couple questions below, but I think things are good as-is

Comment on lines +11 to +12
/** Sets background color to primary */
isPrimary?: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would we ever expect to be able to choose anything other than a boolean of "primary or not" in the future?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My guess is we want to dissuade people from doing purple theme, etc., but only time will tell.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

future purple themes will be updating the primary and other colors so it should be okay.
The only other color variant i can imagine not being accounted for is a 'transparent' background color... but we don't have to cross that bridge yet.

// ============================================================================
10000 // Custom color variant styles
// ============================================================================
.pf-chatbot__content-m-primary {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WDYT about instead applying just pf-m-primary to the div container and moving this block within the .pf-chatbot__content block?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me! All set.

This was a request from OpenShift AI - they are looking for more flexibility in complex embedded layouts.
Copy link
Collaborator
@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So nice I had to approve it twice

Comment on lines +11 to +12
/** Sets background color to primary */
isPrimary?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

future purple themes will be updating the primary and other colors so it should be okay.
The only other color variant i can imagine not being accounted for is a 'transparent' background color... but we don't have to cross that bridge yet.

@rebeccaalpert rebeccaalpert merged commit f4cfc9a into patternfly:main Oct 20, 2025
7 checks passed
@github-actions
Copy link

🎉 This PR is included in version 6.5.0-prerelease.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

rebeccaalpert added a commit to rebeccaalpert/virtual-assistant that referenced this pull request Oct 24, 2025
This was a request from OpenShift AI - they are looking for more flexibility in complex embedded layouts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add variant of embedded ChatBot with white background

4 participants

0