Switch modus-operandi/vivendi for syntax highlighting with adjusted background colors
This commit is contained in:
parent
02fea02e15
commit
aec1adb876
|
@ -0,0 +1,12 @@
|
|||
/* Overrides for light/dark.css */
|
||||
|
||||
:root {
|
||||
--chroma-bg: #f9f9f9;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--chroma-bg: #28282f;
|
||||
}
|
||||
}
|
||||
/* Background */ .bg { color: #ffffff; background-color: var(--chroma-bg); }
|
||||
/* PreWrapper */ .chroma { color: #ffffff; background-color: var(--chroma-bg); }
|
|
@ -1,82 +1,86 @@
|
|||
/* Background */ .chroma { color: #f8f8f2; background-color: #282a36 }
|
||||
/* Other */ .chroma .x { color: #fff }
|
||||
/* Error */ .chroma .err { color: #fff }
|
||||
/* Background */ .bg { color: #ffffff; background-color: #000000; }
|
||||
/* PreWrapper */ .chroma { color: #ffffff; background-color: #000000; }
|
||||
/* Other */ .chroma .x { }
|
||||
/* Error */ .chroma .err { }
|
||||
/* CodeLine */ .chroma .cl { }
|
||||
/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit }
|
||||
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||
/* LineTable */ .chroma .lntable { /*border-spacing: 0;*/ padding: 0; margin: 0; /*border: 0;*/ width: auto; overflow: auto; display: block; }
|
||||
/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #3d3e35 }
|
||||
/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #eaeaea }
|
||||
/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||
/* Keyword */ .chroma .k { color: #ff79c6 }
|
||||
/* KeywordConstant */ .chroma .kc { color: #ff79c6 }
|
||||
/* KeywordDeclaration */ .chroma .kd { color: #8be9fd; font-style: italic }
|
||||
/* KeywordNamespace */ .chroma .kn { color: #ff79c6 }
|
||||
/* KeywordPseudo */ .chroma .kp { color: #ff79c6 }
|
||||
/* KeywordReserved */ .chroma .kr { color: #ff79c6 }
|
||||
/* KeywordType */ .chroma .kt { color: #8be9fd }
|
||||
/* Name */ .chroma .n { color: #fff }
|
||||
/* NameAttribute */ .chroma .na { color: #50fa7b }
|
||||
/* NameBuiltin */ .chroma .nb { color: #8be9fd; font-style: italic }
|
||||
/* NameBuiltinPseudo */ .chroma .bp { color: #fff }
|
||||
/* NameClass */ .chroma .nc { color: #50fa7b }
|
||||
/* NameConstant */ .chroma .no { color: #fff }
|
||||
/* NameDecorator */ .chroma .nd { color: #fff }
|
||||
/* NameEntity */ .chroma .ni { color: #fff }
|
||||
/* NameException */ .chroma .ne { color: #fff }
|
||||
/* NameFunction */ .chroma .nf { color: #50fa7b }
|
||||
/* NameFunctionMagic */ .chroma .fm { color: #fff }
|
||||
/* NameLabel */ .chroma .nl { color: #8be9fd; font-style: italic }
|
||||
/* NameNamespace */ .chroma .nn { color: #fff }
|
||||
/* NameOther */ .chroma .nx { color: #fff }
|
||||
/* NameProperty */ .chroma .py { color: #fff }
|
||||
/* NameTag */ .chroma .nt { color: #ff79c6 }
|
||||
/* NameVariable */ .chroma .nv { color: #8be9fd; font-style: italic }
|
||||
/* NameVariableClass */ .chroma .vc { color: #8be9fd; font-style: italic }
|
||||
/* NameVariableGlobal */ .chroma .vg { color: #8be9fd; font-style: italic }
|
||||
/* NameVariableInstance */ .chroma .vi { color: #8be9fd; font-style: italic }
|
||||
/* NameVariableMagic */ .chroma .vm { color: #fff }
|
||||
/* Literal */ .chroma .l { color: #fff }
|
||||
/* LiteralDate */ .chroma .ld { color: #fff }
|
||||
/* LiteralString */ .chroma .s { color: #e4e9a8 }
|
||||
/* LiteralStringAffix */ .chroma .sa { color: #e4e9a8 }
|
||||
/* LiteralStringBacktick */ .chroma .sb { color: #e4e9a8 }
|
||||
/* LiteralStringChar */ .chroma .sc { color: #e4e9a8 }
|
||||
/* LiteralStringDelimiter */ .chroma .dl { color: #e4e9a8 }
|
||||
/* LiteralStringDoc */ .chroma .sd { color: #e4e9a8 }
|
||||
/* LiteralStringDouble */ .chroma .s2 { color: #e4e9a8 }
|
||||
/* LiteralStringEscape */ .chroma .se { color: #e4e9a8 }
|
||||
/* LiteralStringHeredoc */ .chroma .sh { color: #e4e9a8 }
|
||||
/* LiteralStringInterpol */ .chroma .si { color: #e4e9a8 }
|
||||
/* LiteralStringOther */ .chroma .sx { color: #e4e9a8 }
|
||||
/* LiteralStringRegex */ .chroma .sr { color: #e4e9a8 }
|
||||
/* LiteralStringSingle */ .chroma .s1 { color: #e4e9a8 }
|
||||
/* LiteralStringSymbol */ .chroma .ss { color: #e4e9a8 }
|
||||
/* LiteralNumber */ .chroma .m { color: #bd93f9 }
|
||||
/* LiteralNumberBin */ .chroma .mb { color: #bd93f9 }
|
||||
/* LiteralNumberFloat */ .chroma .mf { color: #bd93f9 }
|
||||
/* LiteralNumberHex */ .chroma .mh { color: #bd93f9 }
|
||||
/* LiteralNumberInteger */ .chroma .mi { color: #bd93f9 }
|
||||
/* LiteralNumberIntegerLong */ .chroma .il { color: #bd93f9 }
|
||||
/* LiteralNumberOct */ .chroma .mo { color: #bd93f9 }
|
||||
/* Operator */ .chroma .o { color: #ff79c6 }
|
||||
/* OperatorWord */ .chroma .ow { color: #ff79c6 }
|
||||
/* Punctuation */ .chroma .p { color: #fff }
|
||||
/* Comment */ .chroma .c { color: #b7c7fb }
|
||||
/* CommentHashbang */ .chroma .ch { color: #b7c7fb }
|
||||
/* CommentMultiline */ .chroma .cm { color: #b7c7fb }
|
||||
/* CommentSingle */ .chroma .c1 { color: #b7c7fb }
|
||||
/* CommentSpecial */ .chroma .cs { color: #b7c7fb }
|
||||
/* CommentPreproc */ .chroma .ccp { color: #ff79c6 }
|
||||
/* CommentPreprocFile */ .chroma .cpf { color: #ff79c6 }
|
||||
/* Generic */ .chroma .g { color: #fff }
|
||||
/* GenericDeleted */ .chroma .gd { color: #8b080b }
|
||||
/* GenericEmph */ .chroma .ge { text-decoration: underline }
|
||||
/* GenericError */ .chroma .gr { color: #fff }
|
||||
/* GenericHeading */ .chroma .gh { font-weight: bold }
|
||||
/* GenericInserted */ .chroma .gi { color: #50fa7b; font-weight: bold }
|
||||
/* GenericOutput */ .chroma .go { color: #44475a }
|
||||
/* GenericPrompt */ .chroma .gp { color: #fff }
|
||||
/* GenericStrong */ .chroma .gs { color: #fff }
|
||||
/* GenericSubheading */ .chroma .gu { color: #ff79c6; font-weight: bold }
|
||||
/* GenericTraceback */ .chroma .gt { color: #fff }
|
||||
/* GenericUnderline */ .chroma .gl { text-decoration: underline }
|
||||
/* TextWhitespace */ .chroma .w { color: #fff }
|
||||
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||
/* LineHighlight */ .chroma .hl { background-color: #ffffcc }
|
||||
/* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||
/* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||
/* Line */ .chroma .line { display: flex; }
|
||||
/* Keyword */ .chroma .k { color: #b6a0ff }
|
||||
/* KeywordConstant */ .chroma .kc { color: #00bcff }
|
||||
/* KeywordDeclaration */ .chroma .kd { color: #b6a0ff }
|
||||
/* KeywordNamespace */ .chroma .kn { color: #b6a0ff }
|
||||
/* KeywordPseudo */ .chroma .kp { color: #b6a0ff }
|
||||
/* KeywordReserved */ .chroma .kr { color: #b6a0ff }
|
||||
/* KeywordType */ .chroma .kt { color: #6ae4b9 }
|
||||
/* Name */ .chroma .n { }
|
||||
/* NameAttribute */ .chroma .na { }
|
||||
/* NameBuiltin */ .chroma .nb { color: #f78fe7 }
|
||||
/* NameBuiltinPseudo */ .chroma .bp { }
|
||||
/* NameClass */ .chroma .nc { }
|
||||
/* NameConstant */ .chroma .no { }
|
||||
/* NameDecorator */ .chroma .nd { }
|
||||
/* NameEntity */ .chroma .ni { }
|
||||
/* NameException */ .chroma .ne { }
|
||||
/* NameFunction */ .chroma .nf { color: #feacd0 }
|
||||
/* NameFunctionMagic */ .chroma .fm { }
|
||||
/* NameLabel */ .chroma .nl { }
|
||||
/* NameNamespace */ .chroma .nn { }
|
||||
/* NameOther */ .chroma .nx { }
|
||||
/* NameProperty */ .chroma .py { }
|
||||
/* NameTag */ .chroma .nt { }
|
||||
/* NameVariable */ .chroma .nv { color: #00d3d0 }
|
||||
/* NameVariableClass */ .chroma .vc { }
|
||||
/* NameVariableGlobal */ .chroma .vg { }
|
||||
/* NameVariableInstance */ .chroma .vi { }
|
||||
/* NameVariableMagic */ .chroma .vm { }
|
||||
/* Literal */ .chroma .l { color: #00bcff }
|
||||
/* LiteralDate */ .chroma .ld { color: #00bcff }
|
||||
/* LiteralString */ .chroma .s { color: #79a8ff }
|
||||
/* LiteralStringAffix */ .chroma .sa { color: #79a8ff }
|
||||
/* LiteralStringBacktick */ .chroma .sb { color: #79a8ff }
|
||||
/* LiteralStringChar */ .chroma .sc { color: #79a8ff }
|
||||
/* LiteralStringDelimiter */ .chroma .dl { color: #79a8ff }
|
||||
/* LiteralStringDoc */ .chroma .sd { color: #79a8ff }
|
||||
/* LiteralStringDouble */ .chroma .s2 { color: #79a8ff }
|
||||
/* LiteralStringEscape */ .chroma .se { color: #79a8ff }
|
||||
/* LiteralStringHeredoc */ .chroma .sh { color: #79a8ff }
|
||||
/* LiteralStringInterpol */ .chroma .si { color: #79a8ff }
|
||||
/* LiteralStringOther */ .chroma .sx { color: #79a8ff }
|
||||
/* LiteralStringRegex */ .chroma .sr { color: #79a8ff }
|
||||
/* LiteralStringSingle */ .chroma .s1 { color: #79a8ff }
|
||||
/* LiteralStringSymbol */ .chroma .ss { color: #79a8ff }
|
||||
/* LiteralNumber */ .chroma .m { color: #00bcff }
|
||||
/* LiteralNumberBin */ .chroma .mb { color: #00bcff }
|
||||
/* LiteralNumberFloat */ .chroma .mf { color: #00bcff }
|
||||
/* LiteralNumberHex */ .chroma .mh { color: #00bcff }
|
||||
/* LiteralNumberInteger */ .chroma .mi { color: #00bcff }
|
||||
/* LiteralNumberIntegerLong */ .chroma .il { color: #00bcff }
|
||||
/* LiteralNumberOct */ .chroma .mo { color: #00bcff }
|
||||
/* Operator */ .chroma .o { color: #00d3d0 }
|
||||
/* OperatorWord */ .chroma .ow { color: #00d3d0 }
|
||||
/* Punctuation */ .chroma .p { }
|
||||
/* Comment */ .chroma .c { color: #a8a8a8 }
|
||||
/* CommentHashbang */ .chroma .ch { color: #a8a8a8 }
|
||||
/* CommentMultiline */ .chroma .cm { color: #a8a8a8 }
|
||||
/* CommentSingle */ .chroma .c1 { color: #a8a8a8 }
|
||||
/* CommentSpecial */ .chroma .cs { color: #a8a8a8 }
|
||||
/* CommentPreproc */ .chroma .cp { color: #a8a8a8 }
|
||||
/* CommentPreprocFile */ .chroma .cpf { color: #a8a8a8 }
|
||||
/* Generic */ .chroma .g { }
|
||||
/* GenericDeleted */ .chroma .gd { }
|
||||
/* GenericEmph */ .chroma .ge { }
|
||||
/* GenericError */ .chroma .gr { }
|
||||
/* GenericHeading */ .chroma .gh { }
|
||||
/* GenericInserted */ .chroma .gi { }
|
||||
/* GenericOutput */ .chroma .go { }
|
||||
/* GenericPrompt */ .chroma .gp { }
|
||||
/* GenericStrong */ .chroma .gs { }
|
||||
/* GenericSubheading */ .chroma .gu { }
|
||||
/* GenericTraceback */ .chroma .gt { }
|
||||
/* GenericUnderline */ .chroma .gl { }
|
||||
/* TextWhitespace */ .chroma .w { }
|
||||
|
|
|
@ -1,82 +1,86 @@
|
|||
/* Background */ .chroma { background-color: #f8f8f8 }
|
||||
/* Other */ .chroma .x { color: #000000 }
|
||||
/* Error */ .chroma .err { color: #a40000 }
|
||||
/* Background */ .bg { color: #000000; background-color: #ffffff; }
|
||||
/* PreWrapper */ .chroma { color: #000000; background-color: #ffffff; }
|
||||
/* Other */ .chroma .x { }
|
||||
/* Error */ .chroma .err { }
|
||||
/* CodeLine */ .chroma .cl { }
|
||||
/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit }
|
||||
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||
/* LineTable */ .chroma .lntable { /*border-spacing: 0;*/ padding: 0; margin: 0; /*border: 0;*/ width: auto; overflow: auto; display: block; }
|
||||
/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc }
|
||||
/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||
/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||
/* Keyword */ .chroma .k { color: #204a87; font-weight: bold }
|
||||
/* KeywordConstant */ .chroma .kc { color: #204a87; font-weight: bold }
|
||||
/* KeywordDeclaration */ .chroma .kd { color: #204a87; font-weight: bold }
|
||||
/* KeywordNamespace */ .chroma .kn { color: #204a87; font-weight: bold }
|
||||
/* KeywordPseudo */ .chroma .kp { color: #204a87; font-weight: bold }
|
||||
/* KeywordReserved */ .chroma .kr { color: #204a87; font-weight: bold }
|
||||
/* KeywordType */ .chroma .kt { color: #204a87; font-weight: bold }
|
||||
/* Name */ .chroma .n { color: #000000 }
|
||||
/* NameAttribute */ .chroma .na { color: #c4a000 }
|
||||
/* NameBuiltin */ .chroma .nb { color: #204a87 }
|
||||
/* NameBuiltinPseudo */ .chroma .bp { color: #3465a4 }
|
||||
/* NameClass */ .chroma .nc { color: #000000 }
|
||||
/* NameConstant */ .chroma .no { color: #000000 }
|
||||
/* NameDecorator */ .chroma .nd { color: #5c35cc; font-weight: bold }
|
||||
/* NameEntity */ .chroma .ni { color: #ce5c00 }
|
||||
/* NameException */ .chroma .ne { color: #cc0000; font-weight: bold }
|
||||
/* NameFunction */ .chroma .nf { color: #000000 }
|
||||
/* NameFunctionMagic */ .chroma .fm { color: #000000 }
|
||||
/* NameLabel */ .chroma .nl { color: #f57900 }
|
||||
/* NameNamespace */ .chroma .nn { color: #000000 }
|
||||
/* NameOther */ .chroma .nx { color: #000000 }
|
||||
/* NameProperty */ .chroma .py { color: #000000 }
|
||||
/* NameTag */ .chroma .nt { color: #204a87; font-weight: bold }
|
||||
/* NameVariable */ .chroma .nv { color: #000000 }
|
||||
/* NameVariableClass */ .chroma .vc { color: #000000 }
|
||||
/* NameVariableGlobal */ .chroma .vg { color: #000000 }
|
||||
/* NameVariableInstance */ .chroma .vi { color: #000000 }
|
||||
/* NameVariableMagic */ .chroma .vm { color: #000000 }
|
||||
/* Literal */ .chroma .l { color: #000000 }
|
||||
/* LiteralDate */ .chroma .ld { color: #000000 }
|
||||
/* LiteralString */ .chroma .s { color: #4e9a06 }
|
||||
/* LiteralStringAffix */ .chroma .sa { color: #4e9a06 }
|
||||
/* LiteralStringBacktick */ .chroma .sb { color: #4e9a06 }
|
||||
/* LiteralStringChar */ .chroma .sc { color: #4e9a06 }
|
||||
/* LiteralStringDelimiter */ .chroma .dl { color: #4e9a06 }
|
||||
/* LiteralStringDoc */ .chroma .sd { color: #8f5902; font-style: italic }
|
||||
/* LiteralStringDouble */ .chroma .s2 { color: #4e9a06 }
|
||||
/* LiteralStringEscape */ .chroma .se { color: #4e9a06 }
|
||||
/* LiteralStringHeredoc */ .chroma .sh { color: #4e9a06 }
|
||||
/* LiteralStringInterpol */ .chroma .si { color: #4e9a06 }
|
||||
/* LiteralStringOther */ .chroma .sx { color: #4e9a06 }
|
||||
/* LiteralStringRegex */ .chroma .sr { color: #4e9a06 }
|
||||
/* LiteralStringSingle */ .chroma .s1 { color: #4e9a06 }
|
||||
/* LiteralStringSymbol */ .chroma .ss { color: #4e9a06 }
|
||||
/* LiteralNumber */ .chroma .m { color: #0000cf; font-weight: bold }
|
||||
/* LiteralNumberBin */ .chroma .mb { color: #0000cf; font-weight: bold }
|
||||
/* LiteralNumberFloat */ .chroma .mf { color: #0000cf; font-weight: bold }
|
||||
/* LiteralNumberHex */ .chroma .mh { color: #0000cf; font-weight: bold }
|
||||
/* LiteralNumberInteger */ .chroma .mi { color: #0000cf; font-weight: bold }
|
||||
/* LiteralNumberIntegerLong */ .chroma .il { color: #0000cf; font-weight: bold }
|
||||
/* LiteralNumberOct */ .chroma .mo { color: #0000cf; font-weight: bold }
|
||||
/* Operator */ .chroma .o { color: #ce5c00; font-weight: bold }
|
||||
/* OperatorWord */ .chroma .ow { color: #204a87; font-weight: bold }
|
||||
/* Punctuation */ .chroma .p { color: #000000; font-weight: bold }
|
||||
/* Comment */ .chroma .c { color: #8f5902; font-style: italic }
|
||||
/* CommentHashbang */ .chroma .ch { color: #8f5902; font-style: italic }
|
||||
/* CommentMultiline */ .chroma .cm { color: #8f5902; font-style: italic }
|
||||
/* CommentSingle */ .chroma .c1 { color: #8f5902; font-style: italic }
|
||||
/* CommentSpecial */ .chroma .cs { color: #8f5902; font-style: italic }
|
||||
/* CommentPreproc */ .chroma .cp { color: #8f5902; font-style: italic }
|
||||
/* CommentPreprocFile */ .chroma .cpf { color: #8f5902; font-style: italic }
|
||||
/* Generic */ .chroma .g { color: #000000 }
|
||||
/* GenericDeleted */ .chroma .gd { color: #a40000 }
|
||||
/* GenericEmph */ .chroma .ge { color: #000000; font-style: italic }
|
||||
/* GenericError */ .chroma .gr { color: #ef2929 }
|
||||
/* GenericHeading */ .chroma .gh { color: #000080; font-weight: bold }
|
||||
/* GenericInserted */ .chroma .gi { color: #00a000 }
|
||||
/* GenericOutput */ .chroma .go { color: #000000; font-style: italic }
|
||||
/* GenericPrompt */ .chroma .gp { color: #8f5902 }
|
||||
/* GenericStrong */ .chroma .gs { color: #000000; font-weight: bold }
|
||||
/* GenericSubheading */ .chroma .gu { color: #800080; font-weight: bold }
|
||||
/* GenericTraceback */ .chroma .gt { color: #a40000; font-weight: bold }
|
||||
/* GenericUnderline */ .chroma .gl { color: #000000; text-decoration: underline }
|
||||
/* TextWhitespace */ .chroma .w { color: #f8f8f8; text-decoration: underline }
|
||||
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||
/* LineHighlight */ .chroma .hl { background-color: #ffffcc }
|
||||
/* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||
/* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||
/* Line */ .chroma .line { display: flex; }
|
||||
/* Keyword */ .chroma .k { color: #5317ac }
|
||||
/* KeywordConstant */ .chroma .kc { color: #0000c0 }
|
||||
/* KeywordDeclaration */ .chroma .kd { color: #5317ac }
|
||||
/* KeywordNamespace */ .chroma .kn { color: #5317ac }
|
||||
/* KeywordPseudo */ .chroma .kp { color: #5317ac }
|
||||
/* KeywordReserved */ .chroma .kr { color: #5317ac }
|
||||
/* KeywordType */ .chroma .kt { color: #005a5f }
|
||||
/* Name */ .chroma .n { }
|
||||
/* NameAttribute */ .chroma .na { }
|
||||
/* NameBuiltin */ .chroma .nb { color: #8f0075 }
|
||||
/* NameBuiltinPseudo */ .chroma .bp { }
|
||||
/* NameClass */ .chroma .nc { }
|
||||
/* NameConstant */ .chroma .no { }
|
||||
/* NameDecorator */ .chroma .nd { }
|
||||
/* NameEntity */ .chroma .ni { }
|
||||
/* NameException */ .chroma .ne { }
|
||||
/* NameFunction */ .chroma .nf { color: #721045 }
|
||||
/* NameFunctionMagic */ .chroma .fm { }
|
||||
/* NameLabel */ .chroma .nl { }
|
||||
/* NameNamespace */ .chroma .nn { }
|
||||
/* NameOther */ .chroma .nx { }
|
||||
/* NameProperty */ .chroma .py { }
|
||||
/* NameTag */ .chroma .nt { }
|
||||
/* NameVariable */ .chroma .nv { color: #00538b }
|
||||
/* NameVariableClass */ .chroma .vc { }
|
||||
/* NameVariableGlobal */ .chroma .vg { }
|
||||
/* NameVariableInstance */ .chroma .vi { }
|
||||
/* NameVariableMagic */ .chroma .vm { }
|
||||
/* Literal */ .chroma .l { color: #0000c0 }
|
||||
/* LiteralDate */ .chroma .ld { color: #0000c0 }
|
||||
/* LiteralString */ .chroma .s { color: #2544bb }
|
||||
/* LiteralStringAffix */ .chroma .sa { color: #2544bb }
|
||||
/* LiteralStringBacktick */ .chroma .sb { color: #2544bb }
|
||||
/* LiteralStringChar */ .chroma .sc { color: #2544bb }
|
||||
/* LiteralStringDelimiter */ .chroma .dl { color: #2544bb }
|
||||
/* LiteralStringDoc */ .chroma .sd { color: #2544bb }
|
||||
/* LiteralStringDouble */ .chroma .s2 { color: #2544bb }
|
||||
/* LiteralStringEscape */ .chroma .se { color: #2544bb }
|
||||
/* LiteralStringHeredoc */ .chroma .sh { color: #2544bb }
|
||||
/* LiteralStringInterpol */ .chroma .si { color: #2544bb }
|
||||
/* LiteralStringOther */ .chroma .sx { color: #2544bb }
|
||||
/* LiteralStringRegex */ .chroma .sr { color: #2544bb }
|
||||
/* LiteralStringSingle */ .chroma .s1 { color: #2544bb }
|
||||
/* LiteralStringSymbol */ .chroma .ss { color: #2544bb }
|
||||
/* LiteralNumber */ .chroma .m { color: #0000c0 }
|
||||
/* LiteralNumberBin */ .chroma .mb { color: #0000c0 }
|
||||
/* LiteralNumberFloat */ .chroma .mf { color: #0000c0 }
|
||||
/* LiteralNumberHex */ .chroma .mh { color: #0000c0 }
|
||||
/* LiteralNumberInteger */ .chroma .mi { color: #0000c0 }
|
||||
/* LiteralNumberIntegerLong */ .chroma .il { color: #0000c0 }
|
||||
/* LiteralNumberOct */ .chroma .mo { color: #0000c0 }
|
||||
/* Operator */ .chroma .o { color: #00538b }
|
||||
/* OperatorWord */ .chroma .ow { color: #00538b }
|
||||
/* Punctuation */ .chroma .p { }
|
||||
/* Comment */ .chroma .c { color: #505050 }
|
||||
/* CommentHashbang */ .chroma .ch { color: #505050 }
|
||||
/* CommentMultiline */ .chroma .cm { color: #505050 }
|
||||
/* CommentSingle */ .chroma .c1 { color: #505050 }
|
||||
/* CommentSpecial */ .chroma .cs { color: #505050 }
|
||||
/* CommentPreproc */ .chroma .cp { color: #505050 }
|
||||
/* CommentPreprocFile */ .chroma .cpf { color: #505050 }
|
||||
/* Generic */ .chroma .g { }
|
||||
/* GenericDeleted */ .chroma .gd { }
|
||||
/* GenericEmph */ .chroma .ge { }
|
||||
/* GenericError */ .chroma .gr { }
|
||||
/* GenericHeading */ .chroma .gh { }
|
||||
/* GenericInserted */ .chroma .gi { }
|
||||
/* GenericOutput */ .chroma .go { }
|
||||
/* GenericPrompt */ .chroma .gp { }
|
||||
/* GenericStrong */ .chroma .gs { }
|
||||
/* GenericSubheading */ .chroma .gu { }
|
||||
/* GenericTraceback */ .chroma .gt { }
|
||||
/* GenericUnderline */ .chroma .gl { }
|
||||
/* TextWhitespace */ .chroma .w { }
|
||||
|
|
|
@ -50,12 +50,14 @@
|
|||
{{ if .Params.highlight -}}
|
||||
{{ $syntaxlight := resources.Get "syntax/light.css" | minify -}}
|
||||
{{ $syntaxdark := resources.Get "syntax/dark.css" | minify -}}
|
||||
{{ $syntaxcustom := resources.Get "syntax/custom.css" | minify -}}
|
||||
<style>
|
||||
{{- $syntaxlight.Content | safeCSS }}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
{{- $syntaxdark.Content | safeCSS -}}
|
||||
}
|
||||
{{- $syntaxcustom.Content | safeCSS }}
|
||||
</style>
|
||||
{{ end -}}
|
||||
<!-- END Syntax Highlighting ZONE!! -->
|
||||
|
|
Loading…
Reference in New Issue