Skip to content

Custom model TOS hyperlink coloring#11240

Open
dagmfactory wants to merge 1 commit into
masterfrom
dagm/warp-tos-hyperlink-color-correction
Open

Custom model TOS hyperlink coloring#11240
dagmfactory wants to merge 1 commit into
masterfrom
dagm/warp-tos-hyperlink-color-correction

Conversation

@dagmfactory
Copy link
Copy Markdown
Contributor

@dagmfactory dagmfactory commented May 18, 2026

Issue

The warp terms of service hyperlink on custom inference settings was not readable because of coloring

Before

Screenshot 2026-05-18 at 6 27 11 PM Screenshot 2026-05-18 at 6 27 39 PM

After

Screenshot 2026-05-18 at 6 27 59 PM Screenshot 2026-05-18 at 6 28 47 PM

@cla-bot cla-bot Bot added the cla-signed label May 18, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 18, 2026

@dagmfactory

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 /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

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(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ [IMPORTANT] For this user-facing color change, please include screenshots or a screen recording demonstrating the tooltip link color end to end.

@dagmfactory dagmfactory requested a review from danielpeng2 May 18, 2026 22:29
@dagmfactory dagmfactory enabled auto-merge (squash) May 18, 2026 22:34
Comment on lines +7110 to +7115
.with_hyperlink_font_color(
appearance
.theme()
.accent()
.blend(&warp_core::ui::theme::Fill::black().with_opacity(50))
.into_solid(),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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:

let font_color: ColorU = self
.warp_theme
.accent()
.on_background(
Fill::Solid(tooltip_background),
MinimumAllowedContrast::Text,
)
.into();
. In this example, we use an on_background field which should adjust the colour to account for contrast.

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.

2 participants