@decidables/accumulable-elements 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4417,16 +4417,6 @@
4417
4417
  return linearish(scale);
4418
4418
  }
4419
4419
 
4420
- function colors (specifier) {
4421
- var n = specifier.length / 6 | 0,
4422
- colors = new Array(n),
4423
- i = 0;
4424
- while (i < n) colors[i] = "#" + specifier.slice(i * 6, ++i * 6);
4425
- return colors;
4426
- }
4427
-
4428
- var Set1 = colors("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999");
4429
-
4430
4420
  function constant (x) {
4431
4421
  return function constant() {
4432
4422
  return x;
@@ -5949,6 +5939,18 @@
5949
5939
  };
5950
5940
  }
5951
5941
 
5942
+ var data = { colors:{ a:"#e41a1c",
5943
+ z:"#377eb8",
5944
+ v:"#ff7f00",
5945
+ t0:"#f781bf",
5946
+ s:"#999999",
5947
+ left:"#f032e6",
5948
+ right:"#10dbc9",
5949
+ correct:"#4daf4a",
5950
+ error:"#984ea3",
5951
+ nr:"#cccccc" } };
5952
+ var colors = data.colors;
5953
+
5952
5954
  /*
5953
5955
  AccumulableElement Base Class - Not intended for instantiation!
5954
5956
  */
@@ -5967,18 +5969,7 @@
5967
5969
  this.interactive = false;
5968
5970
  }
5969
5971
  static get colors() {
5970
- return {
5971
- a: Set1[0],
5972
- z: Set1[1],
5973
- v: Set1[4],
5974
- t0: Set1[7],
5975
- s: Set1[8],
5976
- left: '#f032e6',
5977
- right: '#10dbc9',
5978
- correct: Set1[2],
5979
- error: Set1[3],
5980
- nr: '#cccccc'
5981
- };
5972
+ return colors;
5982
5973
  }
5983
5974
  static get lights() {
5984
5975
  return Object.keys(AccumulableElement.colors).reduce((acc, cur) => {