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/raven/raven.go
Normal file
32
palettes/vim/raven/raven.go
Normal file
@@ -0,0 +1,32 @@
|
||||
package raven
|
||||
|
||||
import (
|
||||
"sort"
|
||||
"sync"
|
||||
|
||||
"github.com/taigrr/go-colorpalettes/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
|
||||
}
|
||||
Reference in New Issue
Block a user