@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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.3.0](https://github.com/decidables/decidables/compare/@decidables/accumulable-elements@0.2.1...@decidables/accumulable-elements@0.3.0) (2025-10-10)
7
+
8
+
9
+ ### Features
10
+
11
+ * **all:** put color themes in YAML files ([af954df](https://github.com/decidables/decidables/commit/af954df0809b09806976cb18953b75d5e3c1ca08))
12
+
13
+
14
+
6
15
  ## [0.2.1](https://github.com/decidables/decidables/compare/@decidables/accumulable-elements@0.2.0...@decidables/accumulable-elements@0.2.1) (2025-09-09)
7
16
 
8
17
  **Note:** Version bump only for package @decidables/accumulable-elements
@@ -4411,16 +4411,6 @@ function linear() {
4411
4411
  return linearish(scale);
4412
4412
  }
4413
4413
 
4414
- function colors (specifier) {
4415
- var n = specifier.length / 6 | 0,
4416
- colors = new Array(n),
4417
- i = 0;
4418
- while (i < n) colors[i] = "#" + specifier.slice(i * 6, ++i * 6);
4419
- return colors;
4420
- }
4421
-
4422
- var Set1 = colors("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999");
4423
-
4424
4414
  function constant (x) {
4425
4415
  return function constant() {
4426
4416
  return x;
@@ -5943,6 +5933,18 @@ function DecidablesMixinResizeable(superClass) {
5943
5933
  };
5944
5934
  }
5945
5935
 
5936
+ var data = { colors:{ a:"#e41a1c",
5937
+ z:"#377eb8",
5938
+ v:"#ff7f00",
5939
+ t0:"#f781bf",
5940
+ s:"#999999",
5941
+ left:"#f032e6",
5942
+ right:"#10dbc9",
5943
+ correct:"#4daf4a",
5944
+ error:"#984ea3",
5945
+ nr:"#cccccc" } };
5946
+ var colors = data.colors;
5947
+
5946
5948
  /*
5947
5949
  AccumulableElement Base Class - Not intended for instantiation!
5948
5950
  */
@@ -5961,18 +5963,7 @@ class AccumulableElement extends DecidablesElement {
5961
5963
  this.interactive = false;
5962
5964
  }
5963
5965
  static get colors() {
5964
- return {
5965
- a: Set1[0],
5966
- z: Set1[1],
5967
- v: Set1[4],
5968
- t0: Set1[7],
5969
- s: Set1[8],
5970
- left: '#f032e6',
5971
- right: '#10dbc9',
5972
- correct: Set1[2],
5973
- error: Set1[3],
5974
- nr: '#cccccc'
5975
- };
5966
+ return colors;
5976
5967
  }
5977
5968
  static get lights() {
5978
5969
  return Object.keys(AccumulableElement.colors).reduce((acc, cur) => {