14 lines
615 B
C
14 lines
615 B
C
/* Taken from https://github.com/djpohly/dwl/issues/466 */
|
|
#define COLOR(hex) { ((hex >> 24) & 0xFF) / 255.0f, \
|
|
((hex >> 16) & 0xFF) / 255.0f, \
|
|
((hex >> 8) & 0xFF) / 255.0f, \
|
|
(hex & 0xFF) / 255.0f }
|
|
|
|
static const float rootcolor[] = COLOR(0x101725ff);
|
|
static uint32_t colors[][3] = {
|
|
/* fg bg border */
|
|
[SchemeNorm] = { 0xc3c5c8ff, 0x101725ff, 0x5f6674ff },
|
|
[SchemeSel] = { 0xc3c5c8ff, 0x6C6A5Fff, 0x4C4D4Fff },
|
|
[SchemeUrg] = { 0xc3c5c8ff, 0x4C4D4Fff, 0x6C6A5Fff },
|
|
};
|