all repos — honk @ b4fc2757e9371abff06dcda24fa359fcf2ea1b29

my fork of honk

m
Anirudh Oppiliappan x@icyphox.sh
Wed, 21 Aug 2024 00:25:32 +0300
commit

b4fc2757e9371abff06dcda24fa359fcf2ea1b29

parent

2a20b1671d9f032ffffb1023dd104e2e7e4f31ec

2 files changed, 4 insertions(+), 6 deletions(-)

jump to
M views/style.cssviews/style.css

@@ -60,7 +60,7 @@ background: var(--bg-page);

color: var(--fg); font-size: 1rem !important; word-wrap: break-word; - font-family: "InterVar", -apple-system, sans-serif, "Noto Color Emoji"; + font-family: "InterVariable", -apple-system, sans-serif, "Noto Color Emoji"; line-height: 1.2; overscroll-behavior-y: contain; overflow: overlay;

@@ -84,7 +84,7 @@ overflow-x: auto;

} form, input, textarea { - font-family: "InterVar", -apple-system, sans-serif, "Noto Color Emoji"; + font-family: "InterVariable", -apple-system, sans-serif, "Noto Color Emoji"; } p { margin-top: 1em;

@@ -176,7 +176,7 @@ }

label.button, button, select { border: none; font-size: 1rem; - font-family: "InterVar", -apple-system, sans-serif, "Noto Color Emoji"; + font-family: "InterVariable", -apple-system, sans-serif, "Noto Color Emoji"; color: var(--fg); padding: 0.2em; background: var(--bg-dark);
M web.goweb.go

@@ -2620,9 +2620,6 @@ func serveviewasset(w http.ResponseWriter, r *http.Request) {

serveasset(w, r, viewDir) } func servedataasset(w http.ResponseWriter, r *http.Request) { - if r.URL.Path == "/favicon.ico" { - r.URL.Path = "/icon.png" - } serveasset(w, r, dataDir) }

@@ -3213,6 +3210,7 @@ getters.HandleFunc("/local.css", servedataasset)

getters.HandleFunc("/local.js", servedataasset) getters.HandleFunc("/icon.png", servedataasset) getters.HandleFunc("/favicon.ico", servedataasset) + getters.HandleFunc("/apple-touch-icon.png", servedataasset) getters.HandleFunc("/manifest.webmanifest", serveviewasset) getters.HandleFunc("/about", servehtml)