Iceberg theme for ST.

vejetaryenvampir ec09c9cd8a Added preview pictures. 4 years ago
pix a9ce3990dc Initial commit. 4 years ago
iceberg.h a9ce3990dc Initial commit. 4 years ago
license 50d5481ea3 Added license 4 years ago
readme.md ec09c9cd8a Added preview pictures. 4 years ago

readme.md

How does it look like?

Screen Shot 0 Screen Shot 1 Screen Shot 2 Screen Shot 3

How to use it?

Just put iceberg.h to your ST source folder then replace the code in your config(.def).h with #include "iceberg.h". After that, (re)compile it. :)

the code:

/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
	/* 8 normal colors */
	"black",
	"red3",
	"green3",
	"yellow3",
	"blue2",
	"magenta3",
	"cyan3",
	"gray90",

	/* 8 bright colors */
	"gray50",
	"red",
	"green",
	"yellow",
	"#5c5cff",
	"magenta",
	"cyan",
	"white",

	[255] = 0,

	/* more colors can be added after 255 to use with DefaultXX */
	"#cccccc",
	"#555555",
};


/*
 * Default colors (colorname index)
 * foreground, background, cursor, reverse cursor
 */
unsigned int defaultfg = 7;
unsigned int defaultbg = 0;
static unsigned int defaultcs = 256;
static unsigned int defaultrcs = 257;

Or just copy that code and replace with the code above this sencence then (re)compile it. :)

/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
  /* 8 normal colors */
  "#161821", /* black   */
  "#e27878", /* red     */
  "#b4be82", /* green   */
  "#e2a478", /* yellow  */
  "#84a0c6", /* blue    */
  "#a093c7", /* magenta */
  "#89b8c2", /* cyan    */
  "#c6c8d1", /* white   */

  /* 8 bright colors */
  "#6b7089", /* black   */
  "#e98989", /* red     */
  "#c0ca8e", /* green   */
  "#e9b189", /* yellow  */
  "#91acd1", /* blue    */
  "#ada0d3", /* magenta */
  "#95c4ce", /* cyan    */
  "#d2d4de", /* white   */
};

/*
 * Default colors (colorname index)
 * foreground, background, cursor, reverse cursor
 */
unsigned int defaultfg = 7;
unsigned int defaultbg = 0;
static unsigned int defaultcs = 13;
static unsigned int defaultrcs = 0;