mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 23:59:52 +03:00
Use status colors for contact availability indicators (#3704)
This PR updates the availability indicators in the contact list to use the status colors from the theme. Release Notes: - N/A
This commit is contained in:
parent
64ceb61aa3
commit
734bbfa66f
@ -47,7 +47,11 @@ impl RenderOnce for Avatar {
|
||||
div()
|
||||
.absolute()
|
||||
.z_index(1)
|
||||
.bg(if is_free { gpui::green() } else { gpui::red() })
|
||||
.bg(if is_free {
|
||||
cx.theme().status().created
|
||||
} else {
|
||||
cx.theme().status().deleted
|
||||
})
|
||||
.size(indicator_size)
|
||||
.rounded(indicator_size)
|
||||
.bottom_0()
|
||||
|
Loading…
Reference in New Issue
Block a user