Remove unneeded theme function

This also fixes the panic when trying to declare the `GPUIApplication` class.
This commit is contained in:
Marshall Bowers 2023-10-04 13:10:56 -04:00
parent a05cbf8169
commit 0323a60d85
2 changed files with 0 additions and 12 deletions

View file

@ -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::*;

View file

@ -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())
}