~bzg/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 subscribe] Add automatic dark theme

Details
Message ID
<20220420182602.37975-1-lucien@phundrak.com>
DKIM signature
pass
Download raw message
Patch: +12 -2
This commit adds an automatic dark theme for dark theme users
depending on their OS’ preference.
---
 index.css | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/index.css b/index.css
index 0752927..b28a063 100644
--- a/index.css
+++ b/index.css
@@ -1,6 +1,16 @@
:root {
    color-scheme: light dark;
}

body {
    width: 70%;
    width: 70%;
    margin: auto;
    font-size: 12pt;
}

@media (prefers-color-scheme: dark) {
    body {
        background: white;
        color: black;
    }
}
--
2.36.0
Details
Message ID
<87wnfj6ood.fsf@gnu.org>
In-Reply-To
<20220420182602.37975-1-lucien@phundrak.com> (view parent)
DKIM signature
pass
Download raw message
Lucien Cartier-Tilet <lucien@phundrak.com> writes:

> This commit adds an automatic dark theme for dark theme users
> depending on their OS’ preference.

Applied, thanks!

PS: I fixed the README.md instructions with respect to adding
the [PATCH emacs-doctor.com] prefix for the subject line.

-- 
 Bastien
Reply to thread Export thread (mbox)