~emersion/soju-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Add a dark mode for the website and documentation

Details
Message ID
<20230820155634.8836-1-porcellis@eletrotupi.com>
DKIM signature
missing
Download raw message
Patch: +34 -0
---
I've come up with those colors for links in an attempt to add a better
contrast against the dark background color. Feel free to change to
something that better matches your taste.

 doc/man-style.css | 19 +++++++++++++++++++
 style.css         | 15 +++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/doc/man-style.css b/doc/man-style.css
index 020b1b8..67b2d80 100644
--- a/doc/man-style.css
+++ b/doc/man-style.css
@@ -34,3 +34,22 @@ p {
pre {
	color: #434241;
}

@media (prefers-color-scheme: dark) {
	body {
		background-color: #111;
		color: #eee;
	}

	a {
		color: #70b5ff;
	}

	a:visited {
		color: #1988ff;
	}

	pre {
		color: #9d9d9d;
	}
}
diff --git a/style.css b/style.css
index 77ec733..2c80c4d 100644
--- a/style.css
+++ b/style.css
@@ -19,3 +19,18 @@ a {
a:visited {
	color: #003e80;
}

@media (prefers-color-scheme: dark) {
	body {
		background-color: #111;
		color: #eee;
	}

	a {
		color: #70b5ff;
	}

	a:visited {
		color: #1988ff;
	}
}

base-commit: 3f711681cd50839f14aac6276f89e6e032f574cb
-- 
2.40.1
Details
Message ID
<bzJxlN2gNg1gYN1TCNWpdAmRgD07aDjMTP00-6xxeREQX1NPpVnS0R2ds4MeuFLATYLlScmN0PlRa2BxKF9lYvQ5NRPPSxYIbqJ1nPxXvms=@emersion.fr>
In-Reply-To
<20230820155634.8836-1-porcellis@eletrotupi.com> (view parent)
DKIM signature
missing
Download raw message
Pushed, thank you!
Reply to thread Export thread (mbox)