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,37 @@
package solarized
import (
"sort"
"sync"
"github.com/taigrr/go-colorpalettes/simplecolor"
)
var (
once sync.Once
colors = simplecolor.SimplePalette{
0x002b36,
0x073642,
0x268bd2,
0x2aa198,
0x586e75,
0x657b83,
0x6c71c4,
0x839496,
0x859900,
0x93a1a1,
0xb58900,
0xcb4b16,
0xd33682,
0xdc322f,
0xeee8d5,
0xfdf6e3,
}
)
func GetPalette() (sp simplecolor.SimplePalette) {
once.Do(func() {
sort.Sort(colors)
})
return colors
}