commit: c1cb93ef6ef2abd61f5215d0fc3f7da9414af85c
parent f6cf0813154a1022baea04eb06908df59ae0b802
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 2 Dec 2022 02:05:51 +0100
patches/net-analyzer/munin/kelly_colormap.patch: Add
Diffstat:
1 file changed, 20 insertions(+), 0 deletions(-)
diff --git a/patches/net-analyzer/munin/kelly_colormap.patch b/patches/net-analyzer/munin/kelly_colormap.patch
@@ -0,0 +1,20 @@
+diff --git a/master/lib/Munin/Master/GraphOld.pm b/master/lib/Munin/Master/GraphOld.pm
+index 92c4647..d0435b9 100644
+--- a/master/lib/Munin/Master/GraphOld.pm
++++ b/master/lib/Munin/Master/GraphOld.pm
+@@ -130,13 +130,8 @@ my @COLOUR; # Array of actuall colours to use
+ 0080FF FF8000 800000 FB31FB
+ )];
+
+- $PALETTE{'default'} = [ # New default palette.Better contrast,more colours
+- #Greens Blues Oranges Dk yel Dk blu Purple lime Reds Gray
+- qw(00CC00 0066B3 FF8000 FFCC00 330099 990099 CCFF00 FF0000 808080
+- 008F00 00487D B35A00 B38F00 6B006B 8FB300 B30000 BEBEBE
+- 80FF80 80C9FF FFC080 FFE680 AA80FF EE00CC FF8080
+- 666600 FFBFFF 00FFCC CC6699 999900
+- )]; # Line variations: Pure, earthy, dark pastel, misc colours
++ # Kenneth Kelly's 22 colors of maximum contrast except the first one, F2F3F4 which is too close to white
++ $PALETTE{'default'} = [qw(222222 F3C300 875692 F38400 A1CAF1 BE0032 C2B280 848482 008856 E68FAC 0067A5 F99379 604E97 F6A600 B3446C DCD300 882D17 8DB600 654522 E25822 2B3D26)];
+ }
+
+ my $range_colour = "22ff22";