[Top][All Lists]

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

Re: Why do themes stack?

From: Artur Malabarba
Subject: Re: Why do themes stack?
Date: Sat, 31 Jan 2015 11:56:08 -0200

Because then you can have different themes which apply to different faces.

For instance, if you really like Magit you could release a theme that only
customizes Magit faces.

If themes didn't stack, nobody would ever use your theme because it doesn't
do anything outside Magit buffers. Since themes DO stack, users can use
your theme in addition to their global theme. This way, people get all the
Magit-dedicated love of your theme while still having another nice theme
everywhere else.

The fact that extremely few special themes like this exist is a shame. It
increases confusion on the users, and increases pressure on the theme
developers to support every single major-mode under the sun.
On 31 Jan 2015 12:54, "Tory S. Anderson" <> wrote:

> Throughout my work day I'll switch themes now and again to go from high
> contrast to lower, or from dark to light. This process requires disabling
> the present theme and then loading the next theme; if you forget to
> disable, the themes stack, usually with undesirable consequences.
> Why is it implemented this way? Does anyone out there actually gain
> utility from theme stacking? Or am I doing something wrong? I would think
> the simpler implementation would simply to have "load theme" automatically
> disable the present theme, which is both conceptually and pragmatically
> easier. But the manual doesn't seem to mention much about themes, so I
> haven't found an explanation (or possible use) for this stacking
> implementation.

reply via email to

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