diff --git a/rhombus/frontend/app.tsx b/rhombus/frontend/app.tsx index fe401fe..9775c18 100644 --- a/rhombus/frontend/app.tsx +++ b/rhombus/frontend/app.tsx @@ -207,29 +207,29 @@ const CommandMenu = () => { - - - { - // @ts-ignore - setTheme(false); - setOpen(false); - }} - > - - {translate("light-theme")} - - { - // @ts-ignore - setTheme(true); - setOpen(false); - }} - > - - {translate("dark-theme")} - - + {/* + + { + // @ts-ignore + setTheme(false); + setOpen(false); + }} + > + + {translate("light-theme")} + + { + // @ts-ignore + setTheme(true); + setOpen(false); + }} + > + + {translate("dark-theme")} + + */} ); diff --git a/rhombus/src/builder.rs b/rhombus/src/builder.rs index 641bba4..47db0b5 100644 --- a/rhombus/src/builder.rs +++ b/rhombus/src/builder.rs @@ -848,7 +848,8 @@ impl Builder { let (outbound_mailer, mailgun_router): (Option>, axum::Router) = if let Some(email) = settings.clone().read().await.email.as_ref() { - let logo_path = find_image_file("static/logo") + let logo_path = find_image_file("static/email_logo") + .or_else(|| find_image_file("static/logo")) .map(|p| p.to_str().unwrap().to_owned()) .unwrap_or("static/logo.svg".to_owned()); if email.mailgun.is_some() { diff --git a/rhombus/static/global.js b/rhombus/static/global.js index 849de38..c4a8ebc 100644 --- a/rhombus/static/global.js +++ b/rhombus/static/global.js @@ -36,7 +36,7 @@ const getThemePreference = () => { : "light"; }; const setTheme = (isDark) => { - document.documentElement.classList[isDark ? "add" : "remove"]("dark"); + // document.documentElement.classList[isDark ? "add" : "remove"]("dark"); }; window diff --git a/rhombus/templates/base.html b/rhombus/templates/base.html index 672c1aa..b540510 100644 --- a/rhombus/templates/base.html +++ b/rhombus/templates/base.html @@ -1,5 +1,5 @@ - + diff --git a/rhombus/templates/layout.html b/rhombus/templates/layout.html index 03c5ac0..6d8fc9c 100644 --- a/rhombus/templates/layout.html +++ b/rhombus/templates/layout.html @@ -15,7 +15,7 @@ hx-swap="outerHTML" class="flex" > - + {% include "logo.html" %}