From c40ab3c3da9e74ac97ec6ed07d5c6c4a0641f4a2 Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Mon, 27 Nov 2023 09:11:51 -0500 Subject: [PATCH] Update theme2.rs --- crates/theme2/src/theme2.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/theme2/src/theme2.rs b/crates/theme2/src/theme2.rs index 03407beab9e1d5f0bba67de8294acaeebfdcacd4..c5c79237bacd4cac868ac1c7ac64645d04ce8275 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)]