[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ELPA: New package: nano-theme

From: Stefan Monnier
Subject: Re: ELPA: New package: nano-theme
Date: Wed, 29 Sep 2021 08:18:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> I search for how to apply a theme to a single frame but did not find any
> obvious way.

Custom themes are sets of user settings (i.e. affecting typically
variables and faces), so they're naturally global.

So you can't have that "single frame" effect directly by specifying face
settings in the theme.

What you can do instead is:
- You can have a custom theme set a particular minor mode (provided as
  part of the theme, for example) and arrange for that minor mode to
  affect faces in a single frame.
- You can use the DISPLAY spec of face settings to restrict your face
  settings to specific classes of frames.  The DISPLAY specs could be
  extended to be more flexible if needed (file a bug report for that).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]