/**
 * Adapted from Coldark Theme for Prism.js to support light/dark mode
 *
 * Tested with HTML, CSS, JS, JSON, PHP, YAML, Bash script
 * @author Armand Philippot <contact@armandphilippot.com>
 * @homepage https://github.com/ArmandPhilippot/coldark-prism
 * @license MIT
 */
:root {
	--coldark00: #111b27;
	--coldark01: #213043;
	--coldark02: #3c526d;
	--coldark03: #8da1b9;
	--coldark04: #d0dae7;
	--coldark05: #e3eaf2;
	--coldark06: #f0f4f8;
	--coldark07: #0b121b;
	--coldark08: #66cccc;
	--coldark09: #e6d37a;
	--coldark10: #6cb8e6;
	--coldark11: #91d076;
	--coldark12: #f4adf4;
	--coldark13: #c699e3;
	--coldark14: #e9ae7e;
	--coldark15: #cd6660;
}

.color-scheme-light {
	--coldark00: #e3eaf2;
	--coldark01: #d0dae7;
	--coldark02: #8da1b9;
	--coldark03: #3c526d;
	--coldark04: #213043;
	--coldark05: #111b27;
	--coldark06: #0b121b;
	--coldark07: #f0f4f8;
	--coldark08: #006d6d;
	--coldark09: #755f00;
	--coldark10: #005a8e;
	--coldark11: #116b00;
	--coldark12: #af00af;
	--coldark13: #7c00aa;
	--coldark14: #a04900;
	--coldark15: #c22f2e;
}

code[class*="language-"],
pre[class*="language-"] {
	color: var(--coldark05);
	background: none;
	font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
	text-align: left;
	white-space: pre;
	-moz-tab-size: 2;
	-o-tab-size: 2;
	tab-size: 2;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

pre[class*="language-"]::-moz-selection,
pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection,
code[class*="language-"] ::-moz-selection {
	background: var(--coldark02);
}

pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
	background: var(--coldark02);
}

/*
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
	background: var(--coldark00);
}
*/

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: var(--coldark03);
}

.token.punctuation {
	color: var(--coldark05);
}

.token.delimiter.important,
.token.selector .parent,
.token.tag,
.token.tag .token.punctuation {
	color: var(--coldark08);
}

.token.attr-name,
.token.boolean,
.token.boolean.important,
.token.number,
.token.constant,
.token.selector .token.attribute {
	color: var(--coldark09);
}

.token.class-name,
.token.key,
.token.parameter,
.token.property,
.token.property-access,
.token.variable {
	color: var(--coldark10);
}

.token.attr-value,
.token.inserted,
.token.color,
.token.selector .token.value,
.token.string,
.token.string .token.url-link {
	color: var(--coldark11);
}

.token.builtin,
.token.keyword-array,
.token.package,
.token.regex {
	color: var(--coldark12);
}

.token.function,
.token.selector .token.class,
.token.selector .token.id {
	color: var(--coldark13);
}

.token.atrule .token.rule,
.token.combinator,
.token.keyword,
.token.operator,
.token.pseudo-class,
.token.pseudo-element,
.token.selector,
.token.unit {
	color: var(--coldark14);
}

.token.deleted,
.token.important {
	color: var(--coldark15);
}

.token.keyword-this,
.token.this {
	color: var(--coldark10);
}

.token.important,
.token.keyword-this,
.token.this,
.token.bold {
	font-weight: bold;
}

.token.delimiter.important {
	font-weight: inherit;
}

.token.italic {
	font-style: italic;
}

.token.entity {
	cursor: help;
}

.language-markdown .token.title,
.language-markdown .token.title .token.punctuation {
	color: var(--coldark10);
	font-weight: bold;
}

.language-markdown .token.blockquote.punctuation {
	color: var(--coldark12);
}

.language-markdown .token.code {
	color: var(--coldark08);
}

.language-markdown .token.hr.punctuation {
	color: var(--coldark10);
}

.language-markdown .token.url .token.content {
	color: var(--coldark11);
}

.language-markdown .token.url-link {
	color: var(--coldark09);
}

.language-markdown .token.list.punctuation {
	color: var(--coldark12);
}

.language-markdown .token.table-header {
	color: var(--coldark05);
}

.language-json .token.operator {
	color: var(--coldark05);
}

.language-scss .token.variable {
	color: var(--coldark08);
}
