From 4a1afbb0f2ba63b15e15713986e360cd6a2b0b8c Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 26 Sep 2015 23:14:21 +0200 Subject: [PATCH] new syntax theme --- _src/_assets/styl/syntax.styl | 88 ++++++++++++++++++++++++++--------- 1 file changed, 67 insertions(+), 21 deletions(-) diff --git a/_src/_assets/styl/syntax.styl b/_src/_assets/styl/syntax.styl index 30bf6e27..2a3b1441 100644 --- a/_src/_assets/styl/syntax.styl +++ b/_src/_assets/styl/syntax.styl @@ -1,23 +1,69 @@ -.highlight code, .highlight pre{color:$code-color;background-color:$code-bg} +// https://github.com/MozMorris/tomorrow-pygments/blob/master/css/tomorrow_night_eighties.css -.highlight .hll { background-color: #ffc; } -.highlight .gd { color: #2e3436; background-color: #0e1416; } -.highlight .gr { color: #eeeeec; background-color: #c00; } -.highlight .gi { color: #babdb6; background-color: #1f2b2d; } -.highlight .go { color: #2c3032; background-color: #2c3032; } -.highlight .kt { color: #e3e7df; } -.highlight .ni { color: #888a85; } -.highlight .c,.highlight .cm,.highlight .c1,.highlight .cs { color: #8D9684; } -.highlight .err,.highlight .g,.highlight .l,.highlight .n,.highlight .x,.highlight .p,.highlight .ge, -.highlight .gp,.highlight .gs,.highlight .gt,.highlight .ld,.highlight .s,.highlight .nc,.highlight .nd, -.highlight .ne,.highlight .nl,.highlight .nn,.highlight .nx,.highlight .py,.highlight .ow,.highlight .w,.highlight .sb, -.highlight .sc,.highlight .sd,.highlight .s2,.highlight .se,.highlight .sh,.highlight .si,.highlight .sx,.highlight .sr, -.highlight .s1,.highlight .ss,.highlight .bp { color: #C1C2C3; } -.highlight .k,.highlight .kc,.highlight .kd,.highlight .kn,.highlight .kp,.highlight .kr, -.highlight .nt { color: #729fcf; } -.highlight .cp,.highlight .gh,.highlight .gu,.highlight .na,.highlight .nf { color: #E9A94B ; } -.highlight .m,.highlight .nb,.highlight .no,.highlight .mf,.highlight .mh,.highlight .mi,.highlight .mo, -.highlight .il { color: #8ae234; } -.highlight .o { color: #989DAA; } -.highlight .nv,.highlight .vc,.highlight .vg,.highlight .vi { color: #fff; } + +.highlight .hll { background-color: #515151 } +.highlight { color: #cccccc } +.highlight .c { color: #999999 } /* Comment */ +.highlight .err { color: #f2777a } /* Error */ +.highlight .k { color: #cc99cc } /* Keyword */ +.highlight .l { color: #f99157 } /* Literal */ +.highlight .n { color: #cccccc } /* Name */ +.highlight .o { color: #66cccc } /* Operator */ +.highlight .p { color: #cccccc } /* Punctuation */ +.highlight .cm { color: #999999 } /* Comment.Multiline */ +.highlight .cp { color: #999999 } /* Comment.Preproc */ +.highlight .c1 { color: #999999 } /* Comment.Single */ +.highlight .cs { color: #999999 } /* Comment.Special */ +.highlight .gd { color: #f2777a } /* Generic.Deleted */ +.highlight .ge { font-style: italic } /* Generic.Emph */ +.highlight .gh { color: #cccccc; font-weight: bold } /* Generic.Heading */ +.highlight .gi { color: #99cc99 } /* Generic.Inserted */ +.highlight .gp { color: #999999; font-weight: bold } /* Generic.Prompt */ +.highlight .gs { font-weight: bold } /* Generic.Strong */ +.highlight .gu { color: #66cccc; font-weight: bold } /* Generic.Subheading */ +.highlight .kc { color: #cc99cc } /* Keyword.Constant */ +.highlight .kd { color: #cc99cc } /* Keyword.Declaration */ +.highlight .kn { color: #66cccc } /* Keyword.Namespace */ +.highlight .kp { color: #cc99cc } /* Keyword.Pseudo */ +.highlight .kr { color: #cc99cc } /* Keyword.Reserved */ +.highlight .kt { color: #ffcc66 } /* Keyword.Type */ +.highlight .ld { color: #99cc99 } /* Literal.Date */ +.highlight .m { color: #f99157 } /* Literal.Number */ +.highlight .s { color: #99cc99 } /* Literal.String */ +.highlight .na { color: #6699cc } /* Name.Attribute */ +.highlight .nb { color: #cccccc } /* Name.Builtin */ +.highlight .nc { color: #ffcc66 } /* Name.Class */ +.highlight .no { color: #f2777a } /* Name.Constant */ +.highlight .nd { color: #66cccc } /* Name.Decorator */ +.highlight .ni { color: #cccccc } /* Name.Entity */ +.highlight .ne { color: #f2777a } /* Name.Exception */ +.highlight .nf { color: #6699cc } /* Name.Function */ +.highlight .nl { color: #cccccc } /* Name.Label */ +.highlight .nn { color: #ffcc66 } /* Name.Namespace */ +.highlight .nx { color: #6699cc } /* Name.Other */ +.highlight .py { color: #cccccc } /* Name.Property */ +.highlight .nt { color: #66cccc } /* Name.Tag */ +.highlight .nv { color: #f2777a } /* Name.Variable */ +.highlight .ow { color: #66cccc } /* Operator.Word */ +.highlight .w { color: #cccccc } /* Text.Whitespace */ +.highlight .mf { color: #f99157 } /* Literal.Number.Float */ +.highlight .mh { color: #f99157 } /* Literal.Number.Hex */ +.highlight .mi { color: #f99157 } /* Literal.Number.Integer */ +.highlight .mo { color: #f99157 } /* Literal.Number.Oct */ +.highlight .sb { color: #99cc99 } /* Literal.String.Backtick */ +.highlight .sc { color: #cccccc } /* Literal.String.Char */ +.highlight .sd { color: #999999 } /* Literal.String.Doc */ +.highlight .s2 { color: #99cc99 } /* Literal.String.Double */ +.highlight .se { color: #f99157 } /* Literal.String.Escape */ +.highlight .sh { color: #99cc99 } /* Literal.String.Heredoc */ +.highlight .si { color: #f99157 } /* Literal.String.Interpol */ +.highlight .sx { color: #99cc99 } /* Literal.String.Other */ +.highlight .sr { color: #99cc99 } /* Literal.String.Regex */ +.highlight .s1 { color: #99cc99 } /* Literal.String.Single */ +.highlight .ss { color: #99cc99 } /* Literal.String.Symbol */ +.highlight .bp { color: #cccccc } /* Name.Builtin.Pseudo */ +.highlight .vc { color: #f2777a } /* Name.Variable.Class */ +.highlight .vg { color: #f2777a } /* Name.Variable.Global */ +.highlight .vi { color: #f2777a } /* Name.Variable.Instance */ +.highlight .il { color: #f99157 } /* Literal.Number.Integer.Long */