2019-10-02 09:17:53 +08:00
|
|
|
/*
|
|
|
|
The standard 256 terminal colors are supported.
|
|
|
|
|
|
|
|
-1 = clear
|
|
|
|
|
|
|
|
You can combine a color with 'Bold', 'Underline', or 'Reverse' by using bitwise OR ('|') and the name of the Color.
|
|
|
|
For example, to get Bold red Labels, you would do 'Labels: 2 | Bold'.
|
|
|
|
|
|
|
|
Once you've created a colorscheme, add an entry for it in the `handleColorscheme` function in 'main.go'.
|
|
|
|
*/
|
|
|
|
|
|
|
|
package colorschemes
|
|
|
|
|
2020-02-18 01:40:16 +08:00
|
|
|
func init() {
|
|
|
|
register("nord", Colorscheme{
|
|
|
|
Name: "A Nord Approximation",
|
|
|
|
Author: "@jrswab",
|
|
|
|
Fg: 254, // lightest
|
|
|
|
Bg: -1,
|
2019-10-02 09:17:53 +08:00
|
|
|
|
2020-02-18 01:40:16 +08:00
|
|
|
BorderLabel: 254,
|
|
|
|
BorderLine: 96, // Purple
|
2019-10-02 09:17:53 +08:00
|
|
|
|
2020-02-18 01:40:16 +08:00
|
|
|
CPULines: []int{4, 3, 2, 1, 5, 6, 7, 8},
|
2019-10-02 09:17:53 +08:00
|
|
|
|
2020-02-18 01:40:16 +08:00
|
|
|
BattLines: []int{4, 3, 2, 1, 5, 6, 7, 8},
|
2019-10-02 09:17:53 +08:00
|
|
|
|
2020-02-29 00:03:41 +08:00
|
|
|
MemLines: []int{172, 221, 4, 3, 2, 1, 5, 6, 7, 8},
|
2019-10-02 09:17:53 +08:00
|
|
|
|
2020-02-18 01:40:16 +08:00
|
|
|
ProcCursor: 31, // blue (nord9)
|
2019-10-02 09:17:53 +08:00
|
|
|
|
2022-03-26 16:09:34 +08:00
|
|
|
Sparklines: [2]int{31, 96},
|
2019-10-02 09:17:53 +08:00
|
|
|
|
2020-02-18 01:40:16 +08:00
|
|
|
DiskBar: 254,
|
2019-10-02 09:17:53 +08:00
|
|
|
|
2020-02-18 01:40:16 +08:00
|
|
|
TempLow: 64, // green
|
|
|
|
TempHigh: 167, // red
|
|
|
|
})
|
2019-10-02 09:17:53 +08:00
|
|
|
}
|