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:
36
palettes/vim/understated/understated.go
Normal file
36
palettes/vim/understated/understated.go
Normal file
@@ -0,0 +1,36 @@
|
||||
package understated
|
||||
|
||||
import (
|
||||
"sort"
|
||||
"sync"
|
||||
|
||||
"github.com/taigrr/go-colorpalettes/simplecolor"
|
||||
)
|
||||
|
||||
var (
|
||||
once sync.Once
|
||||
colors = simplecolor.SimplePalette{
|
||||
0x080808,
|
||||
0x1c1c1c,
|
||||
0x262626,
|
||||
0x303030,
|
||||
0x4e4e4e,
|
||||
0x5f005f,
|
||||
0x5f5f5f,
|
||||
0x5f87ff,
|
||||
0x870000,
|
||||
0x87af5f,
|
||||
0xaf5f00,
|
||||
0xafaf87,
|
||||
0xff0000,
|
||||
0xffaf00,
|
||||
0xffffff,
|
||||
}
|
||||
)
|
||||
|
||||
func GetPalette() (sp simplecolor.SimplePalette) {
|
||||
once.Do(func() {
|
||||
sort.Sort(colors)
|
||||
})
|
||||
return colors
|
||||
}
|
||||
Reference in New Issue
Block a user