@import "../../node_modules/prismjs/themes/prism";
@import "../../node_modules/prismjs/plugins/line-highlight/prism-line-highlight";

code.language-js,
code.language-ts,
pre.language-js,
pre.language-ts {
	color: $gray-400;
	margin: 0;
	text-shadow: $black 0px 1px;
}

:not(pre) > code.language-js,
:not(pre) > code.language-ts,
pre.language-js,
pre.language-ts {
	background: $gray-1100;
}

// .token.comment,
// .token.prolog,
// .token.doctype,
// .token.cdata {
// 	color: slategray;
// }

.token.punctuation {
	color: $gray-400;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
	color: $red-400;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
	color: $jade-400;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.regex,
.token.important,
.token.variable {
	color: $orange-400;
  background: $gray-1100;
}

.token.atrule,
.token.attr-value,
.token.keyword,
.token.function,
.token.class-name {
	color: $indigo-400;
}

.line-numbers .line-numbers-rows {
	border-right: 0;
}

.line-numbers-rows > span:before {
	color: $gray-800;
}

.line-highlight {
	background: linear-gradient(to right, rgba($gray-100,.1) 100%, rgba($gray-100,0));

	&:before {
		display: none;
	}
}

.test-error-code-frame pre[data-line] {
	padding-left: 0.5em;
	position: relative;
}
