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:
Antonio Scandurra
2021-09-20 20:04:48 +02:00
co-authored by Max Brunsfeld Nathan Sobo
parent 67946b7224
commit 23652f2ba6
3 changed files with 105 additions and 10 deletions
+11
View File
@@ -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)]