Skip to content

Conversation

@rebeccaalpert
Copy link
Member

@rebeccaalpert rebeccaalpert commented Oct 21, 2025

I couldn't figure out a good way to do this without looking for the class on root since these have different border styles than our usual cards, and the token wasn't inheriting the HCC borders. Let me know if there is in fact a better way.

Affected demos:

  1. https://chatbot-pr-chatbot-728.surge.sh/patternfly-ai/chatbot/messages#messages-with-tool-calls
  2. https://chatbot-pr-chatbot-728.surge.sh/patternfly-ai/chatbot/messages#messages-with-tool-responses
  3. https://chatbot-pr-chatbot-728.surge.sh/patternfly-ai/chatbot/messages#messages-with-deep-thinking
Screenshot 2025-10-21 at 2 55 20 PM Screenshot 2025-10-21 at 2 55 04 PM Screenshot 2025-10-21 at 2 55 09 PM Screenshot 2025-10-21 at 2 55 16 PM

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

patternfly-build commented Oct 21, 2025

.pf-chatbot__tool-call {
--pf-v6-c-card--BorderColor: var(--pf-t--global--border--color--control--read-only);
--pf-v6-c-card--BorderRadius: var(--pf-t--global--border--radius--small);
--pf-v6-c-card--BorderColor: var(--pf-t--global--border--color--control--read-only);

Choose a reason for hiding this comment

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

i wonder if these should just use our border--color--default token instead of read-only? they would get the HC shade automatically if so.

@kaylachumley is there a reason why this is using the border--color--control--read-only token?

Choose a reason for hiding this comment

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

I improperly applied the read only token here! lets use the default token lucia suggested

Copy link
Member Author

@rebeccaalpert rebeccaalpert Nov 3, 2025

Choose a reason for hiding this comment

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

Updated color! Was able to drop some styles.

Copy link

@lboehling lboehling left a comment

Choose a reason for hiding this comment

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

lgtm!

@rebeccaalpert rebeccaalpert merged commit 1212a78 into patternfly:main Nov 7, 2025
7 checks passed
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

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

The release is available on:

Your semantic-release bot 📦🚀

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.

Tool calls/response/thinking high contrast

5 participants