xmtop/colorschemes/solarized.go

30 lines
593 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},
2020-02-29 00:03:41 +08:00
MemLines: []int{125, 166, 61, 33, 37, 64, 125, 160, 166, 136},
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
}