Skip to content

Commit deccc17

Browse files
committed
fix(doc): new color scheme
1 parent 8bb531a commit deccc17

File tree

2 files changed

+62
-62
lines changed

2 files changed

+62
-62
lines changed

docs/css/_documentation.sass

+4-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
padding-bottom: 6px
142142
> .highlight, > .row .highlight
143143
pre
144-
background: none
144+
// background: none
145145
border: 1px solid #A3B6CB
146146
.o
147147
color: inherit
@@ -150,18 +150,21 @@
150150
font-size: 2em
151151
font-weight: normal
152152
text-transform: uppercase
153+
clear: both
153154
&:first-child
154155
margin-top: 0
155156
h3, .h3
156157
margin: 2em 0 .8em
157158
font-size: 1.7em
158159
font-weight: bold
160+
clear: both
159161
h4, .h4
160162
border-bottom: dashed 1px #ccc
161163
padding: 0 0 8px
162164
margin: 2em 0 1em 0
163165
font-size: 1.3em
164166
font-weight: bold
167+
clear: both
165168
> p, > ul
166169
code
167170
background-color: #F3F3F3

docs/css/_syntax-highlighting.scss

+58-61
Original file line numberDiff line numberDiff line change
@@ -21,66 +21,63 @@ green #859900 operators, other keywords
2121
border: none;
2222
color: #A3B6CB;
2323
}
24-
.highlight .hll { background-color: #ffffcc }
25-
.highlight .c { color: #0099FF; font-style: italic } /* Comment */
26-
.highlight .err { color: #AA0000; background-color: #FFAAAA } /* Error */
27-
.highlight .k { color: #006699; font-weight: bold } /* Keyword */
28-
.highlight .o { color: white } /* Operator */
29-
30-
.highlight .cm { color: #0099FF; font-style: italic } /* Comment.Multiline */
31-
.highlight .cp { color: #009999 } /* Comment.Preproc */
32-
.highlight .c1 { color: #758392; font-style: italic } /* Comment.Single */
33-
34-
.highlight .cs { color: #0099FF; font-weight: bold; font-style: italic } /* Comment.Special */
35-
.highlight .gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
24+
.highlight .hll { background-color: #49483e }
25+
.highlight { /*background: #272822;*/ color: #f8f8f2 }
26+
.highlight .c { color: #75715e } /* Comment */
27+
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
28+
.highlight .k { color: #66d9ef } /* Keyword */
29+
.highlight .l { color: #ae81ff } /* Literal */
30+
.highlight .n { color: #f8f8f2 } /* Name */
31+
.highlight .o { color: #f92672 } /* Operator */
32+
.highlight .p { color: #f8f8f2 } /* Punctuation */
33+
.highlight .cm { color: #75715e } /* Comment.Multiline */
34+
.highlight .cp { color: #75715e } /* Comment.Preproc */
35+
.highlight .c1 { color: #75715e } /* Comment.Single */
36+
.highlight .cs { color: #75715e } /* Comment.Special */
3637
.highlight .ge { font-style: italic } /* Generic.Emph */
37-
.highlight .gr { color: #FF0000 } /* Generic.Error */
38-
.highlight .gh { color: #003300; font-weight: bold } /* Generic.Heading */
39-
.highlight .gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
40-
.highlight .go { color: #AAAAAA } /* Generic.Output */
41-
.highlight .gp { color: #000099; font-weight: bold } /* Generic.Prompt */
4238
.highlight .gs { font-weight: bold } /* Generic.Strong */
43-
.highlight .gu { color: #003300; font-weight: bold } /* Generic.Subheading */
44-
.highlight .gt { color: #99CC66 } /* Generic.Traceback */
45-
.highlight .kc { color: #006699; font-weight: bold } /* Keyword.Constant */
46-
.highlight .kd { color: #006699; font-weight: bold } /* Keyword.Declaration */
47-
.highlight .kn { color: #006699; font-weight: bold } /* Keyword.Namespace */
48-
.highlight .kp { color: #006699 } /* Keyword.Pseudo */
49-
.highlight .kr { color: #006699; font-weight: bold } /* Keyword.Reserved */
50-
.highlight .kt { color: #007788; font-weight: bold } /* Keyword.Type */
51-
.highlight .m { color: #FF6600 } /* Literal.Number */
52-
.highlight .s { color: #CC3300 } /* Literal.String */
53-
.highlight .na { color: ligthen(#330099, 10%) } /* Name.Attribute */
54-
.highlight .nb { color: #336666 } /* Name.Builtin */
55-
.highlight .nc { color: #00AA88; font-weight: bold } /* Name.Class */
56-
.highlight .no { color: #336600 } /* Name.Constant */
57-
.highlight .nd { color: #9999FF } /* Name.Decorator */
58-
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
59-
.highlight .ne { color: #CC0000; font-weight: bold } /* Name.Exception */
60-
.highlight .nf { color: #CC00FF } /* Name.Function */
61-
.highlight .nl { color: #9999FF } /* Name.Label */
62-
.highlight .nn { color: #00CCFF; font-weight: bold } /* Name.Namespace */
63-
.highlight .nt { color: lighten(#330099, 30%); font-weight: bold } /* Name.Tag */
64-
.highlight .nv { color: #003333 } /* Name.Variable */
65-
.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
66-
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
67-
.highlight .mf { color: #FF6600 } /* Literal.Number.Float */
68-
.highlight .mh { color: #FF6600 } /* Literal.Number.Hex */
69-
.highlight .mi { color: #FF6600 } /* Literal.Number.Integer */
70-
.highlight .mo { color: #FF6600 } /* Literal.Number.Oct */
71-
.highlight .sb { color: #CC3300 } /* Literal.String.Backtick */
72-
.highlight .sc { color: #CC3300 } /* Literal.String.Char */
73-
.highlight .sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
74-
.highlight .s2 { color: #CC3300 } /* Literal.String.Double */
75-
.highlight .se { color: #CC3300; font-weight: bold } /* Literal.String.Escape */
76-
.highlight .sh { color: #CC3300 } /* Literal.String.Heredoc */
77-
.highlight .si { color: #AA0000 } /* Literal.String.Interpol */
78-
.highlight .sx { color: #CC3300 } /* Literal.String.Other */
79-
.highlight .sr { color: #33AAAA } /* Literal.String.Regex */
80-
.highlight .s1 { color: #A3B6CB } /* Literal.String.Single */
81-
.highlight .ss { color: #FFCC33 } /* Literal.String.Symbol */
82-
.highlight .bp { color: #336666 } /* Name.Builtin.Pseudo */
83-
.highlight .vc { color: #003333 } /* Name.Variable.Class */
84-
.highlight .vg { color: #003333 } /* Name.Variable.Global */
85-
.highlight .vi { color: #003333 } /* Name.Variable.Instance */
86-
.highlight .il { color: #FF6600 } /* Literal.Number.Integer.Long */
39+
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
40+
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
41+
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
42+
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
43+
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
44+
.highlight .kt { color: #66d9ef } /* Keyword.Type */
45+
.highlight .ld { color: #e6db74 } /* Literal.Date */
46+
.highlight .m { color: #ae81ff } /* Literal.Number */
47+
.highlight .s { color: #e6db74 } /* Literal.String */
48+
.highlight .na { color: #a6e22e } /* Name.Attribute */
49+
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
50+
.highlight .nc { color: #a6e22e } /* Name.Class */
51+
.highlight .no { color: #66d9ef } /* Name.Constant */
52+
.highlight .nd { color: #a6e22e } /* Name.Decorator */
53+
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
54+
.highlight .ne { color: #a6e22e } /* Name.Exception */
55+
.highlight .nf { color: #a6e22e } /* Name.Function */
56+
.highlight .nl { color: #f8f8f2 } /* Name.Label */
57+
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
58+
.highlight .nx { color: #a6e22e } /* Name.Other */
59+
.highlight .py { color: #f8f8f2 } /* Name.Property */
60+
.highlight .nt { color: #f92672 } /* Name.Tag */
61+
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
62+
.highlight .ow { color: #f92672 } /* Operator.Word */
63+
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
64+
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
65+
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
66+
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
67+
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
68+
.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
69+
.highlight .sc { color: #e6db74 } /* Literal.String.Char */
70+
.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
71+
.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
72+
.highlight .se { color: #ae81ff } /* Literal.String.Escape */
73+
.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
74+
.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
75+
.highlight .sx { color: #e6db74 } /* Literal.String.Other */
76+
.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
77+
.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
78+
.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
79+
.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
80+
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
81+
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
82+
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
83+
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */

0 commit comments

Comments
 (0)