Skip to content

update MCP update/install modal primary button with correct text color#10166

Open
acarl005 wants to merge 4 commits intomasterfrom
andy/fix-mcp-modal-button-color
Open

update MCP update/install modal primary button with correct text color#10166
acarl005 wants to merge 4 commits intomasterfrom
andy/fix-mcp-modal-button-color

Conversation

@acarl005
Copy link
Copy Markdown
Contributor

@acarl005 acarl005 commented May 5, 2026

Description

This PR fixes the primary buttons on the MCP modals for install and update to use the same text color as other primary buttons.

See here for the "source of truth":

fn text_color(
&self,
hovered: bool,
background: Option<Fill>,
appearance: &Appearance,
) -> ColorU {
let theme = appearance.theme();
let effective_background = background
.or_else(|| self.background(hovered, appearance))
.unwrap_or(theme.background());
theme.font_color(effective_background).into_solid()
}

Testing

Before

Screenshot 2026-05-05 101722

After

Screenshot 2026-05-05 105447

@acarl005 acarl005 requested a review from vkodithala May 5, 2026 17:57
@cla-bot cla-bot Bot added the cla-signed label May 5, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 5, 2026

@acarl005

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 updates the custom Install and Update MCP modal primary button label, shortcut icon, and shortcut border colors to use a foreground selected for the accent background.

Concerns

  • No blocking correctness or security concerns found.
  • The Update modal custom label still bypasses disabled button text styling; see inline suggestion.

Verdict

Found: 0 critical, 0 important, 1 suggestions

Approve with nits

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Comment thread app/src/settings_view/mcp_servers/update_modal.rs Outdated
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.

1 participant