From 968aac8d71fbcafe662da52d5830f0e306a063f0 Mon Sep 17 00:00:00 2001 From: mrsu Date: Wed, 12 Jun 2024 12:32:19 +0100 Subject: [PATCH] base 16 color scheme --- config.def.h | 39 ++++++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/config.def.h b/config.def.h index 400450e..23b3444 100644 --- a/config.def.h +++ b/config.def.h @@ -11,20 +11,33 @@ static int topbar = 1; /* 0 means bottom bar */ static const char font[] = "monospace:size=14"; static const char dmenufont[] = "monospace:size=14"; static const char *fonts[] = { "monospace:size=14", "NotoColorEmoji:pixelsize=14:antialias=true:autohint=true" }; -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"; + +// base 16 scheme: "Kanagawa" +static const char col_base00[] = "#1F1F28"; +static const char col_base01[] = "#2A2A37"; +static const char col_base02[] = "#223249"; +static const char col_base03[] = "#727169"; +static const char col_base04[] = "#C8C093"; +static const char col_base05[] = "#DCD7BA"; +// static const char col_base06[] = "#938AA9"; +static const char col_base07[] = "#363646"; +static const char col_base08[] = "#C34043"; +// static const char col_base09[] = "#FFA066"; +// static const char col_base0A[] = "#DCA561"; +// static const char col_base0B[] = "#98BB6C"; +// static const char col_base0C[] = "#7FB4CA"; +static const char col_base0D[] = "#7E9CD8"; +// static const char col_base0E[] = "#957FB8"; +// static const char col_base0F[] = "#D27E99"; static const char *colors[][3] = { /* fg bg border */ - [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, - [SchemeSel] = { col_gray4, col_cyan, col_cyan }, - [SchemeStatus] = { col_gray3, col_gray1, "#000000" }, // Statusbar right {text,background,not used but cannot be empty} - [SchemeTagsSel] = { col_gray4, col_cyan, "#000000" }, // Tagbar left selected {text,background,not used but cannot be empty} - [SchemeTagsNorm] = { col_gray3, col_gray1, "#000000" }, // Tagbar left unselected {text,background,not used but cannot be empty} - [SchemeInfoSel] = { col_gray4, col_cyan, "#000000" }, // infobar middle selected {text,background,not used but cannot be empty} - [SchemeInfoNorm] = { col_gray3, col_gray1, "#000000" }, // infobar middle unselected {text,background,not used but cannot be empty} + [SchemeNorm] = { col_base04, col_base01, col_base02 }, + [SchemeSel] = { col_base05, col_base00, col_base08 }, + [SchemeStatus] = { col_base05, col_base07, "#000000" }, // Statusbar right {text,background,not used but cannot be empty} + [SchemeTagsSel] = { col_base00, col_base0D, "#000000" }, // Tagbar left selected {text,background,not used but cannot be empty} + [SchemeTagsNorm] = { col_base05, col_base07, "#000000" }, // Tagbar left unselected {text,background,not used but cannot be empty} + [SchemeInfoSel] = { col_base05, col_base00, "#000000" }, // infobar middle selected {text,background,not used but cannot be empty} + [SchemeInfoNorm] = { col_base03, col_base00, "#000000" }, // infobar middle unselected {text,background,not used but cannot be empty} }; /* tagging */ @@ -65,7 +78,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ -static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_base01, "-nf", col_base04, "-sb", col_base0D, "-sf", col_base00, NULL }; static const char *termcmd[] = { "st", NULL }; static const Key keys[] = {