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:
32
palettes/vim/serene/serene.go
Normal file
32
palettes/vim/serene/serene.go
Normal file
@@ -0,0 +1,32 @@
|
||||
package serene
|
||||
|
||||
import (
|
||||
"sort"
|
||||
"sync"
|
||||
|
||||
"github.com/taigrr/go-colorpalettes/simplecolor"
|
||||
)
|
||||
|
||||
var (
|
||||
once sync.Once
|
||||
colors = simplecolor.SimplePalette{
|
||||
0x00dfff,
|
||||
0x080808,
|
||||
0x303030,
|
||||
0x4e4e4e,
|
||||
0x5fff00,
|
||||
0x767676,
|
||||
0xaf0000,
|
||||
0xd78700,
|
||||
0xdf0000,
|
||||
0xdfdf00,
|
||||
0xff5f00,
|
||||
}
|
||||
)
|
||||
|
||||
func GetPalette() (sp simplecolor.SimplePalette) {
|
||||
once.Do(func() {
|
||||
sort.Sort(colors)
|
||||
})
|
||||
return colors
|
||||
}
|
||||
Reference in New Issue
Block a user