Add global color list
[Hacks.git] / hacks / Nimbus / Nimbus.js
index 7bc5c7c..09d5007 100644 (file)
@@ -43,9 +43,10 @@ enyo.kind({
        perspective: 0.3,
        preferences: [
                {name: "intensity", label: "Intensity", kind: "Slider", maximum: 1, minimum: 0, snap: 0.01},
-               {name: "rainColor", label: "Rain Color", kind: "ListSelector", items: ["gray", "black", "blue", "red"]},
+               {name: "rainColor", label: "Rain Color", kind: "ListSelector", items: colorList},
                {name: "backgroundColor", label: "Background Color", kind: "ListSelector", items: [
                        {caption: "white", value: 'rgba(255,255,255,0.7)'},
+                       {caption: "gray", value: 'rgba(128,128,128,0.7)'},
                        {caption: "black", value: 'rgba(0,0,0,0.7)'}
                ]}
        ],