Files
simplecolorpalettes/palettes/vim/owo/owo.go
2022-09-28 19:50:20 -07:00

38 lines
461 B
Go

package owo
import (
"sort"
"sync"
"github.com/taigrr/go-colorpalettes/simplecolor"
)
var (
once sync.Once
colors = simplecolor.SimplePalette{
0x00afff,
0x303030,
0x3a3a3a,
0x444444,
0x5faf00,
0x8787ff,
0x87afd7,
0x87afff,
0x87d787,
0x87d7ff,
0xafafd7,
0xafd787,
0xb2b2b2,
0xd78787,
0xd7af5f,
0xd7afd7,
}
)
func GetPalette() (sp simplecolor.SimplePalette) {
once.Do(func() {
sort.Sort(colors)
})
return colors
}