Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(desktop-gpui): colour the window size chip's chevron

Richie McIlroycbeda1624102
diff --git a/apps/desktop-gpui/src/target_overlay.rs b/apps/desktop-gpui/src/target_overlay.rs
index f1832f98c..3676949c8 100644
--- a/apps/desktop-gpui/src/target_overlay.rs
+++ b/apps/desktop-gpui/src/target_overlay.rs
@@ -2014,7 +2014,12 @@ impl OverlayWindow {
.when(arrangeable, |chip| {
chip.cursor_pointer()
.hover(|style| style.bg(gpui::hsla(0., 0., 0., 0.4)))
- .child(svg().path("icons/chevron-down.svg").size(px(12.)))
+ .child(
+ svg()
+ .path("icons/chevron-down.svg")
+ .size(px(12.))
+ .text_color(theme.gray_12),
+ )
.on_click(cx.listener(|this, event: &gpui::ClickEvent, _, cx| {
cx.stop_propagation();
this.open_window_menu(event.position(), cx);