Add more colors to python.
This commit is contained in:
@@ -1,38 +1,50 @@
|
||||
/* ea912c */
|
||||
/* e95a62 */
|
||||
:root {
|
||||
--srclg-python-srchl-keyword-color: #1a936f;
|
||||
--srclg-python-srchl-comment-color: #048a81;
|
||||
--srclg-python-srchl-property-color: #bfbccb;
|
||||
--srclg-python-srchl-function-builtin-color: #e95a62;
|
||||
--srclg-python-srchl-keyword-color: #1a936f;
|
||||
--srclg-python-srchl-property-color: inherit;
|
||||
--srclg-python-srchl-string-color: #ecc30b;
|
||||
--srclg-python-srchl-string-special-path-color: #067bc2;
|
||||
--srclg-python-srchl-type-color: #067bc2;
|
||||
--srclg-python-srchl-variable-color: #ea912c;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
--srclg-python-srchl-keyword-color: #e56c90;
|
||||
--srclg-python-srchl-comment-color: #fb757e;
|
||||
--srclg-python-srchl-property-color: #404334;
|
||||
--srclg-python-srchl-function-builtin-color: #16a59d;
|
||||
--srclg-python-srchl-keyword-color: #e56c90;
|
||||
--srclg-python-srchl-property-color: inherit;
|
||||
--srclg-python-srchl-string-color: #133cf4;
|
||||
--srclg-python-srchl-string-special-path-color: #f9843d;
|
||||
--srclg-python-srchl-type-color: #f9843d;
|
||||
--srclg-python-srchl-variable-color: #156ed3;
|
||||
}
|
||||
}
|
||||
|
||||
.main_content {
|
||||
.src_block {
|
||||
&.srclg_python {
|
||||
.srchl_keyword {
|
||||
color: var(--srclg-python-srchl-keyword-color);
|
||||
}
|
||||
.srchl_comment {
|
||||
color: var(--srclg-python-srchl-comment-color);
|
||||
}
|
||||
.srchl_function_builtin {
|
||||
color: var(--srclg-python-srchl-function-builtin-color);
|
||||
}
|
||||
.srchl_keyword {
|
||||
color: var(--srclg-python-srchl-keyword-color);
|
||||
}
|
||||
.srchl_property {
|
||||
color: var(--srclg-python-srchl-property-color);
|
||||
}
|
||||
.srchl_string {
|
||||
color: var(--srclg-python-srchl-string-color);
|
||||
}
|
||||
.srchl_string_special_path {
|
||||
color: var(--srclg-python-srchl-string-special-path-color);
|
||||
.srchl_type {
|
||||
color: var(--srclg-python-srchl-type-color);
|
||||
}
|
||||
.srchl_variable {
|
||||
color: var(--srclg-python-srchl-variable-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -161,6 +161,7 @@ body {
|
||||
font-size: 1rem;
|
||||
font-family: var(--src-font-family);
|
||||
margin: 1rem 0;
|
||||
font-variant-ligatures: none;
|
||||
|
||||
.src_language {
|
||||
display: inline-block;
|
||||
|
||||
Reference in New Issue
Block a user