Swap Skill Wheel colors

remotes/angel/1.11.x
José Loguercio 8 years ago
parent c69862e592
commit 6066fb86be
  1. 4
      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) {

Loading…
Cancel
Save