Remove unneeded theme function
This also fixes the panic when trying to declare the `GPUIApplication` class.
This commit is contained in:
@@ -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())
|
||||
}
|
||||
Reference in New Issue
Block a user