//// /// Copyright (c) 2016 Martin Donath /// /// Permission is hereby granted, free of charge, to any person obtaining a /// copy of this software and associated documentation files (the "Software"), /// to deal in the Software without restriction, including without limitation /// the rights to use, copy, modify, merge, publish, distribute, sublicense, /// and/or sell copies of the Software, and to permit persons to whom the /// Software is furnished to do so, subject to the following conditions: /// /// The above copyright notice and this permission notice shall be included in /// all copies or substantial portions of the Software. /// /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, /// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL /// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING /// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER /// DEALINGS //// // ---------------------------------------------------------------------------- // Variables // ---------------------------------------------------------------------------- // Keywords $codehilite-keyword: #3B78E7; $codehilite-keyword-declaration: #3B78E7; $codehilite-keyword-namespace: #3B78E7; $codehilite-keyword-reserved: #3E61A2; $codehilite-keyword-type: #3E61A2; // Comments $codehilite-comment: #999999; $codehilite-comment-multiline: #999999; $codehilite-comment-preproc: #666666; $codehilite-comment-single: #999999; $codehilite-comment-special: #999999; // Names $codehilite-name-attribute: #C2185B; $codehilite-name-builtin: #C2185B; $codehilite-name-builtin-pseudo: #3E61A2; $codehilite-name-class: #C2185B; $codehilite-name-constant: #3E61A2; $codehilite-name-decorator: #666666; $codehilite-name-entity: #666666; $codehilite-name-exception: #C2185B; $codehilite-name-function: #C2185B; $codehilite-name-label: #3B5179; $codehilite-name-namespace: #EC407A; $codehilite-name-tag: #3B78E7; $codehilite-name-variable: #3E61A2; $codehilite-name-variable-class: #3E61A2; $codehilite-name-variable-instance: #3E61A2; $codehilite-name-variable-global: #3E61A2; $codehilite-name-extension: #EC407A; // Literals $codehilite-literal-string: #0D904F; // #1eec86 for dark background $codehilite-literal-string-backticks: #0D904F; $codehilite-literal-string-char: #0D904F; $codehilite-literal-string-doc: #999999; $codehilite-literal-string-double: #0D904F; $codehilite-literal-string-single: #0D904F; $codehilite-literal-string-symbol: #0D904F; // Numbers $codehilite-literal-number: #E74C3C; $codehilite-literal-number-float: #E74C3C; $codehilite-literal-number-hex: #E74C3C; $codehilite-literal-number-integer: #E74C3C; $codehilite-literal-number-integer-long: #E74C3C; $codehilite-literal-number-oct: #E74C3C; // ---------------------------------------------------------------------------- // Rules // ---------------------------------------------------------------------------- // Codehilite extension .codehilite, .code { // Errors .err { color: #A61717; } // Operators .o { color: inherit; } // Generics .ge { color: #000000; } // Generic.Emph .gr { color: #AA0000; } // Generic.Error .gh { color: #999999; } // Generic.Heading .go { color: #888888; } // Generic.Output .gp { color: #555555; } // Generic.Prompt .gs { color: inherit; } // Generic.Strong .gu { color: #AAAAAA; } // Generic.Subheading .gt { color: #AA0000; } // Generic.Traceback // Keywords .k { color: $codehilite-keyword; } .kc { color: #A71D5D; } // Keyword.Constant .kd { color: $codehilite-keyword-declaration; } .kn { color: $codehilite-keyword-namespace; } .kp { color: #A71D5D; } // Keyword.Pseudo .kr { color: $codehilite-keyword-reserved; } .kt { color: $codehilite-keyword-type; } // Comments .c { color: $codehilite-comment; } .cm { color: $codehilite-comment-multiline; } .cp { color: $codehilite-comment-preproc; } .c1 { color: $codehilite-comment-single; } .cs { color: $codehilite-comment-special; } // Names .na { color: $codehilite-name-attribute; } .nb { color: $codehilite-name-builtin; } .bp { color: $codehilite-name-builtin-pseudo; } .nc { color: $codehilite-name-class; } .no { color: $codehilite-name-constant; } .nd { color: $codehilite-name-entity; } .ni { color: $codehilite-name-entity; } .ne { color: $codehilite-name-exception; } .nf { color: $codehilite-name-function; } .nl { color: $codehilite-name-label; } .nn { color: $codehilite-name-namespace; } .nt { color: $codehilite-name-tag; } .nv { color: $codehilite-name-variable; } .vc { color: $codehilite-name-variable-class; } .vg { color: $codehilite-name-variable-global; } .vi { color: $codehilite-name-variable-instance; } .nx { color: $codehilite-name-extension; } .ow { color: inherit; } // Numbers .m { color: $codehilite-literal-number; } .mf { color: $codehilite-literal-number-float; } .mh { color: $codehilite-literal-number-hex; } .mi { color: $codehilite-literal-number-integer; } .il { color: $codehilite-literal-number-integer-long; } .mo { color: $codehilite-literal-number-oct; } // Strings .s { color: $codehilite-literal-string; } .sb { color: $codehilite-literal-string-backticks; } .sc { color: $codehilite-literal-string-char; } .sd { color: $codehilite-literal-string-doc; } .s2 { color: $codehilite-literal-string-double; } .se { color: #183691; } // Literal.String.Escape .sh { color: #183691; } // Literal.String.Heredoc .si { color: #183691; } // Literal.String.Interpol .sx { color: #183691; } // Literal.String.Other .sr { color: #009926; } // Literal.String.Regex .s1 { color: $codehilite-literal-string-single; } .ss { color: $codehilite-literal-string-symbol; } // Diffs .gd { background-color: #FFDDDD; } // Generic.Deleted .gi { background-color: #DDFFDD; } // Generic.Inserted // Miscellaneous .w { color: transparent; } // Text.Whitespace }