WIP for keith
This commit is contained in:
parent
088668ecf8
commit
f963c0ed45
4 changed files with 105 additions and 69 deletions
|
@ -38,11 +38,7 @@ pub struct Theme {
|
|||
pub struct Workspace {
|
||||
pub background: Color,
|
||||
pub titlebar: Titlebar,
|
||||
pub active_pane_active_tab: Tab,
|
||||
pub active_pane_inactive_tab: Tab,
|
||||
pub inactive_pane_active_tab: Tab,
|
||||
pub inactive_pane_inactive_tab: Tab,
|
||||
pub pane_button: Interactive<IconButton>,
|
||||
pub tab_bar: TabBar,
|
||||
pub pane_divider: Border,
|
||||
pub leader_border_opacity: f32,
|
||||
pub leader_border_width: f32,
|
||||
|
@ -72,6 +68,21 @@ pub struct Titlebar {
|
|||
pub outdated_warning: ContainedText,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Default)]
|
||||
pub struct TabBar {
|
||||
#[serde(flatten)]
|
||||
pub container: ContainerStyle,
|
||||
pub pane_button: Interactive<IconButton>,
|
||||
pub active_pane: TabStyles,
|
||||
pub inactive_pane: TabStyles,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Default)]
|
||||
pub struct TabStyles {
|
||||
active_tab: Tab,
|
||||
inactive_tab: Tab,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Default)]
|
||||
pub struct AvatarRibbon {
|
||||
#[serde(flatten)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue