/*
  `Gruvbox Dark` theme source code modified from themes here:
  (https://github.com/PrismJS/prism-themes/tree/master)
*/
 
:root {
  --grey: #444;
  
  --red: #ff0000;
  --grn: #008000;
  --blu: #0000ff;
  
  --mag: #cc00cc;
  --ylw: #bb4000; /* orange */
}

.darkmode{
  --grey: #ddd;
  
  --red: #ff0000;
  --grn: #00ff00;
  --blu: #00ffff; /*cyan*/
  
  --mag: #ff00ff;
  --ylw: #ffff00;
}

code[class*="language-"],
pre[class*="language-"] {
	font-family: Consolas, monospace;
	direction: ltr;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	line-height: 1.5;

	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
  
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}


/* Inline code */
:not(pre) > code[class*="language-"] {
	padding: 0.1em;
	border-radius: 0.3em;
}

.token.comment,
.token.prolog,
.token.cdata {
	color:var(--red);
	font-style:italic;
}

.token.delimiter,
.token.boolean,
.token.keyword,
.token.selector,
.token.important,
.token.atrule {
	color:var(--ylw);
	font-weight:bold;
}

.token.operator,
.token.punctuation,
.token.attr-name {
	color: var(--grey);
}

.token.tag,
.token.tag .punctuation,
.token.doctype,
.token.builtin {
	color: var(--grn);
	font-weight:bold;
}

.token.entity,
.token.number,
.token.symbol {
	color: var(--mag);
	font-weight:bold;
}

.token.property,
.token.constant,
.token.variable {
	color: var(--blu);
	font-style:italic;
}

.token.string,
.token.char {
	color: var(--grn); /* green2 */
    font-style:italic;
}

.token.attr-value,
.token.attr-value .punctuation {
	color: var(--mag);
}

.token.url {
	color: var(--grn); /* green2 */
	text-decoration: underline;
}

.token.function {
	color: var(--ylw);
}

.token.regex {
	background: var(--grn);
}

.token.bold {
	font-weight: bolder;
}

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

.token.inserted {
	background: var(--grey);
}

.token.deleted {
	background: var(--blu);
}
