Remove old themes using UserTheme constructs (#6897)

This PR removes the themes defined using the `UserTheme` types, as we're
now loading the themes via JSON.

The `theme_importer` has also been reworked to read in a VS Code theme
and output a new JSON theme.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2024-01-27 16:55:37 -05:00
committed by GitHub
parent 5f1dcb76fe
commit 9b453d2cbc
24 changed files with 142 additions and 23067 deletions
-6
View File
@@ -15,9 +15,6 @@ mod scale;
mod schema;
mod settings;
mod styles;
#[cfg(not(feature = "importing-themes"))]
mod themes;
mod user_theme;
use std::sync::Arc;
@@ -29,9 +26,6 @@ pub use scale::*;
pub use schema::*;
pub use settings::*;
pub use styles::*;
#[cfg(not(feature = "importing-themes"))]
pub use themes::*;
pub use user_theme::*;
use gpui::{AppContext, AssetSource, Hsla, SharedString};
use serde::Deserialize;