From 4074478b05501734ae8f3f804758eb387f147cfb Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Tue, 11 Jun 2024 00:56:23 +0300 Subject: [PATCH] feat: change font --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index a9bcc40..5368f3f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -65,7 +65,7 @@ async fn show_art(state: State) -> AppResult } const BODY_STYLE: &str = -"margin: 0px; background: #0e0e0e; height: 100vh; width: 100vw; display: flex; font-family: \"Kode Mono\", monospace; font-weight: 400; font-style: normal; font-optical-sizing: auto;"; +"margin: 0px; background: #0e0e0e; height: 100vh; width: 100vw; display: flex; font-family: \"Cutive Mono\", monospace; font-weight: 400; font-style: normal; font-optical-sizing: auto;"; const IMG_STYLE: &str = "display: block; margin: auto; max-height: 100vh; max-width: 100vw;"; const ABOUT_STYLE: &str = "position: absolute; bottom: 0; font-size: 0.75em; color: #ffffff; background-color: #0e0e0eaa;"; @@ -75,7 +75,7 @@ fn get_page_head_common() -> PreEscaped { meta charset="utf8"; link rel="preconnect" href="https://fonts.googleapis.com"; link rel="preconnect" href="https://fonts.gstatic.com" crossorigin; - link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Kode+Mono&display=swap"; + link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Cutive+Mono&display=swap"; title { (title) } } }