Custom model TOS hyperlink coloring#11240
Conversation
|
I'm starting a first review of this pull request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR darkens the custom inference Terms of Service hyperlink color in the AI settings tooltip by blending the theme accent with 50% black.
Concerns
- The PR changes user-visible hyperlink styling, but the provided PR description contains no screenshot or screen recording demonstrating the result end to end.
Verdict
Found: 0 critical, 1 important, 0 suggestions
Request changes
Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
| self.custom_inference_terms_index.clone(), | ||
| ) | ||
| .with_hyperlink_font_color(appearance.theme().accent().into_solid()) | ||
| .with_hyperlink_font_color( |
There was a problem hiding this comment.
| .with_hyperlink_font_color( | ||
| appearance | ||
| .theme() | ||
| .accent() | ||
| .blend(&warp_core::ui::theme::Fill::black().with_opacity(50)) | ||
| .into_solid(), |
There was a problem hiding this comment.
In general we try to avoid going rogue and specifying our own colours for UI in the app. The designs use an accent colour and the rest of our tooltips use an accent colour, so it'd be good to do the same here.
I'd try following the same code we use for font colour in other tooltips, to see if that makes a difference:
warp/crates/warp_core/src/ui/builder.rs
Lines 613 to 620 in bfb4e98
on_background field which should adjust the colour to account for contrast.
Issue
The warp terms of service hyperlink on custom inference settings was not readable because of coloring
Before
After