mirror of
https://github.com/taigrr/simplecolorpalettes.git
synced 2026-04-02 04:59:08 -07:00
33 lines
406 B
Go
33 lines
406 B
Go
package raven
|
|
|
|
import (
|
|
"sort"
|
|
"sync"
|
|
|
|
"github.com/taigrr/simplecolorpalettes/simplecolor"
|
|
)
|
|
|
|
var (
|
|
once sync.Once
|
|
colors = simplecolor.SimplePalette{
|
|
0x11c279,
|
|
0x222222,
|
|
0x2e2e2e,
|
|
0x5e5e5e,
|
|
0x6565ff,
|
|
0xa4c639,
|
|
0xc8c8c8,
|
|
0xe25000,
|
|
0xe60000,
|
|
0xff0000,
|
|
0xff2121,
|
|
}
|
|
)
|
|
|
|
func GetPalette() (sp simplecolor.SimplePalette) {
|
|
once.Do(func() {
|
|
sort.Sort(colors)
|
|
})
|
|
return colors
|
|
}
|