From cad3fc94c88dce118a60afc5b802ebaf73d04082 Mon Sep 17 00:00:00 2001 From: glyph Date: Sun, 20 Mar 2022 15:36:37 +0200 Subject: [PATCH] update theme import --- peach-web/src/templates/nav.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/peach-web/src/templates/nav.rs b/peach-web/src/templates/nav.rs index 221aa6b..98136c4 100644 --- a/peach-web/src/templates/nav.rs +++ b/peach-web/src/templates/nav.rs @@ -1,6 +1,6 @@ use maud::{html, PreEscaped}; -use crate::utils; +use crate::utils::theme; /// Navigation template builder. /// @@ -11,7 +11,7 @@ pub fn build_template( back: Option<&str>, ) -> PreEscaped { // retrieve the current theme value - let theme = utils::get_theme(); + let theme = theme::get_theme(); // conditionally render the hermies icon and theme-switcher icon with correct link let (hermies, switcher) = match theme.as_str() {