mirror of
https://github.com/taigrr/simplecolorpalettes.git
synced 2026-04-02 04:59:08 -07:00
Add vim themes
This commit is contained in:
42
palettes/vim/cool/cool.go
Normal file
42
palettes/vim/cool/cool.go
Normal file
@@ -0,0 +1,42 @@
|
||||
package cool
|
||||
|
||||
import (
|
||||
"sort"
|
||||
"sync"
|
||||
|
||||
"github.com/taigrr/go-colorpalettes/simplecolor"
|
||||
)
|
||||
|
||||
var (
|
||||
once sync.Once
|
||||
colors = simplecolor.SimplePalette{
|
||||
0x005f87,
|
||||
0x008787,
|
||||
0x0087af,
|
||||
0x00afa2,
|
||||
0x2e8700,
|
||||
0x324e59,
|
||||
0x466d79,
|
||||
0x47af00,
|
||||
0x585858,
|
||||
0x5f005f,
|
||||
0x872800,
|
||||
0x875300,
|
||||
0x875faf,
|
||||
0xaf0000,
|
||||
0xaf2800,
|
||||
0xaf5f00,
|
||||
0xd78700,
|
||||
0xe4e4e4,
|
||||
0xeeeeee,
|
||||
0xff0000,
|
||||
0xffffff,
|
||||
}
|
||||
)
|
||||
|
||||
func GetPalette() (sp simplecolor.SimplePalette) {
|
||||
once.Do(func() {
|
||||
sort.Sort(colors)
|
||||
})
|
||||
return colors
|
||||
}
|
||||
Reference in New Issue
Block a user