aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/resources/dokka/styles/prism.css
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/main/resources/dokka/styles/prism.css')
-rw-r--r--plugins/base/src/main/resources/dokka/styles/prism.css104
1 files changed, 104 insertions, 0 deletions
diff --git a/plugins/base/src/main/resources/dokka/styles/prism.css b/plugins/base/src/main/resources/dokka/styles/prism.css
new file mode 100644
index 00000000..90c4d7a9
--- /dev/null
+++ b/plugins/base/src/main/resources/dokka/styles/prism.css
@@ -0,0 +1,104 @@
+:root {
+ --keyword-color: #07a;
+ --property-color: #905;
+ --function-color: #DD4A68;
+}
+
+:root.theme-dark {
+ --keyword-color: #cc7832;
+ --property-color: #9876aa;
+ --function-color: #ffc66d;
+}
+
+code .token {
+ white-space: pre-line;
+}
+
+/* PrismJS 1.24.1
+https://prismjs.com/download.html#themes=prism&languages=clike+java+javadoclike+kotlin&plugins=keep-markup */
+/**
+ * prism.js default theme for JavaScript, CSS and HTML
+ * Based on dabblet (http://dabblet.com)
+ * @author Lea Verou
+ */
+
+.token.comment,
+.token.prolog,
+.token.doctype,
+.token.cdata {
+ color: slategray;
+}
+
+.token.punctuation {
+ color: #999;
+}
+
+.token.namespace {
+ opacity: .7;
+}
+
+.token.property,
+.token.tag,
+.token.boolean,
+.token.number,
+.token.constant,
+.token.symbol,
+.token.deleted {
+ color: var(--property-color);
+}
+
+.token.selector,
+.token.attr-name,
+.token.string,
+.token.char,
+.token.builtin,
+.token.annotation,
+.token.inserted {
+ color: #690;
+}
+
+.token.operator,
+.token.entity,
+.token.url,
+.language-css .token.string,
+.style .token.string {
+ color: #9a6e3a;
+ /* This background color was intended by the author of this theme. */
+ /*background: hsla(0, 0%, 100%, .5);*/
+}
+
+.token.atrule,
+.token.attr-value,
+.token.keyword {
+ color: var(--keyword-color);
+ font-size: inherit; /* to override .keyword */
+}
+
+.token.function,
+.token.class-name {
+ color: var(--function-color);
+}
+
+.token.regex,
+.token.important,
+.token.variable {
+ color: #e90;
+}
+
+.token.important,
+.token.bold {
+ font-weight: bold;
+}
+.token.italic {
+ font-style: italic;
+}
+
+.token.entity {
+ cursor: help;
+}
+
+.annotation,.control,.field,.filename,.keyword,.menupath,.property,.string,.value {
+ color: #27282c;
+ /*color: var(--wh-color-text-bold);*/
+ font-weight: 700;
+} \ No newline at end of file