Skip to content

Instantly share code, notes, and snippets.

@pxqr
Created June 3, 2014 22:46
Show Gist options
  • Save pxqr/c22ef7deb1e6d5f7fcba to your computer and use it in GitHub Desktop.
Save pxqr/c22ef7deb1e6d5f7fcba to your computer and use it in GitHub Desktop.
Solarized pallette for Kate HTML formatter.
/* solarized pallette: http://ethanschoonover.com/solarized */
$base03 : #002b36; /* optional emphasized content */
$base02 : #073642; /* body text / default code / primary content */
$base01 : #586e75;
$base00 : #657b83;
$base0 : #839496;
$base1 : #93a1a1; /* comments / secondary content */
$base2 : #eee8d5; /* background highlights */
$base3 : #fdf6e3; /* background */
$yellow : #b58900;
$orange : #cb4b16;
$red : #dc322f;
$magenta: #d33682;
$violet : #6c71c4;
$blue : #268bd2;
$cyan : #2aa198;
$green : #859900;
/* kate html formatter styles
http://hackage.haskell.org/package/highlighting-kate-0.5.8.2/docs/Text-Highlighting-Kate-Format-HTML.html
*/
pre.sourceCode {
/* background-color: $base3; */
color: $base02;
}
.kw { color: $yellow; } /* Keyword */
.dt { color: $blue; } /* Data type */
.dv { color: $yellow; } /* Decimal value */
.bn { color: $yellow; } /* BaseN */
.fl { color: $yellow; } /* Float */
.ch { color: $magenta;} /* Char */
.st { color: $magenta;} /* String */
.co { color: $base1; } /* Comment */
.ot { color: $base02; } /* Other */
.al { color: #FF0000; } /* Alert */
.fu { color: $base03; } /* Function */
.re { color: $base03; } /* Region marker */
.er { color: $red; } /* Error */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment