added themes

This commit is contained in:
Maddie H 2023-02-18 19:08:00 +00:00
parent 687647d8be
commit aa9a1c4902
No known key found for this signature in database
GPG Key ID: 64FAA9959751687D
3 changed files with 31 additions and 12 deletions

View File

@ -15,18 +15,7 @@ static const char *fonts[] = { "Iosevka:pixelsize=14:antialias=true:aut
}; };
/* color theme */ /* color theme */
static const char col_gray1[] = "#222222"; #include "themes/mydark.h"
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#005577";
static const char col_urgborder[] = "#ff0000";
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
[SchemeUrg] = { col_gray4, col_cyan, col_urgborder },
};
/* sticky indicator */ /* sticky indicator */
static const XPoint stickyicon[] = { {0,0}, {4,0}, {4,8}, {2,6}, {0,8}, {0,0} }; /* represents the icon as an array of vertices */ static const XPoint stickyicon[] = { {0,0}, {4,0}, {4,8}, {2,6}, {0,8}, {0,0} }; /* represents the icon as an array of vertices */

12
themes/default.h Normal file
View File

@ -0,0 +1,12 @@
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#005577";
static const char col_urgborder[] = "#ff0000";
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
[SchemeUrg] = { col_gray4, col_cyan, col_urgborder },
};

18
themes/mydark.h Normal file
View File

@ -0,0 +1,18 @@
static const char norm_fg[] = "#D6DEEB";
static const char norm_bg[] = "#121317";
static const char norm_border[] = "#121317";
static const char sel_fg[] = "#D6DEEB";
static const char sel_bg[] = "#313439";
static const char sel_border[] = "#313439";
static const char urg_fg[] = "#D6DEEB";
static const char urg_bg[] = "#1E222A";
static const char urg_border[] = "#282C34";
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { norm_fg, norm_bg, norm_border }, // unfocused wins
[SchemeSel] = { sel_fg, sel_bg, sel_border }, // the focused win
[SchemeUrg] = { urg_fg, urg_bg, urg_border },
};