From d37785c214fe11777ea2412f97611f666b0aaf6f Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Fri, 6 Oct 2023 15:46:02 -0400 Subject: [PATCH] Fix icon paths --- crates/storybook2/src/collab_panel.rs | 4 ++-- crates/storybook2/src/workspace.rs | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/storybook2/src/collab_panel.rs b/crates/storybook2/src/collab_panel.rs index 7af421f1b49ae5e5a0d303ac4f4ac41bf83a9b96..8117bca4b37bba611661dac0bc26bc4ddca88c4e 100644 --- a/crates/storybook2/src/collab_panel.rs +++ b/crates/storybook2/src/collab_panel.rs @@ -131,9 +131,9 @@ impl CollabPanel { div().flex().h_full().gap_1().items_center().child( svg() .path(if expanded { - "icons/radix/caret-down.svg" + "icons/caret_down.svg" } else { - "icons/radix/caret-up.svg" + "icons/caret_up.svg" }) .w_3p5() .h_3p5() diff --git a/crates/storybook2/src/workspace.rs b/crates/storybook2/src/workspace.rs index 99841322914d07c74bcefe2e4c8085e9baeedcc3..7af49f4b0f7c6838a212a1c0ecab5948d646e721 100644 --- a/crates/storybook2/src/workspace.rs +++ b/crates/storybook2/src/workspace.rs @@ -218,7 +218,7 @@ impl Titlebar { // .fill(theme.lowest.base.pressed.background) .child( svg() - .path("icons/microphone.svg") + .path("icons/mic.svg") .size_3p5() .fill(theme.lowest.base.default.foreground), ), @@ -238,7 +238,7 @@ impl Titlebar { // .fill(theme.lowest.base.pressed.background) .child( svg() - .path("icons/radix/speaker-loud.svg") + .path("icons/speaker-loud.svg") .size_3p5() .fill(theme.lowest.base.default.foreground), ), @@ -258,7 +258,7 @@ impl Titlebar { // .fill(theme.lowest.base.pressed.background) .child( svg() - .path("icons/radix/desktop.svg") + .path("icons/desktop.svg") .size_3p5() .fill(theme.lowest.base.default.foreground), ), @@ -290,7 +290,7 @@ impl Titlebar { ) .child( svg() - .path("icons/caret_down_8.svg") + .path("icons/caret_down.svg") .w_2() .h_2() .fill(theme.lowest.variant.default.foreground),