Spaces:
Paused
Paused
highlight
Browse files
theme.py
CHANGED
@@ -153,14 +153,13 @@ advanced_css = """
|
|
153 |
padding: 1em;
|
154 |
margin: 1em 2em 1em 0.5em;
|
155 |
}
|
|
|
156 |
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
.hll { background-color: #ffffcc }
|
161 |
.c { color: #3D7B7B; font-style: italic } /* Comment */
|
162 |
.err { border: 1px solid #FF0000 } /* Error */
|
163 |
-
.k { color:
|
164 |
.o { color: #666666 } /* Operator */
|
165 |
.ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
|
166 |
.cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
|
@@ -177,7 +176,7 @@ advanced_css = """
|
|
177 |
.gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
178 |
.gs { font-weight: bold } /* Generic.Strong */
|
179 |
.gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
180 |
-
.gt { color: #
|
181 |
.kc { color: #008000; font-weight: bold } /* Keyword.Constant */
|
182 |
.kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
|
183 |
.kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
|
@@ -187,13 +186,13 @@ advanced_css = """
|
|
187 |
.m { color: #666666 } /* Literal.Number */
|
188 |
.s { color: #BA2121 } /* Literal.String */
|
189 |
.na { color: #687822 } /* Name.Attribute */
|
190 |
-
.nb { color: #
|
191 |
-
.nc { color: #
|
192 |
.no { color: #880000 } /* Name.Constant */
|
193 |
.nd { color: #AA22FF } /* Name.Decorator */
|
194 |
.ni { color: #717171; font-weight: bold } /* Name.Entity */
|
195 |
.ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
|
196 |
-
.nf { color: #
|
197 |
.nl { color: #767600 } /* Name.Label */
|
198 |
.nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
199 |
.nt { color: #008000; font-weight: bold } /* Name.Tag */
|
@@ -210,7 +209,7 @@ advanced_css = """
|
|
210 |
.sc { color: #BA2121 } /* Literal.String.Char */
|
211 |
.dl { color: #BA2121 } /* Literal.String.Delimiter */
|
212 |
.sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
213 |
-
.s2 { color: #
|
214 |
.se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
|
215 |
.sh { color: #BA2121 } /* Literal.String.Heredoc */
|
216 |
.si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
|
@@ -225,5 +224,4 @@ advanced_css = """
|
|
225 |
.vi { color: #19177C } /* Name.Variable.Instance */
|
226 |
.vm { color: #19177C } /* Name.Variable.Magic */
|
227 |
.il { color: #666666 } /* Literal.Number.Integer.Long */
|
228 |
-
|
229 |
"""
|
|
|
153 |
padding: 1em;
|
154 |
margin: 1em 2em 1em 0.5em;
|
155 |
}
|
156 |
+
"""
|
157 |
|
158 |
+
advanced_css += """
|
|
|
|
|
159 |
.hll { background-color: #ffffcc }
|
160 |
.c { color: #3D7B7B; font-style: italic } /* Comment */
|
161 |
.err { border: 1px solid #FF0000 } /* Error */
|
162 |
+
.k { color: hsl(197, 94%, 51%); font-weight: bold } /* Keyword */
|
163 |
.o { color: #666666 } /* Operator */
|
164 |
.ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
|
165 |
.cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
|
|
|
176 |
.gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
177 |
.gs { font-weight: bold } /* Generic.Strong */
|
178 |
.gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
179 |
+
.gt { color: #a9dd00 } /* Generic.Traceback */
|
180 |
.kc { color: #008000; font-weight: bold } /* Keyword.Constant */
|
181 |
.kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
|
182 |
.kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
|
|
|
186 |
.m { color: #666666 } /* Literal.Number */
|
187 |
.s { color: #BA2121 } /* Literal.String */
|
188 |
.na { color: #687822 } /* Name.Attribute */
|
189 |
+
.nb { color: #e5f8c3 } /* Name.Builtin */
|
190 |
+
.nc { color: #ffad65; font-weight: bold } /* Name.Class */
|
191 |
.no { color: #880000 } /* Name.Constant */
|
192 |
.nd { color: #AA22FF } /* Name.Decorator */
|
193 |
.ni { color: #717171; font-weight: bold } /* Name.Entity */
|
194 |
.ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
|
195 |
+
.nf { color: #f9f978 } /* Name.Function */
|
196 |
.nl { color: #767600 } /* Name.Label */
|
197 |
.nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
198 |
.nt { color: #008000; font-weight: bold } /* Name.Tag */
|
|
|
209 |
.sc { color: #BA2121 } /* Literal.String.Char */
|
210 |
.dl { color: #BA2121 } /* Literal.String.Delimiter */
|
211 |
.sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
212 |
+
.s2 { color: #2bf840 } /* Literal.String.Double */
|
213 |
.se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
|
214 |
.sh { color: #BA2121 } /* Literal.String.Heredoc */
|
215 |
.si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
|
|
|
224 |
.vi { color: #19177C } /* Name.Variable.Instance */
|
225 |
.vm { color: #19177C } /* Name.Variable.Magic */
|
226 |
.il { color: #666666 } /* Literal.Number.Integer.Long */
|
|
|
227 |
"""
|