瀏覽代碼

Swap Skill Wheel colors

José Loguercio 8 年之前
父節點
當前提交
6066fb86be
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      main/template/default/skill/skill_wheel.js.tpl

+ 2 - 2
main/template/default/skill/skill_wheel.js.tpl

@@ -101,7 +101,7 @@ color_patterns[17] = d3.scale.ordinal().domain(my_domain).range(colorbrewer.YlOr
 
 //Too make the gray tones lighter
 col = 3;
-color_patterns[18] = d3.scale.ordinal().domain(my_domain).range(colorbrewer.Greens[col]);
+color_patterns[18] = d3.scale.ordinal().domain(my_domain).range(colorbrewer.Blues[col]);
 
 //If you want to use the category10()
 //var normal_fill = d3.scale.category10().domain(my_domain);
@@ -259,7 +259,7 @@ function set_skill_style(d, attribute, searched_skill_id) {
     // New way (Only 1 ajax call)
     // 4. Blue - if user achieved that skill
     if (userSkills[d.id]) {
-        return_fill = '#3A87AD';
+        return_fill = '#A1D99B';
     }
 
     switch (attribute) {