diff options
-rw-r--r-- | style/src/theme.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/style/src/theme.rs b/style/src/theme.rs index ca780457..305c5cc2 100644 --- a/style/src/theme.rs +++ b/style/src/theme.rs @@ -1,4 +1,4 @@ -mod palette; +pub mod palette; pub use self::palette::Palette; @@ -27,7 +27,7 @@ impl Theme { } } - fn extended_palette(&self) -> &palette::Extended { + pub fn extended_palette(&self) -> &palette::Extended { match self { Self::Light => &palette::EXTENDED_LIGHT, Self::Dark => &palette::EXTENDED_DARK, |