kmath/styles/prism.css

103 lines
1.6 KiB
CSS
Raw Normal View History

: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;
}
/* 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;
font-weight: 700;
}