From 71bd9f3effba79111decd0b77e7758a35b79a2a5 Mon Sep 17 00:00:00 2001 From: Andrey Sitnik Date: Thu, 1 Oct 2026 18:00:49 +0000 Subject: [PATCH 1/2] Set theme_color to use for bottom panel in PWA --- web/main/colors.css | 1 + web/public/manifest.webmanifest | 1 + 2 files changed, 2 insertions(+) diff --git a/web/main/colors.css b/web/main/colors.css index 239fa4a0..cc63ee93 100644 --- a/web/main/colors.css +++ b/web/main/colors.css @@ -192,6 +192,7 @@ } .is-comfort-mode { + /* Don’t forget to change public/manifest.webmanifest */ --land-color: oklch(0.25 0.03 70); --main-land-color: oklch(0.3 0.03 70); --secondary-text-color: oklch(0.7 0.05 70); diff --git a/web/public/manifest.webmanifest b/web/public/manifest.webmanifest index b3054380..db67704b 100644 --- a/web/public/manifest.webmanifest +++ b/web/public/manifest.webmanifest @@ -1,6 +1,7 @@ { "name": "Slow Reader", "background_color": "#fcecd9", + "theme_color": "#2b1f11", "display": "standalone", "start_url": "/app", "launch_handler": { From fe98e6eeea3871658c8fe3b498c8a0b0d5c2190c Mon Sep 17 00:00:00 2001 From: Andrey Sitnik Date: Thu, 1 Oct 2026 18:03:30 +0000 Subject: [PATCH 2/2] Add viewport-fit=cover --- web/app.html | 5 ++++- web/main/index.css | 2 +- web/main/sizes.css | 3 +++ web/public/404.html | 5 ++++- web/public/500.html | 5 ++++- web/ui/navbar/index.svelte | 5 ++++- web/ui/popup.svelte | 2 ++ web/ui/popupable-page.svelte | 2 +- web/ui/two-options-page.svelte | 2 +- 9 files changed, 24 insertions(+), 7 deletions(-) diff --git a/web/app.html b/web/app.html index a353a14d..eb505e4f 100644 --- a/web/app.html +++ b/web/app.html @@ -5,7 +5,10 @@ - + Slow Reader - + - +