diff options
-rw-r--r-- | degesch.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -797,18 +797,18 @@ init_colors (struct app_context *ctx) INIT_ATTR (PROMPT, enter_bold_mode); INIT_ATTR (RESET, exit_attribute_mode); - INIT_ATTR (WARNING, g_terminal.color_set_fg[3]); - INIT_ATTR (ERROR, g_terminal.color_set_fg[1]); + INIT_ATTR (WARNING, g_terminal.color_set_fg[COLOR_YELLOW]); + INIT_ATTR (ERROR, g_terminal.color_set_fg[COLOR_RED]); - INIT_ATTR (EXTERNAL, g_terminal.color_set_fg[7]); - INIT_ATTR (TIMESTAMP, g_terminal.color_set_fg[7]); - INIT_ATTR (ACTION, g_terminal.color_set_fg[1]); - INIT_ATTR (JOIN, g_terminal.color_set_fg[2]); - INIT_ATTR (PART, g_terminal.color_set_fg[1]); + INIT_ATTR (EXTERNAL, g_terminal.color_set_fg[COLOR_WHITE]); + INIT_ATTR (TIMESTAMP, g_terminal.color_set_fg[COLOR_WHITE]); + INIT_ATTR (ACTION, g_terminal.color_set_fg[COLOR_RED]); + INIT_ATTR (JOIN, g_terminal.color_set_fg[COLOR_GREEN]); + INIT_ATTR (PART, g_terminal.color_set_fg[COLOR_RED]); char *highlight = xstrdup_printf ("%s%s%s", - g_terminal.color_set_fg[3], - g_terminal.color_set_bg[5], + g_terminal.color_set_fg[COLOR_YELLOW], + g_terminal.color_set_bg[COLOR_MAGENTA], enter_bold_mode); INIT_ATTR (HIGHLIGHT, highlight); free (highlight); |