Skip to content

Instantly share code, notes, and snippets.

@johanbrook
Created January 12, 2011 01:16
Show Gist options
  • Save johanbrook/775506 to your computer and use it in GitHub Desktop.
Save johanbrook/775506 to your computer and use it in GitHub Desktop.
Provides a nice retro "awful green-on-black" style for http://kodapp.com
/*
* This is the default style of Kod. If you wish to modify this to your liking,
* make a copy and put it in ~/.kod/mystyle.css then tell Kod where to find it
* by setting a configuration key:
*
* $ defaults write se.hunch.kod style/url ~/.kod/mystyle.css
*
* You might need to restart Kod for changes to take effect. Then, simply open
* your ~/.kod/mystyle.css in Kod -- when edited and saved Kod will
* automatically reload the style, thus you see the effect of your alterations.
*/
body {
font-family: Monaco, Courier, monospace;
font-size: 12px;
background-color: #101010;
color: #08ED00;
}
/* color of the caret and selection range */
caret { color: #08ED00; }
selection { background-color: #000; }
/* the color for context lines (when specified with line ranges) */
metaruler {
color: #08ED00;
background: #000;
border-right: 1px solid #08ED00;
font-size: 10px;
}
keyword { color: #66c8ef; }
type { color: lightsalmon; }
usertype { color: #CAC059; }
classname { color: #eb7962; }
string { color:#5CFF57; }
specialchar { color: #C0D164; background-color:#2B2F26; }
regexp { color: #FFB14B; background-color:#342C22; }
comment { color: #777; font-style: italic; }
number { color: #DF7DE8; }
preproc { color: #9C8B7C; }
symbol { color: #A19DBF; }
function { color: #85FFDF; background-color: #1F2B31; }
cbracket { color: #fff; }
todo { color: #946B57; font-weight: bold; }
/* Internet related */
url {
color: #08ED00; text-decoration: underline;
cursor: pointer;
}
/* other elements for ChangeLog and Log files */
date { color: #F09C9F; font-weight: bold; }
time, file { color: #A78AB0; font-weight: bold; }
ip, name { color: #8CB194; }
/* for Prolog, Perl, lang */
variable { color: yellow; }
italics { text-decoration: underline; font-style: italic; }
bold { color: #fff; font-weight: bold; }
/* for LaTeX, markdown, etc */
underline { color: #B1BA00; text-decoration: underline; }
fixed { color: #bbeecc; background-color: #2c2c2c; }
argument, optionalargument { color: #9194BB; }
math { color: orange; }
bibtex { color: #8D86EE; }
h1,h2,h3,h4,h5,h6 { color: #06BA00; }
ul, ol { color: #ddd; }
/* for diffs */
oldfile { color: #f7bfb6; background-color:#42201C; }
newfile { color: #cff7bf; background-color:#13340C; }
difflines { color: white; background-color:#3D96DE; }
/* for css */
selector { color: #b8cd06; }
property { color: #059E00; }
value { color: #fff; }
/* for Oz, Erlang, etc */
atom { color: orange; }
meta { font-style: italic; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment