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:
29
palettes/vim/google_light/google_light.go
Normal file
29
palettes/vim/google_light/google_light.go
Normal file
@@ -0,0 +1,29 @@
|
||||
package google_light
|
||||
|
||||
import (
|
||||
"sort"
|
||||
"sync"
|
||||
|
||||
"github.com/taigrr/go-colorpalettes/simplecolor"
|
||||
)
|
||||
|
||||
var (
|
||||
once sync.Once
|
||||
colors = simplecolor.SimplePalette{
|
||||
0x202124,
|
||||
0x34a853,
|
||||
0x4285f4,
|
||||
0x5f6368,
|
||||
0xe8eaed,
|
||||
0xea4335,
|
||||
0xfbbc04,
|
||||
0xffffff,
|
||||
}
|
||||
)
|
||||
|
||||
func GetPalette() (sp simplecolor.SimplePalette) {
|
||||
once.Do(func() {
|
||||
sort.Sort(colors)
|
||||
})
|
||||
return colors
|
||||
}
|
||||
Reference in New Issue
Block a user