summary refs log tree commit diff
path: root/v1.46/highlight.css
diff options
context:
space:
mode:
authorsquahtx <squahtx@users.noreply.github.com>2021-10-26 13:05:22 +0000
committersquahtx <squahtx@users.noreply.github.com>2021-10-26 13:05:22 +0000
commitab7e599082bf396d4f42fc02ee351ffc49187349 (patch)
treee50dd3e1e5c3dfb650d595b67121f8e748146e17 /v1.46/highlight.css
parentdeploy: 63cbdd8af081839f245915a18ed57f1a44f1a5f4 (diff)
downloadsynapse-ab7e599082bf396d4f42fc02ee351ffc49187349.tar.xz
deploy: cc75a6b1b20f599c6ec6699fb77c8a72b87d1ec2
Diffstat (limited to 'v1.46/highlight.css')
-rw-r--r--v1.46/highlight.css83
1 files changed, 83 insertions, 0 deletions
diff --git a/v1.46/highlight.css b/v1.46/highlight.css
new file mode 100644
index 0000000000..c234322720
--- /dev/null
+++ b/v1.46/highlight.css
@@ -0,0 +1,83 @@
+/*
+ * An increased contrast highlighting scheme loosely based on the
+ * "Base16 Atelier Dune Light" theme by Bram de Haan
+ * (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)
+ * Original Base16 color scheme by Chris Kempson
+ * (https://github.com/chriskempson/base16)
+ */
+
+/* Comment */
+.hljs-comment,
+.hljs-quote {
+  color: #575757;
+}
+
+/* Red */
+.hljs-variable,
+.hljs-template-variable,
+.hljs-attribute,
+.hljs-tag,
+.hljs-name,
+.hljs-regexp,
+.hljs-link,
+.hljs-name,
+.hljs-selector-id,
+.hljs-selector-class {
+  color: #d70025;
+}
+
+/* Orange */
+.hljs-number,
+.hljs-meta,
+.hljs-built_in,
+.hljs-builtin-name,
+.hljs-literal,
+.hljs-type,
+.hljs-params {
+  color: #b21e00;
+}
+
+/* Green */
+.hljs-string,
+.hljs-symbol,
+.hljs-bullet {
+  color: #008200;
+}
+
+/* Blue */
+.hljs-title,
+.hljs-section {
+  color: #0030f2;
+}
+
+/* Purple */
+.hljs-keyword,
+.hljs-selector-tag {
+  color: #9d00ec;
+}
+
+.hljs {
+  display: block;
+  overflow-x: auto;
+  background: #f6f7f6;
+  color: #000;
+  padding: 0.5em;
+}
+
+.hljs-emphasis {
+  font-style: italic;
+}
+
+.hljs-strong {
+  font-weight: bold;
+}
+
+.hljs-addition {
+  color: #22863a;
+  background-color: #f0fff4;
+}
+
+.hljs-deletion {
+  color: #b31d28;
+  background-color: #ffeef0;
+}