From 82bbb8cbf62a26d3875faa4ad077390f77cc03e7 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Sat, 2 Dec 2023 14:15:38 +0300 Subject: [PATCH] Add tokyo night theme --- .gitignore | 2 ++ tokyo_night.h | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .gitignore create mode 100644 tokyo_night.h diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f366f5e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +st +*.o diff --git a/tokyo_night.h b/tokyo_night.h new file mode 100644 index 0000000..8d877ee --- /dev/null +++ b/tokyo_night.h @@ -0,0 +1,32 @@ +/* Terminal colors (16 first used in escape sequence) */ +static const char *colorname[] = { + /* 8 normal colors */ + [0] = "#1a1b26", /* black */ + [1] = "#f7768e", /* red */ + [2] = "#9ece6a", /* green */ + [3] = "#e0af68", /* yellow */ + [4] = "#2ac3de", /* blue */ + [5] = "#bb9af7", /* magenta */ + [6] = "#7dcfff", /* cyan */ + [7] = "#d5d6db", /* white */ + + /* 8 bright colors */ + [8] = "#1a1b26", /* black */ + [9] = "#f7768e", /* red */ + [10] = "#9ece6a", /* green */ + [11] = "#e0af68", /* yellow */ + [12] = "#2ac3de", /* blue */ + [13] = "#bb9af7", /* magenta */ + [14] = "#7dcfff", /* cyan */ + [15] = "#cfc9c2", /* white */ + + /* special colors */ + [256] = "#1a1b26", /* background */ + [257] = "#cfc9c2", /* foreground */ + +}; + +unsigned int defaultfg = 257; +unsigned int defaultbg = 256; +unsigned int defaultcs = 257; +static unsigned int defaultrcs = 257;