Update color names in workspace2
This commit is contained in:
parent
a7edd380e3
commit
e0382a61b9
3 changed files with 5 additions and 5 deletions
|
@ -1359,12 +1359,12 @@ impl Pane {
|
||||||
|
|
||||||
let (tab_bg, tab_hover_bg, tab_active_bg) = match ix == self.active_item_index {
|
let (tab_bg, tab_hover_bg, tab_active_bg) = match ix == self.active_item_index {
|
||||||
false => (
|
false => (
|
||||||
cx.theme().colors().tab_inactive,
|
cx.theme().colors().tab_inactive_background,
|
||||||
cx.theme().colors().ghost_element_hover,
|
cx.theme().colors().ghost_element_hover,
|
||||||
cx.theme().colors().ghost_element_active,
|
cx.theme().colors().ghost_element_active,
|
||||||
),
|
),
|
||||||
true => (
|
true => (
|
||||||
cx.theme().colors().tab_active,
|
cx.theme().colors().tab_active_background,
|
||||||
cx.theme().colors().element_hover,
|
cx.theme().colors().element_hover,
|
||||||
cx.theme().colors().element_active,
|
cx.theme().colors().element_active,
|
||||||
),
|
),
|
||||||
|
@ -1428,7 +1428,7 @@ impl Pane {
|
||||||
.id("tab_bar")
|
.id("tab_bar")
|
||||||
.w_full()
|
.w_full()
|
||||||
.flex()
|
.flex()
|
||||||
.bg(cx.theme().colors().tab_bar)
|
.bg(cx.theme().colors().tab_bar_background)
|
||||||
// Left Side
|
// Left Side
|
||||||
.child(
|
.child(
|
||||||
div()
|
div()
|
||||||
|
|
|
@ -44,7 +44,7 @@ impl Render for StatusBar {
|
||||||
.items_center()
|
.items_center()
|
||||||
.justify_between()
|
.justify_between()
|
||||||
.w_full()
|
.w_full()
|
||||||
.bg(cx.theme().colors().status_bar)
|
.bg(cx.theme().colors().status_bar_background)
|
||||||
.child(self.render_left_tools(cx))
|
.child(self.render_left_tools(cx))
|
||||||
.child(self.render_right_tools(cx))
|
.child(self.render_right_tools(cx))
|
||||||
}
|
}
|
||||||
|
|
|
@ -2694,7 +2694,7 @@ impl Workspace {
|
||||||
|
|
||||||
fn render_titlebar(&self, cx: &mut ViewContext<Self>) -> impl Component<Self> {
|
fn render_titlebar(&self, cx: &mut ViewContext<Self>) -> impl Component<Self> {
|
||||||
div()
|
div()
|
||||||
.bg(cx.theme().colors().title_bar)
|
.bg(cx.theme().colors().title_bar_background)
|
||||||
.when(
|
.when(
|
||||||
!matches!(cx.window_bounds(), WindowBounds::Fullscreen),
|
!matches!(cx.window_bounds(), WindowBounds::Fullscreen),
|
||||||
|s| s.pl_20(),
|
|s| s.pl_20(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue