Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove unneeded `theme` function

Marshall Bowers0323a60d85ee
diff --git a/crates/storybook2/src/ui.rs b/crates/storybook2/src/ui.rs
index bac8dc9dcc4..8b09f6f0ffc 100644
--- a/crates/storybook2/src/ui.rs
+++ b/crates/storybook2/src/ui.rs
@@ -2,11 +2,9 @@ mod children;
mod components;
mod elements;
pub mod prelude;
-mod theme;
mod tokens;
pub use children::*;
pub use components::*;
pub use elements::*;
-pub use theme::*;
pub use tokens::*;
diff --git a/crates/storybook2/src/ui/theme.rs b/crates/storybook2/src/ui/theme.rs
deleted file mode 100644
index d81dc444d4e..00000000000
--- a/crates/storybook2/src/ui/theme.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-use std::sync::Arc;
-
-use gpui3::WindowContext;
-
-use crate::theme::Theme;
-use crate::themes::rose_pine_dawn;
-
-pub fn theme(cx: &WindowContext) -> Arc<Theme> {
- Arc::new(rose_pine_dawn())
-}