/*
 * Syntax colors for code blocks (Prism tokens), on any page with a code block that has a language
 * (TAU_Lesson_Display): lessons, and pages such as the homepage. Chosen to read on the dark code
 * background (--tau-code-bg in lesson.css; #0B192C by default). Override a color in Appearance →
 * Customize → Additional CSS, e.g. body { --tau-token-keyword: #FF79C6; }.
 */

body {
	--tau-token-comment: #8A9BB4;
	--tau-token-keyword: #C792EA;
	--tau-token-string: #A6D189;
	--tau-token-number: #F9C967;
	--tau-token-function: #82AAFF;
	--tau-token-class: #FFCB6B;
	--tau-token-operator: #89DDFF;
	--tau-token-punctuation: #A9B4C4;
	--tau-token-tag: #FF8A9E;
	--tau-token-attr: #7FDBCA;
}

/* Syntax coloring (Prism tokens inside code blocks only). */
.wp-block-code .token.comment,
.wp-block-code .token.prolog,
.wp-block-code .token.doctype,
.wp-block-code .token.cdata {
	color: var(--tau-token-comment);
	font-style: italic;
}
.wp-block-code .token.keyword,
.wp-block-code .token.important,
.wp-block-code .token.atrule,
.wp-block-code .token.rule {
	color: var(--tau-token-keyword);
}
.wp-block-code .token.string,
.wp-block-code .token.char,
.wp-block-code .token.template-string,
.wp-block-code .token.attr-value {
	color: var(--tau-token-string);
}
.wp-block-code .token.number,
.wp-block-code .token.boolean,
.wp-block-code .token.constant {
	color: var(--tau-token-number);
}
.wp-block-code .token.function,
.wp-block-code .token.selector {
	color: var(--tau-token-function);
}
.wp-block-code .token.class-name,
.wp-block-code .token.builtin,
.wp-block-code .token.annotation,
.wp-block-code .token.decorator {
	color: var(--tau-token-class);
}
.wp-block-code .token.operator,
.wp-block-code .token.entity,
.wp-block-code .token.url,
.wp-block-code .token.regex {
	color: var(--tau-token-operator);
}
.wp-block-code .token.punctuation {
	color: var(--tau-token-punctuation);
}
.wp-block-code .token.tag,
.wp-block-code .token.property,
.wp-block-code .token.key {
	color: var(--tau-token-tag);
}
.wp-block-code .token.attr-name,
.wp-block-code .token.variable,
.wp-block-code .token.parameter {
	color: var(--tau-token-attr);
}
