Add vice colorscheme based on vim-vice

This commit is contained in:
Tony Lambiris 2019-02-21 02:51:49 -05:00
parent 0ed7e58984
commit aa56f2b2a6
No known key found for this signature in database
GPG Key ID: 16A33C9959A40DED
2 changed files with 28 additions and 0 deletions

25
colorschemes/vice.go Normal file
View File

@ -0,0 +1,25 @@
package colorschemes
var Vice = Colorscheme{
Fg: 231,
Bg: -1,
BorderLabel: 123,
BorderLine: 102,
CPULines: []int{212, 218, 123, 159, 229, 158, 183, 146},
BattLines: []int{212, 218, 123, 159, 229, 158, 183, 146},
MainMem: 201,
SwapMem: 97,
ProcCursor: 159,
Sparkline: 183,
DiskBar: 158,
TempLow: 49,
TempHigh: 197,
}

View File

@ -83,6 +83,7 @@ Colorschemes:
default-dark (for white background)
solarized
monokai
vice
`
args, err := docopt.ParseArgs(usage, os.Args[1:], version)
@ -126,6 +127,8 @@ func handleColorscheme(cs string) error {
colorscheme = colorschemes.Solarized
case "monokai":
colorscheme = colorschemes.Monokai
case "vice":
colorscheme = colorschemes.Vice
case "default-dark":
colorscheme = colorschemes.DefaultDark
default: