From 5ffb6fc9bbd15c41d9c796d5ac9476e1f4b0996c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 8 Nov 2014 18:31:18 +0000 Subject: [PATCH] Improve coloring. --- src/controller.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/controller.c b/src/controller.c index e148198e2..22104d7b6 100644 --- a/src/controller.c +++ b/src/controller.c @@ -552,12 +552,12 @@ rspamd_controller_pie_element (enum rspamd_metric_action action, { ucl_object_t *res = ucl_object_typed_new (UCL_OBJECT); const char *colors[METRIC_ACTION_MAX] = { - [METRIC_ACTION_REJECT] = "red", - [METRIC_ACTION_SOFT_REJECT] = "orange", - [METRIC_ACTION_REWRITE_SUBJECT] = "yellow", - [METRIC_ACTION_ADD_HEADER] = "teal", - [METRIC_ACTION_GREYLIST] = "blue", - [METRIC_ACTION_NOACTION] = "green" + [METRIC_ACTION_REJECT] = "#993300", + [METRIC_ACTION_SOFT_REJECT] = "#cc9966", + [METRIC_ACTION_REWRITE_SUBJECT] = "#ff6600", + [METRIC_ACTION_ADD_HEADER] = "#ffcc66", + [METRIC_ACTION_GREYLIST] = "#6666cc", + [METRIC_ACTION_NOACTION] = "#66cc00" }; ucl_object_insert_key (res, ucl_object_fromstring (colors[action]), -- 2.39.5