feat: Added a Tokyonight for ST terminal (work on 0.9ver) (#262)
* Added a Tokyonight for ST terminal (work on 0.9ver) * fix README.md
This commit is contained in:
13
extras/st/README.md
Normal file
13
extras/st/README.md
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<h3 align="center">
|
||||||
|
Tokyonight for <a href="https://st.suckless.org/">st</a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
### About
|
||||||
|
|
||||||
|
This port offers the colors needed for ST's header file.
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
|
||||||
|
1. Choose your flavour.
|
||||||
|
2. Copy the contents of `flavor.h` and replace into your st build's `config.h`.
|
||||||
|
3. Then `make install` it in st folder.
|
||||||
39
extras/st/tokyonight_day.h
Normal file
39
extras/st/tokyonight_day.h
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
/* Terminal colors (16 first used in escape sequence) */
|
||||||
|
static const char *colorname[] = {
|
||||||
|
/* 8 normal colors */
|
||||||
|
"#e9e9ed",
|
||||||
|
"#f52a65",
|
||||||
|
"#587539",
|
||||||
|
"#8c6c3e",
|
||||||
|
"#2e7de9",
|
||||||
|
"#9854f1",
|
||||||
|
"#007197",
|
||||||
|
"#6172b0",
|
||||||
|
|
||||||
|
/* 8 bright colors */
|
||||||
|
"#a1a6c5",
|
||||||
|
"#f52a65",
|
||||||
|
"#587539",
|
||||||
|
"#8c6c3e",
|
||||||
|
"#2e7de9",
|
||||||
|
"#9854f1",
|
||||||
|
"#007197",
|
||||||
|
"#3760bf",
|
||||||
|
|
||||||
|
[255] = 0,
|
||||||
|
|
||||||
|
/* more colors can be added after 255 to use with DefaultXX */
|
||||||
|
"#3760bf",
|
||||||
|
"#99a7df",
|
||||||
|
"#3760bf", /* default foreground colour */
|
||||||
|
"#e1e2e7", /* default background colour */
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Default colors (colorname index)
|
||||||
|
* foreground, background, cursor, reverse cursor
|
||||||
|
*/
|
||||||
|
unsigned int defaultfg = 258;
|
||||||
|
unsigned int defaultbg = 259;
|
||||||
|
unsigned int defaultcs = 256;
|
||||||
|
static unsigned int defaultrcs = 257;
|
||||||
39
extras/st/tokyonight_moon.h
Normal file
39
extras/st/tokyonight_moon.h
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
/* Terminal colors (16 first used in escape sequence) */
|
||||||
|
static const char *colorname[] = {
|
||||||
|
/* 8 normal colors */
|
||||||
|
"#1b1d2b",
|
||||||
|
"#ff757f",
|
||||||
|
"#c3e88d",
|
||||||
|
"#ffc777",
|
||||||
|
"#82aaff",
|
||||||
|
"#c099ff",
|
||||||
|
"#86e1fc",
|
||||||
|
"#828bb8",
|
||||||
|
|
||||||
|
/* 8 bright colors */
|
||||||
|
"#444a73",
|
||||||
|
"#ff757f",
|
||||||
|
"#c3e88d",
|
||||||
|
"#ffc777",
|
||||||
|
"#82aaff",
|
||||||
|
"#c099ff",
|
||||||
|
"#86e1fc",
|
||||||
|
"#c8d3f5",
|
||||||
|
|
||||||
|
[255] = 0,
|
||||||
|
|
||||||
|
/* more colors can be added after 255 to use with DefaultXX */
|
||||||
|
"#c8d3f5",
|
||||||
|
"#3654a7",
|
||||||
|
"#c8d3f5", /* default foreground colour */
|
||||||
|
"#222436", /* default background colour */
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Default colors (colorname index)
|
||||||
|
* foreground, background, cursor, reverse cursor
|
||||||
|
*/
|
||||||
|
unsigned int defaultfg = 258;
|
||||||
|
unsigned int defaultbg = 259;
|
||||||
|
unsigned int defaultcs = 256;
|
||||||
|
static unsigned int defaultrcs = 257;
|
||||||
39
extras/st/tokyonight_night.h
Normal file
39
extras/st/tokyonight_night.h
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
/* Terminal colors (16 first used in escape sequence) */
|
||||||
|
static const char *colorname[] = {
|
||||||
|
/* 8 normal colors */
|
||||||
|
"#15161e",
|
||||||
|
"#f7768e",
|
||||||
|
"#9ece6a",
|
||||||
|
"#e0af68",
|
||||||
|
"#7aa2f7",
|
||||||
|
"#bb9af7",
|
||||||
|
"#7dcfff",
|
||||||
|
"#a9b1d6",
|
||||||
|
|
||||||
|
/* 8 bright colors */
|
||||||
|
"#414868",
|
||||||
|
"#f7768e",
|
||||||
|
"#9ece6a",
|
||||||
|
"#e0af68",
|
||||||
|
"#7aa2f7",
|
||||||
|
"#bb9af7",
|
||||||
|
"#7dcfff",
|
||||||
|
"#c0caf5",
|
||||||
|
|
||||||
|
[255] = 0,
|
||||||
|
|
||||||
|
/* more colors can be added after 255 to use with DefaultXX */
|
||||||
|
"#c0caf5",
|
||||||
|
"#33467c",
|
||||||
|
"#c0caf5", /* default foreground colour */
|
||||||
|
"#1a1b26", /* default background colour */
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Default colors (colorname index)
|
||||||
|
* foreground, background, cursor, reverse cursor
|
||||||
|
*/
|
||||||
|
unsigned int defaultfg = 258;
|
||||||
|
unsigned int defaultbg = 259;
|
||||||
|
unsigned int defaultcs = 256;
|
||||||
|
static unsigned int defaultrcs = 257;
|
||||||
40
extras/st/tokyonight_storm.h
Normal file
40
extras/st/tokyonight_storm.h
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
/* Terminal colors (16 first used in escape sequence) */
|
||||||
|
static const char *colorname[] = {
|
||||||
|
/* 8 normal colors */
|
||||||
|
"#1d202f",
|
||||||
|
"#f7768e",
|
||||||
|
"#9ece6a",
|
||||||
|
"#e0af68",
|
||||||
|
"#7aa2f7",
|
||||||
|
"#bb9af7",
|
||||||
|
"#7dcfff",
|
||||||
|
"#a9b1d6",
|
||||||
|
|
||||||
|
/* 8 bright colors */
|
||||||
|
|
||||||
|
"#414868",
|
||||||
|
"#f7768e",
|
||||||
|
"#9ece6a",
|
||||||
|
"#e0af68",
|
||||||
|
"#7aa2f7",
|
||||||
|
"#bb9af7",
|
||||||
|
"#7dcfff",
|
||||||
|
"#c0caf5",
|
||||||
|
|
||||||
|
[255] = 0,
|
||||||
|
|
||||||
|
/* more colors can be added after 255 to use with DefaultXX */
|
||||||
|
"#c0caf5",
|
||||||
|
"#364a82",
|
||||||
|
"#c0caf5", /* default foreground colour */
|
||||||
|
"#24283b", /* default background colour */
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Default colors (colorname index)
|
||||||
|
* foreground, background, cursor, reverse cursor
|
||||||
|
*/
|
||||||
|
unsigned int defaultfg = 258;
|
||||||
|
unsigned int defaultbg = 259;
|
||||||
|
unsigned int defaultcs = 256;
|
||||||
|
static unsigned int defaultrcs = 257;
|
||||||
Reference in New Issue
Block a user