From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 6584F1FF150 for ; Mon, 06 Jul 2026 11:30:34 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 5111E2145E; Mon, 06 Jul 2026 11:30:33 +0200 (CEST) From: Shannon Sterz To: pdm-devel@lists.proxmox.com Subject: [PATCH proxmox-backup v2 1/3] docs: fix visited link contrast in dark mode Date: Mon, 6 Jul 2026 11:30:22 +0200 Message-ID: <20260706093024.111994-2-s.sterz@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260706093024.111994-1-s.sterz@proxmox.com> References: <20260706093024.111994-1-s.sterz@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1783330223931 X-SPAM-LEVEL: Spam detection results: 0 DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: 2DYBF5PVFE23ZAELPGQTIPJI5KGUUMGI X-Message-ID-Hash: 2DYBF5PVFE23ZAELPGQTIPJI5KGUUMGI X-MailFrom: s.sterz@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: by choosing a much lighter purple than the default visited link color as secondary color. this increases the contrast from 1.37 to 7.08. meaning, the text now meets WCAG AAA conditions for accessibility. the light theme is unaffected. Signed-off-by: Shannon Sterz --- docs/_static/custom.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/_static/custom.css b/docs/_static/custom.css index 7022b532b..5aeef4ce3 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -98,6 +98,7 @@ div.document, div.footer { --pdt-grey-100: hsl(0deg, 0%, 10%); --pdt-primary-800: hsl(205deg, 100%, 80%); --pdt-primary-700: hsl(205deg, 100%, 70%); + --pdt-secondary-800: hsl(275deg, 100%, 80%); --pdt-red-200: hsl(360deg, 30%, 20%); --pdt-red-350: hsl(360deg, 30%, 35%); --pdt-yellow-250: hsl(40deg, 100%, 25%); @@ -107,6 +108,7 @@ div.document, div.footer { --pdt-shadow: var(--pdt-grey-100); --pdt-headline: var(--pdt-primary-800); --pdt-link: var(--pdt-primary-700); + --pdt-link-visited: var(--pdt-secondary-800); --pdt-admonition-background: var(--pdt-grey-250); --pdt-topic-background: var(--pdt-grey-200); --pdt-warn: var(--pdt-yellow-250); @@ -136,6 +138,10 @@ div.document, div.footer { background-color: var(--pdt-admonition-background) } + a:visited { + color: var(--pdt-link-visited); + } + div.sphinxsidebar ul ul a { color: var(--pdt-text); border-bottom-color: var(--pdt-border); -- 2.47.3