-
Notifications
You must be signed in to change notification settings - Fork 34
feat(ToolCall/DeepThinking/Tool Response): Add support for high contrast #728
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
Conversation
|
Preview: https://chatbot-pr-chatbot-728.surge.sh A11y report: https://chatbot-pr-chatbot-728-a11y.surge.sh |
| .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); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
b17c12d to
6ea6a9a
Compare
lboehling
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
|
🎉 This PR is included in version 6.5.0-prerelease.13 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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: