MediaWiki:Vector-darkmode.less/codehighlight.less
Jump to navigation
Jump to search
//
/* ======================================= syntax highlight on page previews ======================================= */ // Generated with http://pygments.org/demo/ //----- Monokai -----// @code-background: @cloud-burst; @code-comment: @gray-chateau; @code-literal-1: #ae81ff; @code-literal-2: #e6db74; @code-name-1: #f8f8f2; @code-name-2: #a6e22e; @code-keyword-1: #66d9ef; @code-other: #f92672; .mw-highlight pre { background-color: @code-background } .mw-highlight pre .hll { background-color: #49483e } .mw-highlight pre .c { color: @code-comment } /* Comment */ .mw-highlight pre .err { color: #960050 } /* Error */ .mw-highlight pre .k { color: @code-keyword-1 } /* Keyword */ .mw-highlight pre .l { color: @code-literal-1 } /* Literal */ .mw-highlight pre .n { color: @code-name-1 } /* Name */ .mw-highlight pre .o { color: @code-other } /* Operator */ .mw-highlight pre .p { color: @code-name-1 } /* Punctuation */ .mw-highlight pre .ch { color: @code-comment } /* Comment.Hashbang */ .mw-highlight pre .cm { color: @code-comment } /* Comment.Multiline */ .mw-highlight pre .cp { color: @code-comment } /* Comment.Preproc */ .mw-highlight pre .cpf { color: @code-comment } /* Comment.PreprocFile */ .mw-highlight pre .c1 { color: @code-comment } /* Comment.Single */ .mw-highlight pre .cs { color: @code-comment } /* Comment.Special */ .mw-highlight pre .gd { color: @code-other } /* Generic.Deleted */ .mw-highlight pre .ge { font-style: italic } /* Generic.Emph */ .mw-highlight pre .gi { color: @code-name-2 } /* Generic.Inserted */ .mw-highlight pre .gs { font-weight: bold } /* Generic.Strong */ .mw-highlight pre .gu { color: @code-comment } /* Generic.Subheading */ .mw-highlight pre .kc { color: @code-keyword-1 } /* Keyword.Constant */ .mw-highlight pre .kd { color: @code-keyword-1 } /* Keyword.Declaration */ .mw-highlight pre .kn { color: @code-other } /* Keyword.Namespace */ .mw-highlight pre .kp { color: @code-keyword-1 } /* Keyword.Pseudo */ .mw-highlight pre .kr { color: @code-keyword-1 } /* Keyword.Reserved */ .mw-highlight pre .kt { color: @code-keyword-1 } /* Keyword.Type */ .mw-highlight pre .ld { color: @code-literal-2 } /* Literal.Date */ .mw-highlight pre .m { color: @code-literal-1 } /* Literal.Number */ .mw-highlight pre .s { color: @code-literal-2 } /* Literal.String */ .mw-highlight pre .na { color: @code-name-2 } /* Name.Attribute */ .mw-highlight pre .nb { color: @code-name-1 } /* Name.Builtin */ .mw-highlight pre .nc { color: @code-name-2 } /* Name.Class */ .mw-highlight pre .no { color: @code-keyword-1 } /* Name.Constant */ .mw-highlight pre .nd { color: @code-name-2 } /* Name.Decorator */ .mw-highlight pre .ni { color: @code-name-1 } /* Name.Entity */ .mw-highlight pre .ne { color: @code-name-2 } /* Name.Exception */ .mw-highlight pre .nf { color: @code-name-2 } /* Name.Function */ .mw-highlight pre .nl { color: @code-name-1 } /* Name.Label */ .mw-highlight pre .nn { color: @code-name-1 } /* Name.Namespace */ .mw-highlight pre .nx { color: @code-name-2 } /* Name.Other */ .mw-highlight pre .py { color: @code-name-1 } /* Name.Property */ .mw-highlight pre .nt { color: @code-other } /* Name.Tag */ .mw-highlight pre .nv { color: @code-name-1 } /* Name.Variable */ .mw-highlight pre .ow { color: @code-other } /* Operator.Word */ .mw-highlight pre .w { color: @code-name-1 } /* Text.Whitespace */ .mw-highlight pre .mb { color: @code-literal-1 } /* Literal.Number.Bin */ .mw-highlight pre .mf { color: @code-literal-1 } /* Literal.Number.Float */ .mw-highlight pre .mh { color: @code-literal-1 } /* Literal.Number.Hex */ .mw-highlight pre .mi { color: @code-literal-1 } /* Literal.Number.Integer */ .mw-highlight pre .mo { color: @code-literal-1 } /* Literal.Number.Oct */ .mw-highlight pre .sa { color: @code-literal-2 } /* Literal.String.Affix */ .mw-highlight pre .sb { color: @code-literal-2 } /* Literal.String.Backtick */ .mw-highlight pre .sc { color: @code-literal-2 } /* Literal.String.Char */ .mw-highlight pre .dl { color: @code-literal-2 } /* Literal.String.Delimiter */ .mw-highlight pre .sd { color: @code-literal-2 } /* Literal.String.Doc */ .mw-highlight pre .s2 { color: @code-literal-2 } /* Literal.String.Double */ .mw-highlight pre .se { color: @code-literal-1 } /* Literal.String.Escape */ .mw-highlight pre .sh { color: @code-literal-2 } /* Literal.String.Heredoc */ .mw-highlight pre .si { color: @code-literal-2 } /* Literal.String.Interpol */ .mw-highlight pre .sx { color: @code-literal-2 } /* Literal.String.Other */ .mw-highlight pre .sr { color: @code-literal-2 } /* Literal.String.Regex */ .mw-highlight pre .s1 { color: @code-literal-2 } /* Literal.String.Single */ .mw-highlight pre .ss { color: @code-literal-2 } /* Literal.String.Symbol */ .mw-highlight pre .bp { color: @code-name-1 } /* Name.Builtin.Pseudo */ .mw-highlight pre .fm { color: @code-name-2 } /* Name.Function.Magic */ .mw-highlight pre .vc { color: @code-name-1 } /* Name.Variable.Class */ .mw-highlight pre .vg { color: @code-name-1 } /* Name.Variable.Global */ .mw-highlight pre .vi { color: @code-name-1 } /* Name.Variable.Instance */ .mw-highlight pre .vm { color: @code-name-1 } /* Name.Variable.Magic */ .mw-highlight pre .il { color: @code-literal-1 } /* Literal.Number.Integer.Long */