From bb9ff3b4bad1dd584e5943505e8780e22078c4a9 Mon Sep 17 00:00:00 2001 From: James Coleman Date: Fri, 5 Jun 2026 13:05:00 -0500 Subject: [PATCH] Fix dark mode visited link color to prevent browser default purple Add a:visited alongside a:link so visited links inherit the correct color in both light and dark mode, instead of falling back to the browser's default dark purple. --- mirror-file-generator/templates/default/header.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mirror-file-generator/templates/default/header.html b/mirror-file-generator/templates/default/header.html index 7535cea..9b6e408 100644 --- a/mirror-file-generator/templates/default/header.html +++ b/mirror-file-generator/templates/default/header.html @@ -29,7 +29,8 @@ padding-bottom: 40px; text-align: center; } - .repo-list a:link { + .repo-list a:link, + .repo-list a:visited { color: #000; text-decoration: none; } @@ -93,7 +94,8 @@ background-color: #1e1e1e; color: #e0e0e0; } - .repo-list a:link { + .repo-list a:link, + .repo-list a:visited { color: #e0e0e0; } .repo {