mirror of
https://github.com/taigrr/simplecolorpalettes.git
synced 2026-04-02 04:59:08 -07:00
31 lines
384 B
Go
31 lines
384 B
Go
package molokai
|
|
|
|
import (
|
|
"sort"
|
|
"sync"
|
|
|
|
"github.com/taigrr/simplecolorpalettes/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
|
|
}
|