honza / base16-st Goto Github PK
View Code? Open in Web Editor NEWColors for the st terminal
License: MIT License
Colors for the st terminal
License: MIT License
Please include ia-dark colorscheme
Hi all. I'm trying to compile the last version of St but get the error. What I did:
cd st-0.8.1
cat config.h | head -1
#include "themes/base16-default-dark-theme.h"
(all other options are default, except vars/constants related to colors are commented out)
make clean
make &> err.log
And here is content of err.log
st build options:
CFLAGS = -I/usr/X11R6/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -DVERSION="0.8.1" -D_XOPEN_SOURCE=600 -O
LDFLAGS = -L/usr/X11R6/lib -lm -lrt -lX11 -lutil -lXft -lfontconfig -lfreetype -lfreetype
CC = c99
c99 -I/usr/X11R6/include `pkg-config --cflags fontconfig` `pkg-config --cflags freetype2` -DVERSION=\"0.8.1\" -D_XOPEN_SOURCE=600 -O -c st.c
c99 -I/usr/X11R6/include `pkg-config --cflags fontconfig` `pkg-config --cflags freetype2` -DVERSION=\"0.8.1\" -D_XOPEN_SOURCE=600 -O -c x.c
In file included from config.h:85:0,
from x.c:61:
themes/base16-default-dark-theme.h:37:21: error: static declaration of 'defaultfg' follows non-static declaration
static unsigned int defaultfg = 12;
^~~~~~~~~
In file included from x.c:20:0:
st.h:122:21: note: previous declaration of 'defaultfg' was here
extern unsigned int defaultfg;
^~~~~~~~~
In file included from config.h:85:0,
from x.c:61:
themes/base16-default-dark-theme.h:38:21: error: static declaration of 'defaultbg' follows non-static declaration
static unsigned int defaultbg = 8;
^~~~~~~~~
In file included from x.c:20:0:
st.h:123:21: note: previous declaration of 'defaultbg' was here
extern unsigned int defaultbg;
^~~~~~~~~
make: *** [Makefile:22: x.o] Error 1
Any ideas?
In st 0.8.1, it seems that that the order in the colorname
is wrong or at least it is not compatible with base16-shell or with base16 emacs themes. It makes the themes to pick wrong color as background. Easy way to test is to use any dark theme and then run base16-shell with the same theme.
The correct should be:
static const char *colorname[] = {
"#1b2b34", /* base00 */
"#ec5f67", /* base08 */
"#99c794", /* base0B */
"#fac863", /* base0A */
"#6699cc", /* base0D */
"#c594c5", /* base0E */
"#5fb3b3", /* base0C */
"#c0c5ce", /* base05 */
"#65737e", /* base03 */
"#f99157", /* base09 */
"#343d46", /* base01 */
"#4f5b66", /* base02 */
"#a7adba", /* base04 */
"#cdd3de", /* base06 */
"#ab7967", /* base0F */
"#d8dee9", /* base07 */
};
unsigned int defaultfg = 7;
unsigned int defaultbg = 0;
The colors in the "tomorrow-night" theme are miss matched. For instance, when I open st and then vim, the colors look different when I launch vim within the terminal at the same time, like using the command "st -e vim" in dmenu or another terminal. Please fix it soon
Recently installed the colourschemes, and love them.
One major issue I've encountered though is that most shell utilities expect a different order of colours, which leads to them using a very dim colour for things that should be bright.
For example, ack
displays filenames with a bright green. Similarly, ls
displays executable files with a bright green. (in my default urxvt colourscheme)
In most of the colourschemes in this repo, these are instead highlighted with a very dim colour which is barely distinguishable from the background.
Hi, first of all, congratulations for your excellent work.
I have this problem with st and gruvbox-dark-medium that the colors are never correct as they are in urxvt with the same theme, but one thing I noticed is that when I use st with base16 shell the colors are identical to those of urxvt.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.