mirror of
https://github.com/taigrr/simplecolorpalettes.git
synced 2026-04-01 20:49:11 -07:00
Add vim themes
This commit is contained in:
35
palettes/vim/cyberpunk/cyberpunk.go
Normal file
35
palettes/vim/cyberpunk/cyberpunk.go
Normal file
@@ -0,0 +1,35 @@
|
||||
package cyberpunk
|
||||
|
||||
import (
|
||||
"sort"
|
||||
"sync"
|
||||
|
||||
"github.com/taigrr/go-colorpalettes/simplecolor"
|
||||
)
|
||||
|
||||
var (
|
||||
once sync.Once
|
||||
colors = simplecolor.SimplePalette{
|
||||
0x0197dd,
|
||||
0x0c35bf,
|
||||
0x0eeafa,
|
||||
0x191919,
|
||||
0x408000,
|
||||
0x414c3b,
|
||||
0x666666,
|
||||
0x800080,
|
||||
0x87f025,
|
||||
0xcdb1ad,
|
||||
0xfe1bf0,
|
||||
0xff0000,
|
||||
0xffd302,
|
||||
0xffffff,
|
||||
}
|
||||
)
|
||||
|
||||
func GetPalette() (sp simplecolor.SimplePalette) {
|
||||
once.Do(func() {
|
||||
sort.Sort(colors)
|
||||
})
|
||||
return colors
|
||||
}
|
||||
Reference in New Issue
Block a user