Merge pull request #1831 from zed-industries/theme-tweaks

Theme tweaks
This commit is contained in:
Nate Butler 2022-11-02 10:04:55 -04:00 committed by GitHub
commit 6a07f59d34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
73 changed files with 401 additions and 117 deletions

View file

@ -1298,7 +1298,7 @@ impl Pane {
ConstrainedBox::new(if hovered {
let item_id = item.id();
enum TabCloseButton {}
let icon = Svg::new("icons/x_mark_thin_8.svg");
let icon = Svg::new("icons/x_mark_8.svg");
MouseEventHandler::<TabCloseButton>::new(item_id, cx, |mouse_state, _| {
if mouse_state.hovered() {
icon.with_color(tab_style.icon_close_active).boxed()
@ -1361,7 +1361,7 @@ impl Pane {
// Add the close dock button if this pane is a dock
.with_children(
self.docked
.map(|_| tab_bar_button(3, "icons/x_mark_thin_8.svg", cx, |_| HideDock)),
.map(|_| tab_bar_button(3, "icons/x_mark_8.svg", cx, |_| HideDock)),
)
.contained()
.with_style(theme.workspace.tab_bar.pane_button_container)