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::*;
Marshall Bowers created
This also fixes the panic when trying to declare the `GPUIApplication` class.
crates/storybook2/src/ui.rs | 2 --
crates/storybook2/src/ui/theme.rs | 10 ----------
2 files changed, 12 deletions(-)
@@ -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::*;
@@ -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())
-}