Create channel adding modal

This commit is contained in:
Mikayla Maki
2023-07-28 13:24:43 -07:00
parent 4a088fc4ae
commit 1549c2274f
5 changed files with 76 additions and 57 deletions
+1 -12
View File
@@ -47,7 +47,6 @@ pub struct Theme {
pub copilot: Copilot,
pub collab_panel: CollabPanel,
pub project_panel: ProjectPanel,
pub channels_panel: ChanelsPanelStyle,
pub command_palette: CommandPalette,
pub contact_finder: ContactFinder,
pub picker: Picker,
@@ -225,6 +224,7 @@ pub struct CollabPanel {
pub user_query_editor_height: f32,
pub leave_call_button: IconButton,
pub add_contact_button: IconButton,
pub add_channel_button: IconButton,
pub header_row: ContainedText,
pub subheader_row: Toggleable<Interactive<ContainedText>>,
pub leave_call: Interactive<ContainedText>,
@@ -1064,17 +1064,6 @@ pub struct Contained<T> {
contained: T,
}
#[derive(Clone, Deserialize, Default, JsonSchema)]
pub struct FlexStyle {
// Between item spacing
item_spacing: f32,
}
#[derive(Clone, Deserialize, Default, JsonSchema)]
pub struct ChanelsPanelStyle {
pub contacts_header: TextStyle,
}
#[derive(Clone, Deserialize, Default, JsonSchema)]
pub struct SavedConversation {
pub container: Interactive<ContainerStyle>,