Skip to content

Commit

Permalink
perf: tweak up radar colors
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Jan 3, 2022
1 parent 6cf5427 commit c67b013
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/js/generator/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const settings = {
height: 1100,
colors: {
background: '#fff',
grid: '#bbb',
grid: '#dddde0',
inactive: '#ddd',
},
rings: [
Expand Down
4 changes: 3 additions & 1 deletion src/main/tpl/assets/radar.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,9 @@ function radar_visualization(config) {
.text(config.rings[i].name)
.attr('y', -rings[i].radius + 62)
.attr('text-anchor', 'middle')
.style('fill', '#e5e5e5')
.style('fill', config.rings[i].color)
.style('opacity', 0.3)
// .style('fill', '#eeeef0')
.style('font-family', 'Helvetica, Arial')
.style('font-size', 42)
.style('font-weight', 'bold')
Expand Down

0 comments on commit c67b013

Please sign in to comment.