Merge pull request #115 from tonylambiris/tl/add-vice-colorscheme

Add vice colorscheme based on vim-vice
This commit is contained in:
Caleb Bassi 2019-02-21 19:58:27 -08:00 committed by GitHub
commit 49c411b607
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: