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 `Default` impl` for `ThemeColors` (#3226)

Marshall Bowersfa7d6c0e7022
diff --git a/crates/theme2/src/colors.rs b/crates/theme2/src/colors.rs
index 422e33e4f84..38ae1325a0e 100644
--- a/crates/theme2/src/colors.rs
+++ b/crates/theme2/src/colors.rs
@@ -48,7 +48,7 @@ pub struct GitStatusColors {
pub renamed: Hsla,
}
-#[derive(Refineable, Clone, Debug, Default)]
+#[derive(Refineable, Clone, Debug)]
#[refineable(debug)]
pub struct ThemeColors {
pub border: Hsla,
@@ -94,6 +94,8 @@ pub struct ThemeColors {
#[derive(Refineable, Clone)]
pub struct ThemeStyles {
pub system: SystemColors,
+
+ #[refineable]
pub colors: ThemeColors,
pub status: StatusColors,
pub git: GitStatusColors,