chartist icon indicating copy to clipboard operation
chartist copied to clipboard

Duplicated series color bug in CSS

Open sheffieldnikki opened this issue 4 years ago • 1 comments

In chartist.css series B and I both share the same color value:

.ct-series-b .ct-point, .ct-series-b .ct-line, .ct-series-b .ct-bar, .ct-series-b .ct-slice-donut {
  stroke: #f05b4f; }
.ct-series-b .ct-slice-pie, .ct-series-b .ct-slice-donut-solid, .ct-series-b .ct-area {
  fill: #f05b4f; }

.ct-series-i .ct-point, .ct-series-i .ct-line, .ct-series-i .ct-bar, .ct-series-i .ct-slice-donut {
  stroke: #f05b4f; }
.ct-series-i .ct-slice-pie, .ct-series-i .ct-slice-donut-solid, .ct-series-i .ct-area {
  fill: #f05b4f; }

sheffieldnikki avatar Jun 27 '20 09:06 sheffieldnikki

Yes they are defined equally on line 74 and 81 of _chartist-settings.scss

https://github.com/gionkunz/chartist-js/blob/e7e78201bffe9609915e5e53cfafa29a5d6c49f9/src/styles/settings/_chartist-settings.scss#L74 https://github.com/gionkunz/chartist-js/blob/e7e78201bffe9609915e5e53cfafa29a5d6c49f9/src/styles/settings/_chartist-settings.scss#L81

hafezdivandari avatar Aug 02 '20 05:08 hafezdivandari