Add vim themes

This commit is contained in:
2022-09-28 19:50:20 -07:00
parent c6f329915e
commit 2ffe863e18
64 changed files with 2229 additions and 19 deletions

33
palettes/vim/soda/soda.go Normal file
View File

@@ -0,0 +1,33 @@
package soda
import (
"sort"
"sync"
"github.com/taigrr/go-colorpalettes/simplecolor"
)
var (
once sync.Once
colors = simplecolor.SimplePalette{
0x005f00,
0x008700,
0x00af00,
0x5f0087,
0x767676,
0x875f87,
0x875faf,
0xdf0000,
0xffaf5f,
0xffd75f,
0xffff5f,
0xffffff,
}
)
func GetPalette() (sp simplecolor.SimplePalette) {
once.Do(func() {
sort.Sort(colors)
})
return colors
}