@moderneinc/react-charts 1.6.0 → 1.7.0-next.1a5e01
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.
|
@@ -17,11 +17,14 @@ export declare const DEFAULT_CHART_COLORS: {
|
|
|
17
17
|
* Measure gradient colors used for progress/distance categories.
|
|
18
18
|
* Shared between ParliamentChart and StackedAreaChart for visual consistency.
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* 5 anchors measured from the Morpheus prototype (light theme):
|
|
21
21
|
* https://moderneinc.github.io/prototypes/morpheus.html
|
|
22
|
-
*
|
|
22
|
+
* The 3 intermediate steps come from the 8-entry ramp consumers were already
|
|
23
|
+
* maintaining, so the gradient yields 8 distinct colors instead of 5. Beyond
|
|
24
|
+
* 8 categories it still repeats.
|
|
25
|
+
* Progression: green (best/complete) → coral (worst/farthest).
|
|
23
26
|
*/
|
|
24
|
-
export declare const MEASURE_GRADIENT_COLORS: readonly ["#30F284", "#FFD34D", "#FFA83D", "#FF8F52", "#FF6F61"];
|
|
27
|
+
export declare const MEASURE_GRADIENT_COLORS: readonly ["#30F284", "#FFD34D", "#FFC045", "#FFA83D", "#FF9B48", "#FF8F52", "#FF7F5A", "#FF6F61"];
|
|
25
28
|
/**
|
|
26
29
|
* Explicit border color for each seat fill, measured from the Morpheus
|
|
27
30
|
* prototype. Borders are hand-picked darker, more-saturated shades — not a
|