Skip to content

Instantly share code, notes, and snippets.

@sinkap
Created May 26, 2020 16:57
Show Gist options
  • Save sinkap/c10b27cc29f3e0abaa4935f5b6c74437 to your computer and use it in GitHub Desktop.
Save sinkap/c10b27cc29f3e0abaa4935f5b6c74437 to your computer and use it in GitHub Desktop.
* { background:#212121 !important; color:#ccc !important }
/*
* Underlined links add visual noise which make them hard-to-read.
* Use colors to make them stand out, instead.
*/
a { color:#29b6f6 !important; text-decoration:none !important }
a:visited { color:#7e57c2 !important }
/* quoted text in emails gets a different color */
*.q { color:#09f !important }
/*
* these may be used with cgit <https://git.zx2c4.com/cgit/>, too.
* (cgit uses <div>, public-inbox uses <span>)
*/
*.add { color:#66bb6a !important } /* diff post-image lines */
*.del { color:#ef5350 !important } /* diff pre-image lines */
*.head { color:#a1887f !important } /* diff header (metainformation) */
*.hunk { color:#ffa726 !important } /* diff hunk-header */
/*
* highlight 3.x colors (tested 3.18) for displaying blobs.
* This doesn't use most of the colors available, as I find too
* many colors overwhelming, so the default is commented out.
*/
.hl.num { color:#f30 !important } /* number */
.hl.esc { color:#f0f !important } /* escape character */
.hl.str { color:#f30 !important } /* string */
.hl.ppc { color:#f0f !important } /* preprocessor */
.hl.pps { color:#f30 !important } /* preprocessor string */
.hl.slc { color:#09f !important } /* single-line comment */
.hl.com { color:#09f !important } /* multi-line comment */
/* .hl.opt { color:#ccc !important } */ /* operator */
/* .hl.ipl { color:#ccc !important } */ /* interpolation */
/* keyword groups kw[a-z] */
.hl.kwa { color:#ff0 !important }
.hl.kwb { color:#0f0 !important }
.hl.kwc { color:#ff0 !important }
/* .hl.kwd { color:#ccc !important } */
/* line-number (unused by public-inbox) */
/* .hl.lin { color:#ccc !important } */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment