Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix collab indicators
Nate Butler8b1322745d6d
diff --git a/styles/src/component/indicator.ts b/styles/src/component/indicator.tsindex 3a078fb53fe..81a3b40da7b 100644--- a/styles/src/component/indicator.ts+++ b/styles/src/component/indicator.ts@@ -1,9 +1,9 @@-import { background } from "../style_tree/components"+import { foreground } from "../style_tree/components"import { Layer, StyleSets } from "../theme"export const indicator = ({ layer, color }: { layer: Layer, color: StyleSets }) => ({corner_radius: 4,padding: 4,margin: { top: 12, left: 12 },- background: background(layer, color),+ background: foreground(layer, color),})diff --git a/styles/src/style_tree/collab_panel.ts b/styles/src/style_tree/collab_panel.tsindex 2d8c0508381..7f0fd5f4235 100644--- a/styles/src/style_tree/collab_panel.ts+++ b/styles/src/style_tree/collab_panel.ts@@ -8,7 +8,6 @@ import {import { interactive, toggleable } from "../element"import { useTheme } from "../theme"import collab_modals from "./collab_modals"-import { text_button } from "../component/text_button"import { icon_button, toggleable_icon_button } from "../component/icon_button"import { indicator } from "../component/indicator"