Dan Anglin 2022-03-26 06:36:34 +00:00
parent 40907efc06
commit bd1d74d87c
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
2 changed files with 37 additions and 1 deletions

View file

@ -96,7 +96,7 @@ char *termname = "st-256color";
unsigned int tabspaces = 8;
// theme
#include "themes/default.h"
#include "themes/tokyonight.h"
/*
* Default shape of cursor

36
themes/tokyonight.h Normal file
View file

@ -0,0 +1,36 @@
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
/* 8 normal colors */
[0] = "#15161e", /* black */
[1] = "#f7768e", /* red */
[2] = "#9ece6a", /* green */
[3] = "#e0af68", /* yellow */
[4] = "#7aa2f7", /* blue */
[5] = "#bb9af7", /* magenta */
[6] = "#7dcfff", /* cyan */
[7] = "#a9b1d6", /* white */
/* 8 bright colors */
[8] = "#414868", /* black */
[9] = "#f7768e", /* red */
[10] = "#9ece6a", /* green */
[11] = "#e0af68", /* yellow */
[12] = "#7aa2f7", /* blue */
[13] = "#bb9af7", /* magenta */
[14] = "#7dcfff", /* cyan */
[15] = "#c0caf5", /* white */
/* special colours */
[256] = "#c0caf5", /* foreground */
[257] = "#1a1b26", /* background */
[258] = "#555555", /* reverse cursor */
};
/*
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
unsigned int defaultfg = 256; /* foreground */
unsigned int defaultbg = 257; /* background */
unsigned int defaultcs = 256; /* cursor */
static unsigned int defaultrcs = 258; /* reverse cursor */