
@function light-axis-theme() {
  @return axis-theme(#000, #000);
}

@function dark-axis-theme() {
  @return axis-theme(#fff, #fff);
}

@function axis-theme($line-color, $text-color) {
  @return (
    line-color: $line-color,
    text-color: $text-color,
  );
}


@mixin axis-chart-theme($theme) {

  #yaxis .axis path,
  #yaxis .axis line,
  #xaxis .axis path,
  #xaxis .axis line {
    stroke: map-get($theme, line-color);
  }

  #xaxis .axis text,
  #yaxis .axis text {
    fill: map-get($theme, text-color);
  }
}

