Logo única: guara.png e guara-s.png

A variante clara tinha artefatos; a arte escura recortada serve aos dois temas. Saem a troca de
variante por tema, os arquivos -light e a fonte clara; os arquivos escuros viram guara.png e
guara-s.png e o script, o app, o servidor do guara ui e o README usam só eles.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Sonnet 5.5 committed 2026-10-23 11:58:39 -03:00
1 parent 9c09f5dd8a
commit 0a9622fb96
13 files changed
+32 -53

No files matched your search

+6 -14
View File
@@ -13,10 +13,8 @@ const PREVIEW_JS: &str = include_str!("../../../apps/gui/ui/preview.js");
const I18N_JS: &str = include_str!("../../../apps/gui/ui/i18n.js");
const I18N_EN_JS: &str = include_str!("../../../apps/gui/ui/i18n-en.js");
const EXPLORER_JS: &str = include_str!("../../../apps/gui/ui/explorer.js");
const LOGO_DARK: &[u8] = include_bytes!("../../../apps/gui/ui/guara-dark.png");
const LOGO_LIGHT: &[u8] = include_bytes!("../../../apps/gui/ui/guara-light.png");
const LOGO_DARK_S: &[u8] = include_bytes!("../../../apps/gui/ui/guara-dark-s.png");
const LOGO_LIGHT_S: &[u8] = include_bytes!("../../../apps/gui/ui/guara-light-s.png");
const LOGO: &[u8] = include_bytes!("../../../apps/gui/ui/guara.png");
const LOGO_S: &[u8] = include_bytes!("../../../apps/gui/ui/guara-s.png");
const PDF_JS: &str = include_str!("../../../apps/gui/ui/vendor/pdf.min.mjs");
const PDF_WORKER: &str = include_str!("../../../apps/gui/ui/vendor/pdf.worker.min.mjs");
@@ -100,17 +98,11 @@ fn handle(req: Request, eng: &Engine, token: &str, hosts: &[String]) {
Response::from_string(I18N_EN_JS).with_header(ct("text/javascript; charset=utf-8")),
);
}
(Method::Get, "/guara-dark.png") => {
let _ = req.respond(Response::from_data(LOGO_DARK).with_header(ct("image/png")));
(Method::Get, "/guara.png") => {
let _ = req.respond(Response::from_data(LOGO).with_header(ct("image/png")));
}
(Method::Get, "/guara-light.png") => {
let _ = req.respond(Response::from_data(LOGO_LIGHT).with_header(ct("image/png")));
}
(Method::Get, "/guara-dark-s.png") => {
let _ = req.respond(Response::from_data(LOGO_DARK_S).with_header(ct("image/png")));
}
(Method::Get, "/guara-light-s.png") => {
let _ = req.respond(Response::from_data(LOGO_LIGHT_S).with_header(ct("image/png")));
(Method::Get, "/guara-s.png") => {
let _ = req.respond(Response::from_data(LOGO_S).with_header(ct("image/png")));
}
(Method::Get, "/explorer.js") => {
let _ = req.respond(