/**
 * Shades of Purple Theme for Prism.js
 * (this is specifically for syntax highlighting)
 *
 * @author Ahmad Awais <https://twitter.com/MrAhmadAwais/>
 * @support Follow/tweet at https://twitter.com/MrAhmadAwais/
 */

/* variableName */
code[class*='language-'],
pre[class*='language-'] {
	color: #FDFCFF;
	direction: ltr;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;

	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;

	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;

	font-family: Monaco, 'SF Mono', 'Andale Mono', 'Operator Mono', 'Fira Code', Consolas, Monaco, 'Ubuntu Mono', monospace;
	font-weight: 500;
	font-size: 17px;
	line-height: 25px;
	letter-spacing: 0.5px;
}

pre[class*='language-']::-moz-selection,
pre[class*='language-'] ::-moz-selection,
code[class*='language-']::-moz-selection,
code[class*='language-'] ::-moz-selection,
pre[class*='language-']::selection,
pre[class*='language-'] ::selection,
code[class*='language-']::selection,
code[class*='language-'] ::selection {
	color: inherit;
	background: #34314C;
}

/* Code blocks. */
pre[class*='language-'] {
	padding: 2em;
	margin: 0.5em 0;
	overflow: auto;
	border-radius: var(--radius-large);
}

/* Code block background */
:not(pre) > code[class*='language-'],
pre[class*='language-'] {
	background: #211F2F;
}

/* Inline code */
/* (doesn't seem to work. see code tag in bundle.css */
:not(pre) > code[class*='language-'] {
	padding: 0.1em;
	border-radius: 0.3em;
}

.token {
	font-weight: 500;
}

/* // comment */
.token.comment,
.token.prolog,
.token.cdata {
	color: #696883;
}

/* func */
.token.delimiter,
.token.keyword,
.token.selector,
.token.important,
.token.atrule {
	color: #288DF6;
}

/* * */
.token.operator,
.token.attr-name {
	color: var(--text-secondary);
}

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

.token.boolean {
	color: #E54AD6;
}

.token.tag,
.token.tag .punctuation,
.token.doctype,
.token.builtin {
	color: #E54AD6;
}

.token.entity,
.token.symbol {
	color: #E54AD6;
}

.token.number {
	color: #E54AD6;
}

.token.property,
.token.constant,
.token.variable {
	color: #E54AD6;
}

/* "hello" */
.token.string,
.token.char {
	color: #F6D900;
}

/* ?? */
.token.attr-value,
.token.attr-value .punctuation {
	color: #3900f6;
}

/* ?? */
.token.attr-value .punctuation:first-child {
	color: #3900f6;
}

/* ?? */
.token.url {
	color: #287bde;
	text-decoration: underline;
}

/* doThing */
.token.function {
	color: #92ED6F;
}

.token.regex {
	background: #364135;
}

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

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

.token.inserted {
	background: #00ff00;
}

.token.deleted {
	background: #ff000d;
}

code.language-css .token.property,
code.language-css .token.property + .token.punctuation {
	color: #a9b7c6;
}

code.language-css .token.id {
	color: #ffeed3;
}

code.language-css .token.selector > .token.class,
code.language-css .token.selector > .token.attribute,
code.language-css .token.selector > .token.pseudo-class,
code.language-css .token.selector > .token.pseudo-element {
	color: #E54AD6;
}

/* CustomClass */
.token.class-name {
	color: #F69228;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
	background: none;
}

.line-highlight.line-highlight {
	margin-top: 36px;
	background: linear-gradient(to right, rgba(179, 98, 255, 0.17), transparent);
}

.line-highlight.line-highlight:before,
.line-highlight.line-highlight[data-end]:after {
	content: '';
}
