[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
checking for light or dark background
From: |
goncholden |
Subject: |
checking for light or dark background |
Date: |
Wed, 02 Feb 2022 13:25:38 +0000 |
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, February 2nd, 2022 at 12:56 PM, Eli Zaretskii <eliz@gnu.org>
wrote:
> Date: Wed, 02 Feb 2022 09:26:02 +0000
>
> From: goncholden via Users list for the GNU Emacs text editor
> help-gnu-emacs@gnu.org
>
> I want to determine whether emacs is using a light or dark background. This
> could be set up by emacs itself
>
> or by a theme.
Like this:
(frame-parameter nil 'background-mode)
This evaluates to either light or dark. Very neat compared to what I was
playing with initially.
Re: checking for light or dark background, James Cloos, 2022/02/07