Change codeblock theme to Tomorrow

This commit is contained in:
Ceda EI 2020-10-09 23:49:00 +05:30
parent df4428297a
commit 70a9c2ae38
2 changed files with 76 additions and 61 deletions

View File

@ -31,8 +31,8 @@ pre {
box-shadow: 0 5px 5px -5px #777777; box-shadow: 0 5px 5px -5px #777777;
max-width: 100%; max-width: 100%;
/* These two copied from chroma theme (syntax.css) */ /* These two copied from chroma theme (syntax.css) */
color: #f8f8f2; color: #4d4d4c;
background-color: #272822; background-color: #ffffff;
} }
pre, pre,

View File

@ -1,59 +1,74 @@
/* Background */ .chroma { color: #f8f8f2; background-color: #272822 } .chroma { background: #ffffff; color: #4d4d4c }
/* Error */ .chroma .err { color: #960050; background-color: #1e0010 } .chroma .bp { color: #4d4d4c } /* Name.Builtin.Pseudo */
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } .chroma .c1 { color: #8e908c } /* Comment.Single */
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; } .chroma .c { color: #8e908c } /* Comment */
/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc } .chroma .ch { color: #8e908c }
/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } .chroma .cm { color: #8e908c } /* Comment.Multiline */
/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } .chroma .cp { color: #8e908c } /* Comment.Preproc */
/* Keyword */ .chroma .k { color: #66d9ef } .chroma .cpf { color: #8e908c }
/* KeywordConstant */ .chroma .kc { color: #66d9ef } .chroma .cs { color: #8e908c } /* Comment.Special */
/* KeywordDeclaration */ .chroma .kd { color: #66d9ef } .chroma .dl { color: #eab700 }
/* KeywordNamespace */ .chroma .kn { color: #f92672 } .chroma .err { color: #c82829 } /* Error */
/* KeywordPseudo */ .chroma .kp { color: #66d9ef } .chroma .gd { color: #c82829 } /* Generic.Deleted */
/* KeywordReserved */ .chroma .kr { color: #66d9ef } .chroma .ge { font-style: italic } /* Generic.Emph */
/* KeywordType */ .chroma .kt { color: #66d9ef } .chroma .gh { color: #4d4d4c; font-weight: bold } /* Generic.Heading */
/* NameAttribute */ .chroma .na { color: #a6e22e } .chroma .gi { color: #718c00 } /* Generic.Inserted */
/* NameClass */ .chroma .nc { color: #a6e22e } .chroma .gp { color: #8e908c; font-weight: bold } /* Generic.Prompt */
/* NameConstant */ .chroma .no { color: #66d9ef } .chroma .gs { font-weight: bold } /* Generic.Strong */
/* NameDecorator */ .chroma .nd { color: #a6e22e } .chroma .gu { color: #3e999f; font-weight: bold } /* Generic.Subheading */
/* NameException */ .chroma .ne { color: #a6e22e } .chroma .hl { display: block; width: 100%;background-color: #ffffcc }
/* NameFunction */ .chroma .nf { color: #a6e22e } .chroma .hll { background-color: #ffddbb }
/* NameOther */ .chroma .nx { color: #a6e22e } .chroma .il { color: #f5871f } /* Literal.Number.Integer.Long */
/* NameTag */ .chroma .nt { color: #f92672 } .chroma .kc { color: #8959a8 } /* Keyword.Constant */
/* Literal */ .chroma .l { color: #ae81ff } .chroma .k { color: #8959a8 } /* Keyword */
/* LiteralDate */ .chroma .ld { color: #e6db74 } .chroma .kd { color: #8959a8 } /* Keyword.Declaration */
/* LiteralString */ .chroma .s { color: #e6db74 } .chroma .kn { color: #3e999f } /* Keyword.Namespace */
/* LiteralStringAffix */ .chroma .sa { color: #e6db74 } .chroma .kp { color: #8959a8 } /* Keyword.Pseudo */
/* LiteralStringBacktick */ .chroma .sb { color: #e6db74 } .chroma .kr { color: #8959a8 } /* Keyword.Reserved */
/* LiteralStringChar */ .chroma .sc { color: #e6db74 } .chroma .kt { color: #eab700 } /* Keyword.Type */
/* LiteralStringDelimiter */ .chroma .dl { color: #e6db74 } .chroma .l { color: #f5871f } /* Literal */
/* LiteralStringDoc */ .chroma .sd { color: #e6db74 } .chroma .ld { color: #718c00 } /* Literal.Date */
/* LiteralStringDouble */ .chroma .s2 { color: #e6db74 } .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #4d4d4c }
/* LiteralStringEscape */ .chroma .se { color: #ae81ff } .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; }
/* LiteralStringHeredoc */ .chroma .sh { color: #e6db74 } .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
/* LiteralStringInterpol */ .chroma .si { color: #e6db74 } .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #8e908c }
/* LiteralStringOther */ .chroma .sx { color: #e6db74 } .chroma .mb { color: #8959a8 }
/* LiteralStringRegex */ .chroma .sr { color: #e6db74 } .chroma .m { color: #f5871f } /* Literal.Number */
/* LiteralStringSingle */ .chroma .s1 { color: #e6db74 } .chroma .mf { color: #f5871f } /* Literal.Number.Float */
/* LiteralStringSymbol */ .chroma .ss { color: #e6db74 } .chroma .mh { color: #f5871f } /* Literal.Number.Hex */
/* LiteralNumber */ .chroma .m { color: #ae81ff } .chroma .mi { color: #f5871f } /* Literal.Number.Integer */
/* LiteralNumberBin */ .chroma .mb { color: #ae81ff } .chroma .mo { color: #f5871f } /* Literal.Number.Oct */
/* LiteralNumberFloat */ .chroma .mf { color: #ae81ff } .chroma .na { color: #4271ae } /* Name.Attribute */
/* LiteralNumberHex */ .chroma .mh { color: #ae81ff } .chroma .nb { color: #4d4d4c } /* Name.Builtin */
/* LiteralNumberInteger */ .chroma .mi { color: #ae81ff } .chroma .nc { color: #eab700 } /* Name.Class */
/* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff } .chroma .n { color: #4d4d4c } /* Name */
/* LiteralNumberOct */ .chroma .mo { color: #ae81ff } .chroma .nd { color: #3e999f } /* Name.Decorator */
/* Operator */ .chroma .o { color: #f92672 } .chroma .ne { color: #c82829 } /* Name.Exception */
/* OperatorWord */ .chroma .ow { color: #f92672 } .chroma .nf { color: #4271ae } /* Name.Function */
/* Comment */ .chroma .c { color: #75715e } .chroma .ni { color: #4d4d4c } /* Name.Entity */
/* CommentHashbang */ .chroma .ch { color: #75715e } .chroma .nl { color: #4d4d4c } /* Name.Label */
/* CommentMultiline */ .chroma .cm { color: #75715e } .chroma .nn { color: #eab700 } /* Name.Namespace */
/* CommentSingle */ .chroma .c1 { color: #75715e } .chroma .no { color: #c82829 } /* Name.Constant */
/* CommentSpecial */ .chroma .cs { color: #75715e } .chroma .nt { color: #3e999f } /* Name.Tag */
/* CommentPreproc */ .chroma .cp { color: #75715e } .chroma .nv { color: #c82829 } /* Name.Variable */
/* CommentPreprocFile */ .chroma .cpf { color: #75715e } .chroma .nx { color: #4271ae } /* Name.Other */
/* GenericDeleted */ .chroma .gd { color: #f92672 } .chroma .o { color: #3e999f } /* Operator */
/* GenericEmph */ .chroma .ge { font-style: italic } .chroma .ow { color: #3e999f } /* Operator.Word */
/* GenericInserted */ .chroma .gi { color: #a6e22e } .chroma .p { color: #4d4d4c } /* Punctuation */
/* GenericStrong */ .chroma .gs { font-weight: bold } .chroma .py { color: #4d4d4c } /* Name.Property */
/* GenericSubheading */ .chroma .gu { color: #75715e } .chroma .s1 { color: #718c00 } /* Literal.String.Single */
.chroma .s2 { color: #718c00 } /* Literal.String.Double */
.chroma .sb { color: #718c00 } /* Literal.String.Backtick */
.chroma .sc { color: #4d4d4c } /* Literal.String.Char */
.chroma .s { color: #718c00 } /* Literal.String */
.chroma .sd { color: #8e908c } /* Literal.String.Doc */
.chroma .se { color: #f5871f } /* Literal.String.Escape */
.chroma .sh { color: #718c00 } /* Literal.String.Heredoc */
.chroma .si { color: #f5871f } /* Literal.String.Interpol */
.chroma .sr { color: #718c00 } /* Literal.String.Regex */
.chroma .ss { color: #718c00 } /* Literal.String.Symbol */
.chroma .sx { color: #718c00 } /* Literal.String.Other */
.chroma .vc { color: #c82829 } /* Name.Variable.Class */
.chroma .vg { color: #c82829 } /* Name.Variable.Global */
.chroma .vi { color: #c82829 } /* Name.Variable.Instance */
.chroma .w { color: #4d4d4c } /* Text.Whitespace */