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.

Update theme2.rs

Nate Butlerc40ab3c3da9e
diff --git a/crates/theme2/src/theme2.rs b/crates/theme2/src/theme2.rs
index 03407beab9e..c5c79237bac 100644
--- a/crates/theme2/src/theme2.rs
+++ b/crates/theme2/src/theme2.rs
@@ -134,6 +134,12 @@ impl Theme {
ignored: self.status().ignored,
}
}
+
+ /// Returns the [`Appearance`] for the theme.
+ #[inline(always)]
+ pub fn appearance(&self) -> Appearance {
+ self.appearance
+ }
}
#[derive(Clone, Debug, Default)]