aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/config.h b/config.h
index 5b242b4..6fe5857 100644
--- a/config.h
+++ b/config.h
@@ -18,6 +18,18 @@ static const char *col_bg = "#141414"; /* window background */
static const char *col_grid = "#3a3a3a"; /* cell borders */
static const char *col_head = "#8a8a8a"; /* weekday headings */
static const char *col_detail = "#e8e8e8"; /* detail pane text */
-static const char *col_rank1 = "#ffcc55"; /* I-class marker */
+/* The selected day is ringed TWICE: a dark ring outside a bright one, so
+ the marker survives on a white cell and on a red one alike. A single
+ bright ring vanishes against white; a single dark one vanishes against
+ black. */
+static const char *col_sel_dark = "#1a1a1a";
+static const char *col_sel_light = "#ffd24a";
+enum { SEL_RING = 3 }; /* px per ring */
+
+/* A I-class day is marked with a BADGE, not coloured text: the badge is
+ filled with the cell's own foreground and the glyph drawn in its
+ background, so it inverts against whatever the day's colour is. Gold on
+ white -- the first attempt -- was very nearly invisible. */
+static const char *rank1_glyph = "I";
enum { CELL_W = 122, CELL_H = 74, PAD = 10, HEAD_H = 46, DETAIL_H = 92 };