Coder Social home page Coder Social logo

base16-st's Introduction

base16 theme for st

Base16 colors for the wonderful st terminal by suckless.

Base16 provides carefully chosen syntax highlighting and a default set of sixteen colors suitable for a wide range of applications. Base16 is not a single theme but a set of guidelines with numerous implementations.

Installation

Pick your favorite theme from the build/ directory, and place its contents into you config.h file.

License

MIT

base16-st's People

Contributors

honza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

base16-st's Issues

Wrong orders in colorname

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;

Wrong colour order for utilities

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.

Urxvt default colourscheme:
Urxvt default colourscheme

Base16-OneDark
base16-onedark-theme

Base16-tomorrow-night theme isn't working properly

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

Can't compile against st-0.8.1

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.