Structure the contact finder more similarly to the channel modal

Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
Max Brunsfeld 2023-08-14 11:36:49 -07:00
parent b6f3dd51a0
commit 2bb9f7929d
10 changed files with 351 additions and 232 deletions

View file

@ -7,9 +7,7 @@ import {
} from "./components"
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"
import collab_modals from "./collab_modals"
export default function contacts_panel(): any {
const theme = useTheme()
@ -109,7 +107,7 @@ export default function contacts_panel(): any {
return {
channel_modal: channel_modal(),
...collab_modals(),
log_in_button: interactive({
base: {
background: background(theme.middle),