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/sierra/sierra.go
Normal file
35
palettes/vim/sierra/sierra.go
Normal file
@@ -0,0 +1,35 @@
|
||||
package sierra
|
||||
|
||||
import (
|
||||
"sort"
|
||||
"sync"
|
||||
|
||||
"github.com/taigrr/go-colorpalettes/simplecolor"
|
||||
)
|
||||
|
||||
var (
|
||||
once sync.Once
|
||||
colors = simplecolor.SimplePalette{
|
||||
0x2a2a2a,
|
||||
0x303030,
|
||||
0x545454,
|
||||
0x666666,
|
||||
0x686868,
|
||||
0xaf5f5f,
|
||||
0xaf8787,
|
||||
0xafd7d7,
|
||||
0xd75f5f,
|
||||
0xdfaf87,
|
||||
0xf7e4c0,
|
||||
0xffafaf,
|
||||
0xffb2af,
|
||||
0xffffff,
|
||||
}
|
||||
)
|
||||
|
||||
func GetPalette() (sp simplecolor.SimplePalette) {
|
||||
once.Do(func() {
|
||||
sort.Sort(colors)
|
||||
})
|
||||
return colors
|
||||
}
|
||||
Reference in New Issue
Block a user