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:
30
palettes/vim/transparent/transparent.go
Normal file
30
palettes/vim/transparent/transparent.go
Normal file
@@ -0,0 +1,30 @@
|
||||
package transparent
|
||||
|
||||
import (
|
||||
"sort"
|
||||
"sync"
|
||||
|
||||
"github.com/taigrr/go-colorpalettes/simplecolor"
|
||||
)
|
||||
|
||||
var (
|
||||
once sync.Once
|
||||
colors = simplecolor.SimplePalette{
|
||||
0x1d1f21,
|
||||
0x2f3d4d,
|
||||
0x3f4b59,
|
||||
0x8d96a1,
|
||||
0xbbe67e,
|
||||
0xd4bfff,
|
||||
0xd70000,
|
||||
0xf07178,
|
||||
0xffae57,
|
||||
}
|
||||
)
|
||||
|
||||
func GetPalette() (sp simplecolor.SimplePalette) {
|
||||
once.Do(func() {
|
||||
sort.Sort(colors)
|
||||
})
|
||||
return colors
|
||||
}
|
||||
Reference in New Issue
Block a user