summaryrefslogtreecommitdiffstats
path: root/static/base/highlight/styles/github-dark-dimmed.css
diff options
context:
space:
mode:
authorAndreas Widen <andreas@harmonicflow.org>2023-11-25 17:21:37 +0100
committerAndreas Widen <andreas@harmonicflow.org>2023-11-25 17:21:37 +0100
commit1b2b7c3eb939724696894f31ff27db97b0cac84c (patch)
treeefb7b7746a628efb7bb99b2e44c9c2fbfd75b656 /static/base/highlight/styles/github-dark-dimmed.css
downloadhf-web-1b2b7c3eb939724696894f31ff27db97b0cac84c.tar.xz
hf-web-1b2b7c3eb939724696894f31ff27db97b0cac84c.zip
Initial commit.
Signed-off-by: Andreas Widen <andreas@harmonicflow.org>
Diffstat (limited to 'static/base/highlight/styles/github-dark-dimmed.css')
-rw-r--r--static/base/highlight/styles/github-dark-dimmed.css117
1 files changed, 117 insertions, 0 deletions
diff --git a/static/base/highlight/styles/github-dark-dimmed.css b/static/base/highlight/styles/github-dark-dimmed.css
new file mode 100644
index 0000000..f3855ca
--- /dev/null
+++ b/static/base/highlight/styles/github-dark-dimmed.css
@@ -0,0 +1,117 @@
+pre code.hljs {
+ display: block;
+ overflow-x: auto;
+ padding: 1em
+}
+code.hljs {
+ padding: 3px 5px
+}
+/*!
+ Theme: GitHub Dark Dimmed
+ Description: Dark dimmed theme as seen on github.com
+ Author: github.com
+ Maintainer: @Hirse
+ Updated: 2021-05-15
+
+ Colors taken from GitHub's CSS
+*/
+.hljs {
+ color: #adbac7;
+ background: #22272e
+}
+.hljs-doctag,
+.hljs-keyword,
+.hljs-meta .hljs-keyword,
+.hljs-template-tag,
+.hljs-template-variable,
+.hljs-type,
+.hljs-variable.language_ {
+ /* prettylights-syntax-keyword */
+ color: #f47067
+}
+.hljs-title,
+.hljs-title.class_,
+.hljs-title.class_.inherited__,
+.hljs-title.function_ {
+ /* prettylights-syntax-entity */
+ color: #dcbdfb
+}
+.hljs-attr,
+.hljs-attribute,
+.hljs-literal,
+.hljs-meta,
+.hljs-number,
+.hljs-operator,
+.hljs-variable,
+.hljs-selector-attr,
+.hljs-selector-class,
+.hljs-selector-id {
+ /* prettylights-syntax-constant */
+ color: #6cb6ff
+}
+.hljs-regexp,
+.hljs-string,
+.hljs-meta .hljs-string {
+ /* prettylights-syntax-string */
+ color: #96d0ff
+}
+.hljs-built_in,
+.hljs-symbol {
+ /* prettylights-syntax-variable */
+ color: #f69d50
+}
+.hljs-comment,
+.hljs-code,
+.hljs-formula {
+ /* prettylights-syntax-comment */
+ color: #768390
+}
+.hljs-name,
+.hljs-quote,
+.hljs-selector-tag,
+.hljs-selector-pseudo {
+ /* prettylights-syntax-entity-tag */
+ color: #8ddb8c
+}
+.hljs-subst {
+ /* prettylights-syntax-storage-modifier-import */
+ color: #adbac7
+}
+.hljs-section {
+ /* prettylights-syntax-markup-heading */
+ color: #316dca;
+ font-weight: bold
+}
+.hljs-bullet {
+ /* prettylights-syntax-markup-list */
+ color: #eac55f
+}
+.hljs-emphasis {
+ /* prettylights-syntax-markup-italic */
+ color: #adbac7;
+ font-style: italic
+}
+.hljs-strong {
+ /* prettylights-syntax-markup-bold */
+ color: #adbac7;
+ font-weight: bold
+}
+.hljs-addition {
+ /* prettylights-syntax-markup-inserted */
+ color: #b4f1b4;
+ background-color: #1b4721
+}
+.hljs-deletion {
+ /* prettylights-syntax-markup-deleted */
+ color: #ffd8d3;
+ background-color: #78191b
+}
+.hljs-char.escape_,
+.hljs-link,
+.hljs-params,
+.hljs-property,
+.hljs-punctuation,
+.hljs-tag {
+ /* purposely ignored */
+
+} \ No newline at end of file