From: Shannon Sterz <s.sterz@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager 2/2] docs: fix visited link contrast in dark mode
Date: Mon, 8 Jun 2026 10:06:27 +0200 [thread overview]
Message-ID: <20260608080627.38719-3-s.sterz@proxmox.com> (raw)
In-Reply-To: <20260608080627.38719-1-s.sterz@proxmox.com>
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 <s.sterz@proxmox.com>
---
docs/_static/custom.css | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/_static/custom.css b/docs/_static/custom.css
index 7022b532..5aeef4ce 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
prev parent reply other threads:[~2026-06-08 8:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-08 8:06 [PATCH datacenter-manager/proxmox-backup 0/2] adjust contrast for visited links in dark mode in restructured text docs Shannon Sterz
2026-06-08 8:06 ` [PATCH proxmox-backup 1/2] docs: fix visited link contrast in dark mode Shannon Sterz
2026-06-08 8:06 ` Shannon Sterz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260608080627.38719-3-s.sterz@proxmox.com \
--to=s.sterz@proxmox.com \
--cc=pdm-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.