[PATCH gnunet-gns-registrar] Fix white text on white background

NoĆ© Lopez via Mailinglist for GNUnet developers <[email protected]> Mon, 18 Aug 2025 16:04:54 +0200
Newsgroups gmane.network.gnunet.devel
Message-ID <[email protected]>
--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Martin,

Sending this to you since you seem to be the only author of
gnunet-gns-registrar.

I saw on https://fcfs.gnunet.org/ that there was invisible text, so I
made a quick patch to make it readable (attached).

Have a nice day!
No=C3=A9


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline;
 filename=0001-Fix-white-on-white-text-on-landing-page.patch
Content-Transfer-Encoding: quoted-printable

From=202759a60b2b25946e1981d44ad59961e22f769a3b Mon Sep 17 00:00:00 2001
From: =3D?UTF-8?q?No=3DC3=3DA9=3D20Lopez?=3D <[email protected]>
Date: Mon, 18 Aug 2025 15:58:46 +0200
Subject: [PATCH] Fix white on white text on landing page

In the bootstrap theme used (Zephyr), the text-secondary is fully
white for some reason, we remove it to get normal text color.

Another option would be to use text-body-secondary, but it seemed like
it still had low contrast on the grey background.
=2D--
 web/templates/landing.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/templates/landing.html b/web/templates/landing.html
index f3913b2..c700be3 100644
=2D-- a/web/templates/landing.html
+++ b/web/templates/landing.html
@@ -13,7 +13,7 @@
     {{ template "nav.html" . }}
     <div class=3D"container pt-5">
       <h1 class=3D"text-center mb-5">
=2D        <span class=3D"text-center fs-5 text-secondary">Zone:<br/> <span=
 style=3D"display: inline-block; overflow-x: auto; border: 1px solid #ddd; =
border-radius: 5px; padding: 0.5em; background-color: #eee; width: 75%; whi=
te-space: nowrap; font-size: 0.75em">.{{.suffixHint}} =3D {{.zoneKey}}</spa=
n></span>
+        <span class=3D"text-center fs-5">Zone:<br/> <span style=3D"display=
: inline-block; overflow-x: auto; border: 1px solid #ddd; border-radius: 5p=
x; padding: 0.5em; background-color: #eee; width: 75%; white-space: nowrap;=
 font-size: 0.75em">.{{.suffixHint}} =3D {{.zoneKey}}</span></span>
       </h1>
       {{if .error}}
       <div class=3D"container pt-5">
=2D-=20
2.50.1


--=-=-=--

--==-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQHGBAEBCAAwFiEEXVTPJVeyOOiNwYCiLSIyQQq3QEMFAmijMwYSHG5vZUB4bi0t
bm8tY2phLmV1AAoJEC0iMkEKt0BD8DAMAI0TWcAvkcj8j9QirC6Y6dgZWb3NMD0b
LYqBy0F7nE9cpFoTmbNAM2OfhNqNGrnQ6RjtHOwds+8Dak9FBhsqb7bbf7HJddwG
BDe+FVEXOD9EHkAy3F2BTiRAuP62SiH01NyAgF+5886LnlHApoM63l8ifAPGufuE
w9FwUgi83J0KFU7d599awT6xTE+XK8UUyn0XIy+TSICLh1Y5GFnbctCklHSSi4eD
ZiwPWhgxyqc7pMrPIMvgcPdI1v9nRozfH3sYUsNJ5DpSBR2aDnjEbHEFCsin6BqS
mdALShKHnSHOj+f+YZo9Q/Hozzf1iOelzX3jJdAUHjnETjIIPI+SMB9fgDSGqriK
pOq6GmcKtHh93igzLdaV2wsUy5Vn7NtwZxILZAQ8JBg/vEAlWJN/ZnWvrCj3Vehh
h85hXbi2BPRrSgOojVECOD77aEaI3TNdAhJPFnDRoazcglLAsYaj6WhL3S9pGKjg
RJAypnaA5aFTXz9Mfn0vICUXdw7aK72iBQ==
=4fRE
-----END PGP SIGNATURE-----
--==-=-=--