mirror of
https://github.com/taigrr/simplecolorpalettes.git
synced 2026-04-02 04:59:08 -07:00
rename luna, refactor material
This commit is contained in:
@@ -149,6 +149,10 @@ var colors = simplecolor.NamedPalette{
|
||||
"yellowgreen": 0x9ACD32,
|
||||
}
|
||||
|
||||
func GetNamedPalette() (np simplecolor.NamedPalette) {
|
||||
return colors
|
||||
}
|
||||
|
||||
func GetPalette() (sp simplecolor.SimplePalette) {
|
||||
for _, x := range colors {
|
||||
sp = append(sp, x)
|
||||
|
||||
Reference in New Issue
Block a user