Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions app/src/ui_components/icon_with_status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,15 @@ pub(crate) fn render_icon_with_status(
} else {
WarpIcon::Oz
};
// Cloud (ambient) runs use a black glyph on the light-purple background
// for consistency with the web app; local runs keep the theme text color.
let glyph_color = if is_ambient {
WarpThemeFill::Solid(ColorU::black())
} else {
theme.main_text_color(theme.background())
};
let circle = render_circle(
oz_glyph
.to_warpui_icon(theme.main_text_color(theme.background()))
.finish(),
oz_glyph.to_warpui_icon(glyph_color).finish(),
circle_background,
total_size,
);
Expand Down
Loading