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

View File

@@ -0,0 +1,30 @@
package fruit_punch
import (
"sort"
"sync"
"github.com/taigrr/go-colorpalettes/simplecolor"
)
var (
once sync.Once
colors = simplecolor.SimplePalette{
0x303030,
0x3a3a3a,
0x444444,
0x79e5e0,
0xb2b2b2,
0xe8a15a,
0xf29db4,
0xf97070,
0xfce78d,
}
)
func GetPalette() (sp simplecolor.SimplePalette) {
once.Do(func() {
sort.Sort(colors)
})
return colors
}