<commit_before>.heatmap-canvas-wrapper {
  // position: relative;
  cursor: crosshair;
}

.heatmap-panel {
  position: relative;

  .axis .tick {
    text {
      fill: $text-color;
      color: $text-color;
      font-size: $font-size-sm;
    }

    line {
      opacity: 0.4;
      stroke: $text-color-weak;
    }
  }

  // This hack prevents mouseenter/mouseleave events get fired too often
  svg {
    pointer-events: none;

    rect {
      pointer-events: visiblePainted;
    }
  }
}

.heatmap-tooltip {
  white-space: nowrap;
  font-size: $font-size-sm;
  background-color: $graph-tooltip-bg;
  color: $text-color;
}

.heatmap-histogram rect {
  fill: $text-color-weak;
}

.heatmap-crosshair {
  line {
    stroke: darken($red,15%);
    stroke-width: 1;
  }
}

.heatmap-selection {
  stroke-width: 1;
  opacity: 0.3;
  fill: #828282;
  stroke: darken($red,15%);
}

.heatmap-legend-wrapper {
  @include clearfix();
  margin: 0 $spacer;
  padding-top: 10px;
<commit_msg>heatmap: use the same color for selection as for graph<commit_after>.heatmap-canvas-wrapper {
  // position: relative;
  cursor: crosshair;
}

.heatmap-panel {
  position: relative;

  .axis .tick {
    text {
      fill: $text-color;
      color: $text-color;
      font-size: $font-size-sm;
    }

    line {
      opacity: 0.4;
      stroke: $text-color-weak;
    }
  }

  // This hack prevents mouseenter/mouseleave events get fired too often
  svg {
    pointer-events: none;

    rect {
      pointer-events: visiblePainted;
    }
  }
}

.heatmap-tooltip {
  white-space: nowrap;
  font-size: $font-size-sm;
  background-color: $graph-tooltip-bg;
  color: $text-color;
}

.heatmap-histogram rect {
  fill: $text-color-weak;
}

.heatmap-crosshair {
  line {
    stroke: darken($red,15%);
    stroke-width: 1;
  }
}

.heatmap-selection {
  stroke-width: 1;
  fill: rgba(102, 102, 102, 0.4);
  stroke: rgba(102, 102, 102, 0.8);
}

.heatmap-legend-wrapper {
  @include clearfix();
  margin: 0 $spacer;
  padding-top: 10px;

{'fraction_non_alphanumeric': 0.147, 'fraction_numerical': 0.025, 'mean_word_length': 2.579606440071556, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4141493', 'n_tokens_mistral': 825, 'n_tokens_neox': 745, 'n_words': 159}