Hi,

When it comes to Solarized, there are 18 color slots of interest:
- the default background and foreground,
- and the 16 palette colors.

The Solarized homepage clearly defines the 16 palette colors,
including their mapping to the 0-15 indices. It does _not_ define two
different mappings, it does _not_ define a Dark and a Light color
palette. (It defines two different recommended ways of picking colors
from that one palette.) In this regard, as per the linked upstream
bug, the new behavior is the correct. The old Light palette, where
indices 0 and 8 were dark, 7 and 15 were bright, and the rest of the
gray entries were also reversed, was incorrect, something nowhere
defined on the Solarized homepage. (I downgraded to now 3.5 to test
it. It comes directly from Sakura, not some underlying library.)

The default background and foreground colors aren't defined by the
standard, since Solarized defines 16 colors only (and their mapping to
the 16 numbered color slots) and doesn't know anything about the
concept of "default fg and bg color" in terminals. Most terminal
emulators offer two of the 16 Solarized colors for these purposes, as
it's implicitly suggested by Solarized's homepage, and this is where
the Dark and Light variants differ.

So the question, and accordingly the bug is:

Does Sakura's Options -> More -> Set palette menu intend to set the
default background and foreground colors?
- If yes then it's a bug that it doesn't do so.
- If no then it's really unfortunate (read: bug) that it offer two
equivalent schemes named "Solarized dark" and "Solarized light" rather
than just simply one called "Solarized".

cheers,
e.

Reply via email to