1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* colitur-x -- compile-time configuration, suckless style.
* Edit, `make`, done. There is no runtime config file by design. */
static const char *font = "monospace:size=10";
static const char *font_big = "monospace:size=14:bold";
/* Liturgical colours, as the engine names them -> what to paint. */
static const struct { const char *name, *bg, *fg; } palette[] = {
{ "white", "#f7f5ef", "#1a1a1a" },
{ "red", "#b03030", "#ffffff" },
{ "violet", "#5a3a78", "#ffffff" },
{ "green", "#2f6b3a", "#ffffff" },
{ "black", "#202020", "#e0e0e0" },
{ "rose", "#d9a0b0", "#1a1a1a" },
};
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 */
enum { CELL_W = 122, CELL_H = 74, PAD = 10, HEAD_H = 46, DETAIL_H = 92 };
|