diff --git a/static/css/chroma-learn.css b/static/css/chroma-learn.css new file mode 100644 index 0000000000..82489f6062 --- /dev/null +++ b/static/css/chroma-learn.css @@ -0,0 +1,82 @@ +/* Background */ .chroma { color: #e2e4e5; background-color: #282a36 } +/* Other */ .chroma .x { } +/* Error */ .chroma .err { color: #ff5c57 } +/* 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: #ff6ac1 } +/* KeywordConstant */ .chroma .kc { color: #ff6ac1 } +/* KeywordDeclaration */ .chroma .kd { color: #ff5c57 } +/* KeywordNamespace */ .chroma .kn { color: #ff6ac1 } +/* KeywordPseudo */ .chroma .kp { color: #ff6ac1 } +/* KeywordReserved */ .chroma .kr { color: #ff6ac1 } +/* KeywordType */ .chroma .kt { color: #9aedfe } +/* Name */ .chroma .n { } +/* NameAttribute */ .chroma .na { color: #57c7ff } +/* NameBuiltin */ .chroma .nb { color: #ff5c57 } +/* NameBuiltinPseudo */ .chroma .bp { } +/* NameClass */ .chroma .nc { color: #f3f99d } +/* NameConstant */ .chroma .no { color: #ff9f43 } +/* NameDecorator */ .chroma .nd { color: #ff9f43 } +/* NameEntity */ .chroma .ni { } +/* NameException */ .chroma .ne { } +/* NameFunction */ .chroma .nf { color: #57c7ff } +/* NameFunctionMagic */ .chroma .fm { } +/* NameLabel */ .chroma .nl { color: #ff5c57 } +/* NameNamespace */ .chroma .nn { } +/* NameOther */ .chroma .nx { } +/* NameProperty */ .chroma .py { } +/* NameTag */ .chroma .nt { color: #ff6ac1 } +/* NameVariable */ .chroma .nv { color: #ff5c57 } +/* NameVariableClass */ .chroma .vc { color: #ff5c57 } +/* NameVariableGlobal */ .chroma .vg { color: #ff5c57 } +/* NameVariableInstance */ .chroma .vi { color: #ff5c57 } +/* NameVariableMagic */ .chroma .vm { } +/* Literal */ .chroma .l { } +/* LiteralDate */ .chroma .ld { } +/* LiteralString */ .chroma .s { color: #5af78e } +/* LiteralStringAffix */ .chroma .sa { color: #5af78e } +/* LiteralStringBacktick */ .chroma .sb { color: #5af78e } +/* LiteralStringChar */ .chroma .sc { color: #5af78e } +/* LiteralStringDelimiter */ .chroma .dl { color: #5af78e } +/* LiteralStringDoc */ .chroma .sd { color: #5af78e } +/* LiteralStringDouble */ .chroma .s2 { color: #5af78e } +/* LiteralStringEscape */ .chroma .se { color: #5af78e } +/* LiteralStringHeredoc */ .chroma .sh { color: #5af78e } +/* LiteralStringInterpol */ .chroma .si { color: #5af78e } +/* LiteralStringOther */ .chroma .sx { color: #5af78e } +/* LiteralStringRegex */ .chroma .sr { color: #5af78e } +/* LiteralStringSingle */ .chroma .s1 { color: #5af78e } +/* LiteralStringSymbol */ .chroma .ss { color: #5af78e } +/* LiteralNumber */ .chroma .m { color: #ff9f43 } +/* LiteralNumberBin */ .chroma .mb { color: #ff9f43 } +/* LiteralNumberFloat */ .chroma .mf { color: #ff9f43 } +/* LiteralNumberHex */ .chroma .mh { color: #ff9f43 } +/* LiteralNumberInteger */ .chroma .mi { color: #ff9f43 } +/* LiteralNumberIntegerLong */ .chroma .il { color: #ff9f43 } +/* LiteralNumberOct */ .chroma .mo { color: #ff9f43 } +/* Operator */ .chroma .o { color: #ff6ac1 } +/* OperatorWord */ .chroma .ow { color: #ff6ac1 } +/* Punctuation */ .chroma .p { } +/* Comment */ .chroma .c { color: #78787e } +/* CommentHashbang */ .chroma .ch { color: #78787e } +/* CommentMultiline */ .chroma .cm { color: #78787e } +/* CommentSingle */ .chroma .c1 { color: #78787e } +/* CommentSpecial */ .chroma .cs { color: #78787e } +/* CommentPreproc */ .chroma .cp { color: #78787e } +/* CommentPreprocFile */ .chroma .cpf { color: #78787e } +/* Generic */ .chroma .g { } +/* GenericDeleted */ .chroma .gd { color: #ff5c57 } +/* GenericEmph */ .chroma .ge { text-decoration: underline } +/* GenericError */ .chroma .gr { color: #ff5c57 } +/* GenericHeading */ .chroma .gh { font-weight: bold } +/* GenericInserted */ .chroma .gi { font-weight: bold } +/* GenericOutput */ .chroma .go { color: #43454f } +/* GenericPrompt */ .chroma .gp { } +/* GenericStrong */ .chroma .gs { font-style: italic } +/* GenericSubheading */ .chroma .gu { font-weight: bold } +/* GenericTraceback */ .chroma .gt { } +/* GenericUnderline */ .chroma .gl { text-decoration: underline } +/* TextWhitespace */ .chroma .w { } diff --git a/static/css/theme-blue.css b/static/css/theme-blue.css index 5c964cb8cc..b7dd4d97a5 100644 --- a/static/css/theme-blue.css +++ b/static/css/theme-blue.css @@ -1,3 +1,10 @@ +/* here in this showcase we use our own modified chroma syntax highlightning style; + if you want to use a predefined style instead: + - remove `markup.highlight.noClasses` from your config.toml + - set `markup.highlight.style` to a predefined style name in your config.toml + - remove the following `@import` of the self-defined chroma stylesheet */ +@import "chroma-learn.css"; + :root { --MAIN-TEXT-color: #323232; /* Color of text by default */ --MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5-h6 */ diff --git a/static/css/theme-green.css b/static/css/theme-green.css index ac99752c9c..a80d81d1b8 100644 --- a/static/css/theme-green.css +++ b/static/css/theme-green.css @@ -1,3 +1,10 @@ +/* here in this showcase we use our own modified chroma syntax highlightning style; + if you want to use a predefined style instead: + - remove `markup.highlight.noClasses` from your config.toml + - set `markup.highlight.style` to a predefined style name in your config.toml + - remove the following `@import` of the self-defined chroma stylesheet */ +@import "chroma-learn.css"; + :root { --MAIN-TEXT-color: #323232; /* Color of text by default */ --MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5-h6 */ diff --git a/static/css/theme-learn.css b/static/css/theme-learn.css index 7d1789e6c0..84d57a7ddb 100644 --- a/static/css/theme-learn.css +++ b/static/css/theme-learn.css @@ -1,3 +1,10 @@ +/* here in this showcase we use our own modified chroma syntax highlightning style; + if you want to use a predefined style instead: + - remove `markup.highlight.noClasses` from your config.toml + - set `markup.highlight.style` to a predefined style name in your config.toml + - remove the following `@import` of the self-defined chroma stylesheet */ +@import "chroma-learn.css"; + :root { --MAIN-TEXT-color: #323232; /* Color of text by default */ --MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5-h6 */ diff --git a/static/css/theme-red.css b/static/css/theme-red.css index 38239570c1..9745eb07b7 100644 --- a/static/css/theme-red.css +++ b/static/css/theme-red.css @@ -1,3 +1,10 @@ +/* here in this showcase we use our own modified chroma syntax highlightning style; + if you want to use a predefined style instead: + - remove `markup.highlight.noClasses` from your config.toml + - set `markup.highlight.style` to a predefined style name in your config.toml + - remove the following `@import` of the self-defined chroma stylesheet */ +@import "chroma-learn.css"; + :root { --MAIN-TEXT-color: #323232; /* Color of text by default */ --MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5-h6 */