summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdus <gh@abdus.net>2020-10-30 14:00:29 +0530
committerAbdus <gh@abdus.net>2020-10-30 14:02:42 +0530
commit5fab24c5e433f5481665f6a394f381c1869d0e66 (patch)
treec2d69f19d2fd132ee71b588af2d6c12f37df78c1
parent28e77eed694d156ca2f34ca8d6e61cdf6068a0cd (diff)
downloadabdus.net-5fab24c5e433f5481665f6a394f381c1869d0e66.tar.bz2
abdus.net-5fab24c5e433f5481665f6a394f381c1869d0e66.zip
change code theme to solarized
-rw-r--r--themes/bronn/layouts/partials/head.html2
-rw-r--r--themes/bronn/static/css/layout.css2
-rw-r--r--themes/bronn/static/css/syntax-dark.css438
3 files changed, 358 insertions, 84 deletions
diff --git a/themes/bronn/layouts/partials/head.html b/themes/bronn/layouts/partials/head.html
index 7bda022..7fb1239 100644
--- a/themes/bronn/layouts/partials/head.html
+++ b/themes/bronn/layouts/partials/head.html
@@ -1,5 +1,5 @@
<link rel="stylesheet" href={{ "/css/layout.css" | absURL }} media="all" />
-<!--<link rel="stylesheet" href={{ "/css/syntax-dark.css" | absURL }} media="all" />-->
+<link rel="stylesheet" href={{ "/css/syntax-dark.css" | absURL }} media="all" />
<link
defer
href="https://fonts.googleapis.com/css2?family=Eczar:wght@400;500;600;700;800&family=Lato:wght@400;700;900&display=swap"
diff --git a/themes/bronn/static/css/layout.css b/themes/bronn/static/css/layout.css
index 4851a49..d76146f 100644
--- a/themes/bronn/static/css/layout.css
+++ b/themes/bronn/static/css/layout.css
@@ -180,7 +180,7 @@ pre {
padding: 1.5rem;
border-radius: 0.4rem;
overflow-x: auto;
- color: #5465ff;
+ /*color: #5465ff;*/
box-shadow: 0px 41px 148px rgba(84, 101, 255, 0.05),
0px 18.9555px 68.4249px rgba(84, 101, 255, 0.0370838),
0px 10.8459px 39.1512px rgba(84, 101, 255, 0.031339),
diff --git a/themes/bronn/static/css/syntax-dark.css b/themes/bronn/static/css/syntax-dark.css
index 83a208e..0313b31 100644
--- a/themes/bronn/static/css/syntax-dark.css
+++ b/themes/bronn/static/css/syntax-dark.css
@@ -1,82 +1,356 @@
-/* Background */ .chroma { color: #e7e9db; background-color: #2f1e2e }
-/* Other */ .chroma .x { }
-/* Error */ .chroma .err { color: #ef6155 }
-/* 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: #815ba4 }
-/* KeywordConstant */ .chroma .kc { color: #815ba4 }
-/* KeywordDeclaration */ .chroma .kd { color: #815ba4 }
-/* KeywordNamespace */ .chroma .kn { color: #5bc4bf }
-/* KeywordPseudo */ .chroma .kp { color: #815ba4 }
-/* KeywordReserved */ .chroma .kr { color: #815ba4 }
-/* KeywordType */ .chroma .kt { color: #fec418 }
-/* Name */ .chroma .n { }
-/* NameAttribute */ .chroma .na { color: #06b6ef }
-/* NameBuiltin */ .chroma .nb { }
-/* NameBuiltinPseudo */ .chroma .bp { }
-/* NameClass */ .chroma .nc { color: #fec418 }
-/* NameConstant */ .chroma .no { color: #ef6155 }
-/* NameDecorator */ .chroma .nd { color: #5bc4bf }
-/* NameEntity */ .chroma .ni { }
-/* NameException */ .chroma .ne { color: #ef6155 }
-/* NameFunction */ .chroma .nf { color: #06b6ef }
-/* NameFunctionMagic */ .chroma .fm { }
-/* NameLabel */ .chroma .nl { }
-/* NameNamespace */ .chroma .nn { color: #fec418 }
-/* NameOther */ .chroma .nx { color: #06b6ef }
-/* NameProperty */ .chroma .py { }
-/* NameTag */ .chroma .nt { color: #5bc4bf }
-/* NameVariable */ .chroma .nv { color: #ef6155 }
-/* NameVariableClass */ .chroma .vc { }
-/* NameVariableGlobal */ .chroma .vg { }
-/* NameVariableInstance */ .chroma .vi { }
-/* NameVariableMagic */ .chroma .vm { }
-/* Literal */ .chroma .l { color: #f99b15 }
-/* LiteralDate */ .chroma .ld { color: #48b685 }
-/* LiteralString */ .chroma .s { color: #48b685 }
-/* LiteralStringAffix */ .chroma .sa { color: #48b685 }
-/* LiteralStringBacktick */ .chroma .sb { color: #48b685 }
-/* LiteralStringChar */ .chroma .sc { }
-/* LiteralStringDelimiter */ .chroma .dl { color: #48b685 }
-/* LiteralStringDoc */ .chroma .sd { color: #776e71 }
-/* LiteralStringDouble */ .chroma .s2 { color: #48b685 }
-/* LiteralStringEscape */ .chroma .se { color: #f99b15 }
-/* LiteralStringHeredoc */ .chroma .sh { color: #48b685 }
-/* LiteralStringInterpol */ .chroma .si { color: #f99b15 }
-/* LiteralStringOther */ .chroma .sx { color: #48b685 }
-/* LiteralStringRegex */ .chroma .sr { color: #48b685 }
-/* LiteralStringSingle */ .chroma .s1 { color: #48b685 }
-/* LiteralStringSymbol */ .chroma .ss { color: #48b685 }
-/* LiteralNumber */ .chroma .m { color: #f99b15 }
-/* LiteralNumberBin */ .chroma .mb { color: #f99b15 }
-/* LiteralNumberFloat */ .chroma .mf { color: #f99b15 }
-/* LiteralNumberHex */ .chroma .mh { color: #f99b15 }
-/* LiteralNumberInteger */ .chroma .mi { color: #f99b15 }
-/* LiteralNumberIntegerLong */ .chroma .il { color: #f99b15 }
-/* LiteralNumberOct */ .chroma .mo { color: #f99b15 }
-/* Operator */ .chroma .o { color: #5bc4bf }
-/* OperatorWord */ .chroma .ow { color: #5bc4bf }
-/* Punctuation */ .chroma .p { }
-/* Comment */ .chroma .c { color: #776e71 }
-/* CommentHashbang */ .chroma .ch { color: #776e71 }
-/* CommentMultiline */ .chroma .cm { color: #776e71 }
-/* CommentSingle */ .chroma .c1 { color: #776e71 }
-/* CommentSpecial */ .chroma .cs { color: #776e71 }
-/* CommentPreproc */ .chroma .cp { color: #776e71 }
-/* CommentPreprocFile */ .chroma .cpf { color: #776e71 }
-/* Generic */ .chroma .g { }
-/* GenericDeleted */ .chroma .gd { color: #ef6155 }
-/* GenericEmph */ .chroma .ge { font-style: italic }
-/* GenericError */ .chroma .gr { }
-/* GenericHeading */ .chroma .gh { font-weight: bold }
-/* GenericInserted */ .chroma .gi { color: #48b685 }
-/* GenericOutput */ .chroma .go { }
-/* GenericPrompt */ .chroma .gp { color: #776e71; font-weight: bold }
-/* GenericStrong */ .chroma .gs { font-weight: bold }
-/* GenericSubheading */ .chroma .gu { color: #5bc4bf; font-weight: bold }
-/* GenericTraceback */ .chroma .gt { }
-/* GenericUnderline */ .chroma .gl { }
-/* TextWhitespace */ .chroma .w { }
+/* Background */
+.chroma {
+ color: #586e75;
+}
+/* Other */
+.chroma .x {
+}
+/* Error */
+.chroma .err {
+}
+/* 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: #859900;
+}
+/* KeywordConstant */
+.chroma .kc {
+ color: #859900;
+ font-weight: bold;
+}
+/* KeywordDeclaration */
+.chroma .kd {
+ color: #859900;
+}
+/* KeywordNamespace */
+.chroma .kn {
+ color: #dc322f;
+ font-weight: bold;
+}
+/* KeywordPseudo */
+.chroma .kp {
+ color: #859900;
+}
+/* KeywordReserved */
+.chroma .kr {
+ color: #859900;
+}
+/* KeywordType */
+.chroma .kt {
+ color: #859900;
+ font-weight: bold;
+}
+/* Name */
+.chroma .n {
+ color: #268bd2;
+}
+/* NameAttribute */
+.chroma .na {
+ color: #268bd2;
+}
+/* NameBuiltin */
+.chroma .nb {
+ color: #cb4b16;
+}
+/* NameBuiltinPseudo */
+.chroma .bp {
+ color: #268bd2;
+}
+/* NameClass */
+.chroma .nc {
+ color: #cb4b16;
+}
+/* NameConstant */
+.chroma .no {
+ color: #268bd2;
+}
+/* NameDecorator */
+.chroma .nd {
+ color: #268bd2;
+}
+/* NameEntity */
+.chroma .ni {
+ color: #268bd2;
+}
+/* NameException */
+.chroma .ne {
+ color: #268bd2;
+}
+/* NameFunction */
+.chroma .nf {
+ color: #268bd2;
+}
+/* NameFunctionMagic */
+.chroma .fm {
+ color: #268bd2;
+}
+/* NameLabel */
+.chroma .nl {
+ color: #268bd2;
+}
+/* NameNamespace */
+.chroma .nn {
+ color: #268bd2;
+}
+/* NameOther */
+.chroma .nx {
+ color: #268bd2;
+}
+/* NameProperty */
+.chroma .py {
+ color: #268bd2;
+}
+/* NameTag */
+.chroma .nt {
+ color: #268bd2;
+ font-weight: bold;
+}
+/* NameVariable */
+.chroma .nv {
+ color: #268bd2;
+}
+/* NameVariableClass */
+.chroma .vc {
+ color: #268bd2;
+}
+/* NameVariableGlobal */
+.chroma .vg {
+ color: #268bd2;
+}
+/* NameVariableInstance */
+.chroma .vi {
+ color: #268bd2;
+}
+/* NameVariableMagic */
+.chroma .vm {
+ color: #268bd2;
+}
+/* Literal */
+.chroma .l {
+ color: #2aa198;
+}
+/* LiteralDate */
+.chroma .ld {
+ color: #2aa198;
+}
+/* LiteralString */
+.chroma .s {
+ color: #2aa198;
+}
+/* LiteralStringAffix */
+.chroma .sa {
+ color: #2aa198;
+}
+/* LiteralStringBacktick */
+.chroma .sb {
+ color: #2aa198;
+}
+/* LiteralStringChar */
+.chroma .sc {
+ color: #2aa198;
+}
+/* LiteralStringDelimiter */
+.chroma .dl {
+ color: #2aa198;
+}
+/* LiteralStringDoc */
+.chroma .sd {
+ color: #2aa198;
+}
+/* LiteralStringDouble */
+.chroma .s2 {
+ color: #2aa198;
+}
+/* LiteralStringEscape */
+.chroma .se {
+ color: #2aa198;
+}
+/* LiteralStringHeredoc */
+.chroma .sh {
+ color: #2aa198;
+}
+/* LiteralStringInterpol */
+.chroma .si {
+ color: #2aa198;
+}
+/* LiteralStringOther */
+.chroma .sx {
+ color: #2aa198;
+}
+/* LiteralStringRegex */
+.chroma .sr {
+ color: #2aa198;
+}
+/* LiteralStringSingle */
+.chroma .s1 {
+ color: #2aa198;
+}
+/* LiteralStringSymbol */
+.chroma .ss {
+ color: #2aa198;
+}
+/* LiteralNumber */
+.chroma .m {
+ color: #2aa198;
+ font-weight: bold;
+}
+/* LiteralNumberBin */
+.chroma .mb {
+ color: #2aa198;
+ font-weight: bold;
+}
+/* LiteralNumberFloat */
+.chroma .mf {
+ color: #2aa198;
+ font-weight: bold;
+}
+/* LiteralNumberHex */
+.chroma .mh {
+ color: #2aa198;
+ font-weight: bold;
+}
+/* LiteralNumberInteger */
+.chroma .mi {
+ color: #2aa198;
+ font-weight: bold;
+}
+/* LiteralNumberIntegerLong */
+.chroma .il {
+ color: #2aa198;
+ font-weight: bold;
+}
+/* LiteralNumberOct */
+.chroma .mo {
+ color: #2aa198;
+ font-weight: bold;
+}
+/* Operator */
+.chroma .o {
+}
+/* OperatorWord */
+.chroma .ow {
+ color: #859900;
+}
+/* Punctuation */
+.chroma .p {
+}
+/* Comment */
+.chroma .c {
+ color: #93a1a1;
+ font-style: italic;
+}
+/* CommentHashbang */
+.chroma .ch {
+ color: #93a1a1;
+ font-style: italic;
+}
+/* CommentMultiline */
+.chroma .cm {
+ color: #93a1a1;
+ font-style: italic;
+}
+/* CommentSingle */
+.chroma .c1 {
+ color: #93a1a1;
+ font-style: italic;
+}
+/* CommentSpecial */
+.chroma .cs {
+ color: #93a1a1;
+ font-style: italic;
+}
+/* CommentPreproc */
+.chroma .cp {
+ color: #93a1a1;
+ font-style: italic;
+}
+/* CommentPreprocFile */
+.chroma .cpf {
+ color: #93a1a1;
+ font-style: italic;
+}
+/* Generic */
+.chroma .g {
+ color: #d33682;
+}
+/* GenericDeleted */
+.chroma .gd {
+ color: #d33682;
+}
+/* GenericEmph */
+.chroma .ge {
+ color: #d33682;
+}
+/* GenericError */
+.chroma .gr {
+ color: #d33682;
+}
+/* GenericHeading */
+.chroma .gh {
+ color: #d33682;
+}
+/* GenericInserted */
+.chroma .gi {
+ color: #d33682;
+}
+/* GenericOutput */
+.chroma .go {
+ color: #d33682;
+}
+/* GenericPrompt */
+.chroma .gp {
+ color: #d33682;
+}
+/* GenericStrong */
+.chroma .gs {
+ color: #d33682;
+}
+/* GenericSubheading */
+.chroma .gu {
+ color: #d33682;
+}
+/* GenericTraceback */
+.chroma .gt {
+ color: #d33682;
+}
+/* GenericUnderline */
+.chroma .gl {
+ color: #d33682;
+}
+/* TextWhitespace */
+.chroma .w {
+}