Skip to content

Instantly share code, notes, and snippets.

@yangchenyun
Forked from dansimpson/twilight_pygments.css
Created November 10, 2011 11:44
Show Gist options
  • Save yangchenyun/1354678 to your computer and use it in GitHub Desktop.
Save yangchenyun/1354678 to your computer and use it in GitHub Desktop.
Pygments stylesheet based on Textmates's Twilight theme
pre.code { background: #181818; padding: 16px; color: #F8F8F8; font-family: Consolas, Monaco,"Lucida Console"; }
pre.code * { font-family: Consolas, Monaco,"Lucida Console"; }
pre.code .hll { background-color: #ffffcc }
pre.code .c { color: #5F5A60; font-style: italic } /* Comment */
pre.code .err { border:#B22518; } /* Error */
pre.code .k { color: #CDA869 } /* Keyword */
pre.code .cm { color: #5F5A60; font-style: italic } /* Comment.Multiline */
pre.code .cp { color: #5F5A60 } /* Comment.Preproc */
pre.code .c1 { color: #5F5A60; font-style: italic } /* Comment.Single */
pre.code .cs { color: #5F5A60; font-style: italic } /* Comment.Special */
pre.code .gd { background: #420E09 } /* Generic.Deleted */
pre.code .ge { font-style: italic } /* Generic.Emph */
pre.code .gr { background: #B22518 } /* Generic.Error */
pre.code .gh { color: #000080; font-weight: bold } /* Generic.Heading */
pre.code .gi { background: #253B22 } /* Generic.Inserted */
pre.code .go { } /* Generic.Output */
pre.code .gp { font-weight: bold } /* Generic.Prompt */
pre.code .gs { font-weight: bold } /* Generic.Strong */
pre.code .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
pre.code .gt { } /* Generic.Traceback */
pre.code .kc { } /* Keyword.Constant */
pre.code .kd { color: #e9df8f; } /* Keyword.Declaration */
pre.code .kn { } /* Keyword.Namespace */
pre.code .kp { color: #9B703F } /* Keyword.Pseudo */
pre.code .kr { } /* Keyword.Reserved */
pre.code .kt { } /* Keyword.Type */
pre.code .m { } /* Literal.Number */
pre.code .s { } /* Literal.String */
pre.code .na { color: #F9EE98 } /* Name.Attribute */
pre.code .nb { color: #CDA869 } /* Name.Builtin */
pre.code .nc { color: #9B859D; font-weight: bold } /* Name.Class */
pre.code .no { color: #9B859D } /* Name.Constant */
pre.code .nd { color: #7587A6 } /* Name.Decorator */
pre.code .ni { color: #CF6A4C; font-weight: bold } /* Name.Entity */
pre.code .nf { color: #9B703F; font-weight: bold } /* Name.Function */
pre.code .nn { color: #9B859D; font-weight: bold } /* Name.Namespace */
pre.code .nt { color: #CDA869; font-weight: bold } /* Name.Tag */
pre.code .nv { color: #7587A6 } /* Name.Variable */
pre.code .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
pre.code .w { color: #141414 } /* Text.Whitespace */
pre.code .mf { color: #CF6A4C } /* Literal.Number.Float */
pre.code .mh { color: #CF6A4C } /* Literal.Number.Hex */
pre.code .mi { color: #CF6A4C } /* Literal.Number.Integer */
pre.code .mo { color: #CF6A4C } /* Literal.Number.Oct */
pre.code .sb { color: #8F9D6A } /* Literal.String.Backtick */
pre.code .sc { color: #8F9D6A } /* Literal.String.Char */
pre.code .sd { color: #8F9D6A; font-style: italic; } /* Literal.String.Doc */
pre.code .s2 { color: #8F9D6A } /* Literal.String.Double */
pre.code .se { color: #F9EE98; font-weight: bold; } /* Literal.String.Escape */
pre.code .sh { color: #8F9D6A } /* Literal.String.Heredoc */
pre.code .si { color: #DAEFA3; font-weight: bold; } /* Literal.String.Interpol */
pre.code .sx { color: #8F9D6A } /* Literal.String.Other */
pre.code .sr { color: #E9C062 } /* Literal.String.Regex */
pre.code .s1 { color: #8F9D6A } /* Literal.String.Single */
pre.code .ss { color: #CF6A4C } /* Literal.String.Symbol */
pre.code .bp { color: #00aaaa } /* Name.Builtin.Pseudo */
pre.code .vc { color: #7587A6 } /* Name.Variable.Class */
pre.code .vg { color: #7587A6 } /* Name.Variable.Global */
pre.code .vi { color: #7587A6 } /* Name.Variable.Instance */
pre.code .il { color: #009999 } /* Literal.Number.Integer.Long */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment