xmtop/colorschemes/solarized.go

31 lines
560 B
Go
Raw Normal View History

2018-02-21 18:24:36 +08:00
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.
func init() {
register("solarized", Colorscheme{
Fg: -1,
Bg: -1,
2018-02-21 18:24:36 +08:00
BorderLabel: -1,
BorderLine: 37,
2018-02-21 18:24:36 +08:00
CPULines: []int{61, 33, 37, 64, 125, 160, 166, 136},
2018-02-21 18:24:36 +08:00
BattLines: []int{61, 33, 37, 64, 125, 160, 166, 136},
MainMem: 125,
SwapMem: 166,
2018-02-21 18:24:36 +08:00
ProcCursor: 136,
2018-02-21 18:24:36 +08:00
Sparkline: 33,
2018-02-21 18:24:36 +08:00
DiskBar: 243,
2018-02-21 18:24:36 +08:00
TempLow: 64,
TempHigh: 160,
})
2018-02-21 18:24:36 +08:00
}