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 molokai
import (
"sort"
"sync"
"github.com/taigrr/go-colorpalettes/simplecolor"
)
var (
once sync.Once
colors = simplecolor.SimplePalette{
0x080808,
0x1b1d1e,
0x232526,
0x465457,
0x66d9ef,
0xa6e22e,
0xe6db74,
0xf8f8f0,
0xf92672,
}
)
func GetPalette() (sp simplecolor.SimplePalette) {
once.Do(func() {
sort.Sort(colors)
})
return colors
}