Expose palette module in theme
This commit is contained in:
parent
77dc9dc2cb
commit
1388d71f03
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue