xmtop/colorschemes/solarized.go
Markus Peloquin 44b8ac9c1a Solarized theme fixes
The Solarized theme doesn't work well on light themes. (Light/dark have
identical palettes, but the foreground/background colors are different
and greys obviously get used differently.)

This commit makes the 'solarized' theme use the foreground color instead
of '250' and use the average of base00 and base0 for DiskBar. (These
greys are already close to 50%.)

This commit also adds two 16-color themes utilizing the extra violet/
orange colors, and uses the appropriate grey color for DiskBar.
2020-02-13 12:39:08 -06:00

29 lines
522 B
Go

package colorschemes
// This is a neutral version of the Solarized 256-color palette. The exception
// is that the one grey color uses the average of base0 and base00, which are
// already middle of the road.
var Solarized = Colorscheme{
Fg: -1,
Bg: -1,
BorderLabel: -1,
BorderLine: 37,
CPULines: []int{61, 33, 37, 64, 125, 160, 166, 136},
BattLines: []int{61, 33, 37, 64, 125, 160, 166, 136},
MainMem: 125,
SwapMem: 166,
ProcCursor: 136,
Sparkline: 33,
DiskBar: 243,
TempLow: 64,
TempHigh: 160,
}