From 71fd850d8c414073d22f5ef536938b47a53e9ce4 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Fri, 17 May 2024 10:26:12 +0200 Subject: [PATCH] change colors --- config.h | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/config.h b/config.h index 803e567..7dd598e 100644 --- a/config.h +++ b/config.h @@ -153,31 +153,27 @@ static const char *colorname[] = { [255] = 0, /* more colors can be added after 255 to use with DefaultXX */ - "#c0caf5", /* 256 -> default cursor colour */ - "#1a1b26", /* 257 -> default inverted cursor colour */ - "#c0caf5", /* 258 -> default foreground colour */ - "#1a1b26", /* 259 -> default background colour */ - "#c0caf5", /* 260 -> default selection foreground colour */ - "#33467C", /* 261 -> default selection background colour */ + "#1a1b26", /* 256 -> darker black */ + "#283457", /* 257 -> selection background colour */ }; /* * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -unsigned int defaultfg = 258; -unsigned int defaultbg = 259; -unsigned int defaultcs = 256; -unsigned int defaultrcs = 257; -unsigned int selectionfg = 260; -unsigned int selectionbg = 261; +unsigned int defaultfg = 15; +unsigned int defaultbg = 256; +unsigned int defaultcs = 15; +unsigned int defaultrcs = 256; +unsigned int selectionfg = 15; +unsigned int selectionbg = 257; /* If 0 use selectionfg as foreground in order to have a uniform * foreground-color */ /* Else if 1 keep original foreground-color of each cell => more colors :) */ static int ignoreselfg = 1; /* Foreground and background color of search results */ -unsigned int highlightfg = 3; -unsigned int highlightbg = 0; +unsigned int highlightfg = 256; +unsigned int highlightbg = 3; /* * https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h4-Functions-using-CSI-_-ordered-by-the-final-character-lparen-s-rparen:CSI-Ps-SP-q.1D81