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:
35
palettes/vim/ravenpower/ravenpower.go
Normal file
35
palettes/vim/ravenpower/ravenpower.go
Normal file
@@ -0,0 +1,35 @@
|
||||
package ravenpower
|
||||
|
||||
import (
|
||||
"sort"
|
||||
"sync"
|
||||
|
||||
"github.com/taigrr/go-colorpalettes/simplecolor"
|
||||
)
|
||||
|
||||
var (
|
||||
once sync.Once
|
||||
colors = simplecolor.SimplePalette{
|
||||
0x005f00,
|
||||
0x005f5f,
|
||||
0x0087af,
|
||||
0x080808,
|
||||
0x1d1f21,
|
||||
0x2e2e2e,
|
||||
0x303030,
|
||||
0x5fafd7,
|
||||
0x87d7ff,
|
||||
0x9e9e9e,
|
||||
0xc8c8c8,
|
||||
0xd70000,
|
||||
0xffaf00,
|
||||
0xffffff,
|
||||
}
|
||||
)
|
||||
|
||||
func GetPalette() (sp simplecolor.SimplePalette) {
|
||||
once.Do(func() {
|
||||
sort.Sort(colors)
|
||||
})
|
||||
return colors
|
||||
}
|
||||
Reference in New Issue
Block a user