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 unused `color_scheme` field in the theme

Nate Butler5a1476a1e58c
diff --git a/crates/theme/src/theme.rs b/crates/theme/src/theme.rs
index e54dcdfd1e9..20f07878267 100644
--- a/crates/theme/src/theme.rs
+++ b/crates/theme/src/theme.rs
@@ -65,7 +65,6 @@ pub struct Theme {
pub assistant: AssistantStyle,
pub feedback: FeedbackStyle,
pub welcome: WelcomeStyle,
- pub color_scheme: ColorScheme,
pub titlebar: Titlebar,
}
diff --git a/styles/src/style_tree/app.ts b/styles/src/style_tree/app.ts
index e4bf232b624..ccfdd60a981 100644
--- a/styles/src/style_tree/app.ts
+++ b/styles/src/style_tree/app.ts
@@ -57,21 +57,6 @@ export default function app(): any {
tooltip: tooltip(),
terminal: terminal(),
assistant: assistant(),
- feedback: feedback(),
- color_scheme: {
- ...theme,
- players: Object.values(theme.players),
- ramps: {
- neutral: theme.ramps.neutral.colors(100, "hex"),
- red: theme.ramps.red.colors(100, "hex"),
- orange: theme.ramps.orange.colors(100, "hex"),
- yellow: theme.ramps.yellow.colors(100, "hex"),
- green: theme.ramps.green.colors(100, "hex"),
- cyan: theme.ramps.cyan.colors(100, "hex"),
- blue: theme.ramps.blue.colors(100, "hex"),
- violet: theme.ramps.violet.colors(100, "hex"),
- magenta: theme.ramps.magenta.colors(100, "hex"),
- },
- },
+ feedback: feedback()
}
}