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