Merge branch 'collab-panel' of github.com:zed-industries/zed into collab-panel

This commit is contained in:
Mikayla
2023-08-09 10:44:50 -07:00
8 changed files with 112 additions and 108 deletions
+2 -13
View File
@@ -8,6 +8,7 @@ import {
import { interactive, toggleable } from "../element"
import { useTheme } from "../theme"
import channel_modal from "./channel_modal"
import { icon_button, toggleable_icon_button } from "../component/icon_button"
export default function contacts_panel(): any {
@@ -51,19 +52,7 @@ export default function contacts_panel(): any {
},
}
const headerButton = toggleable({
base: {
color: foreground(layer, "on"),
button_width: 28,
icon_width: 16,
},
state: {
active: {
background: background(layer, "active"),
corner_radius: 8,
}
}
})
const headerButton = toggleable_icon_button(theme, {})
return {
channel_modal: channel_modal(),