Start on PeoplePanel::render
Co-Authored-By: Max Brunsfeld <max@zed.dev> Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Max Brunsfeld
Nathan Sobo
parent
67946b7224
commit
23652f2ba6
@@ -23,6 +23,7 @@ pub struct Theme {
|
||||
pub name: String,
|
||||
pub workspace: Workspace,
|
||||
pub chat_panel: ChatPanel,
|
||||
pub people_panel: PeoplePanel,
|
||||
pub selector: Selector,
|
||||
pub editor: EditorStyle,
|
||||
pub syntax: SyntaxTheme,
|
||||
@@ -103,6 +104,16 @@ pub struct ChatPanel {
|
||||
pub hovered_sign_in_prompt: TextStyle,
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
pub struct PeoplePanel {
|
||||
#[serde(flatten)]
|
||||
pub container: ContainerStyle,
|
||||
pub collaborator_username: TextStyle,
|
||||
pub worktree_name: ContainedText,
|
||||
pub worktree_host_avatar: ImageStyle,
|
||||
pub worktree_guest_avatar: ImageStyle,
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
pub struct ChatMessage {
|
||||
#[serde(flatten)]
|
||||
|
||||
Reference in New Issue
Block a user