Fix getColors #2: add blue/blueLight (JavaScript hoisting)
The file had two getColors() function declarations. The second one (hoisted later) wins and was missing the new keys. Both declarations updated.
This commit is contained in:
1 parent
1067754ae8
commit
f6f35776bc
1 file changed
+5
-2
+5
-2
@@ -595,7 +595,8 @@ if (useVanta && typeof VANTA !== 'undefined') {
|
|||||||
var keys = [
|
var keys = [
|
||||||
'void', 'panel', 'raised', 'border', 'mid', 'ash',
|
'void', 'panel', 'raised', 'border', 'mid', 'ash',
|
||||||
'icon', 'stone', 'bone', 'chalk',
|
'icon', 'stone', 'bone', 'chalk',
|
||||||
'ember', 'gold', 'blood', 'rust', 'rot', 'moss', 'steel', 'steelLight', 'violet'
|
'ember', 'gold', 'blood', 'rust', 'rot', 'moss',
|
||||||
|
'steel', 'steelLight', 'blue', 'blueLight', 'violet'
|
||||||
];
|
];
|
||||||
var map = {
|
var map = {
|
||||||
void: 'black',
|
void: 'black',
|
||||||
@@ -611,7 +612,9 @@ if (useVanta && typeof VANTA !== 'undefined') {
|
|||||||
rot: 'pink',
|
rot: 'pink',
|
||||||
moss: 'green',
|
moss: 'green',
|
||||||
steel: 'blue',
|
steel: 'blue',
|
||||||
steelLight: 'blue-light',
|
steelLight: 'blue',
|
||||||
|
blue: 'blue',
|
||||||
|
blueLight: 'blue-light',
|
||||||
violet: 'purple'
|
violet: 'purple'
|
||||||
};
|
};
|
||||||
var result = {};
|
var result = {};
|
||||||
|
|||||||
Reference in new issue
Block a user