Skip to content

Commit 7ac9d6b

Browse files
committed
overriding default syntax highlight
1 parent 182478b commit 7ac9d6b

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

assets/css/style.scss

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,37 @@ a {
2727
padding: 1rem 6rem !important;
2828
}
2929
}
30+
31+
.highlight .hll { background-color: #ffffcc !important}
32+
.highlight .c { color: #008000 !important} /* Comment */
33+
.highlight .err { border: 1px solid #FF0000 !important} /* Error */
34+
.highlight .k { color: #0000ff !important} /* Keyword */
35+
.highlight .cm { color: #008000 !important} /* Comment.Multiline */
36+
.highlight .cp { color: #0000ff !important} /* Comment.Preproc */
37+
.highlight .c1 { color: #008000 !important} /* Comment.Single */
38+
.highlight .cs { color: #008000 !important} /* Comment.Special */
39+
.highlight .ge { font-style: italic } /* Generic.Emph */
40+
.highlight .gh { font-weight: bold } /* Generic.Heading */
41+
.highlight .gp { font-weight: bold } /* Generic.Prompt */
42+
.highlight .gs { font-weight: bold } /* Generic.Strong */
43+
.highlight .gu { font-weight: bold } /* Generic.Subheading */
44+
.highlight .kc { color: #0000ff !important} /* Keyword.Constant */
45+
.highlight .kd { color: #0000ff !important} /* Keyword.Declaration */
46+
.highlight .kn { color: #0000ff !important} /* Keyword.Namespace */
47+
.highlight .kp { color: #0000ff !important} /* Keyword.Pseudo */
48+
.highlight .kr { color: #0000ff !important} /* Keyword.Reserved */
49+
.highlight .kt { color: #2b91af !important} /* Keyword.Type */
50+
.highlight .s { color: #a31515 !important} /* Literal.String */
51+
.highlight .nc { color: #2b91af !important} /* Name.Class */
52+
.highlight .ow { color: #0000ff !important} /* Operator.Word */
53+
.highlight .sb { color: #a31515 !important} /* Literal.String.Backtick */
54+
.highlight .sc { color: #a31515 !important} /* Literal.String.Char */
55+
.highlight .sd { color: #a31515 !important} /* Literal.String.Doc */
56+
.highlight .s2 { color: #a31515 !important} /* Literal.String.Double */
57+
.highlight .se { color: #a31515 !important} /* Literal.String.Escape */
58+
.highlight .sh { color: #a31515 !important} /* Literal.String.Heredoc */
59+
.highlight .si { color: #a31515 !important} /* Literal.String.Interpol */
60+
.highlight .sx { color: #a31515 !important} /* Literal.String.Other */
61+
.highlight .sr { color: #a31515 !important} /* Literal.String.Regex */
62+
.highlight .s1 { color: #a31515 !important} /* Literal.String.Single */
63+
.highlight .ss { color: #a31515 !important} /* Literal.String.Symbol */

0 commit comments

Comments
 (0)