Add icon sets for sizes 8, 12 and 16, remove old icons
This commit is contained in:
@@ -915,7 +915,7 @@ impl Pane {
|
||||
ConstrainedBox::new(if mouse_state.hovered {
|
||||
let item_id = item.id();
|
||||
enum TabCloseButton {}
|
||||
let icon = Svg::new("icons/x.svg");
|
||||
let icon = Svg::new("icons/x_mark_thin_8.svg");
|
||||
MouseEventHandler::new::<TabCloseButton, _, _>(
|
||||
item_id,
|
||||
cx,
|
||||
@@ -1002,7 +1002,7 @@ impl View for Pane {
|
||||
let theme = &cx.global::<Settings>().theme.workspace;
|
||||
let style =
|
||||
theme.pane_button.style_for(mouse_state, false);
|
||||
Svg::new("icons/split.svg")
|
||||
Svg::new("icons/split_12.svg")
|
||||
.with_color(style.color)
|
||||
.constrained()
|
||||
.with_width(style.icon_width)
|
||||
|
||||
@@ -118,7 +118,7 @@ impl View for Toolbar {
|
||||
.with_child(
|
||||
Flex::row()
|
||||
.with_child(nav_button(
|
||||
"icons/Icon16ArrowLeft.svg",
|
||||
"icons/arrow_left_16.svg",
|
||||
button_style,
|
||||
tooltip_style.clone(),
|
||||
enable_go_backward,
|
||||
@@ -131,7 +131,7 @@ impl View for Toolbar {
|
||||
cx,
|
||||
))
|
||||
.with_child(nav_button(
|
||||
"icons/Icon16ArrowRight.svg",
|
||||
"icons/arrow_right_16.svg",
|
||||
button_style,
|
||||
tooltip_style.clone(),
|
||||
enable_go_forward,
|
||||
|
||||
@@ -1795,7 +1795,7 @@ impl Workspace {
|
||||
Container::new(
|
||||
Align::new(
|
||||
ConstrainedBox::new(
|
||||
Svg::new("icons/offline-14.svg")
|
||||
Svg::new("icons/cloud_slash_12.svg")
|
||||
.with_color(theme.workspace.titlebar.offline_icon.color)
|
||||
.boxed(),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user