Fix collab indicator colors (#2854)

[[PR Description]]

Release Notes:

- N/A

or

- (Added|Fixed|Improved) ...
([#<public_issue_number_if_exists>](https://github.com/zed-industries/community/issues/<public_issue_number_if_exists>)).

If the release notes are only intended for a specific release channel
only, add `(<release_channel>-only)` to the end of the release note
line.
These will be removed by the person making the release.
This commit is contained in:
Nate Butler
2023-08-16 22:59:55 -04:00
committed by GitHub
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -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),
})
-1
View File
@@ -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"