/*
 * theme "Tomorrow" generated by syntect
 */

.hl-code {
 color: #4d4d4c;
 background-color: #ffffff;
}

.hl-comment {
 color: #8e908c;
}
.hl-keyword.hl-operator.hl-class, .hl-constant.hl-other, .hl-source.hl-php.hl-embedded.hl-line {
 color: #666969;
}
.hl-variable, .hl-support.hl-other.hl-variable, .hl-string.hl-other.hl-link, .hl-string.hl-regexp, .hl-entity.hl-name.hl-tag, .hl-entity.hl-other.hl-attribute-name, .hl-meta.hl-tag, .hl-declaration.hl-tag {
 color: #c82829;
}
.hl-constant.hl-numeric, .hl-constant.hl-language, .hl-support.hl-constant, .hl-constant.hl-character, .hl-variable.hl-parameter, .hl-punctuation.hl-section.hl-embedded, .hl-keyword.hl-other.hl-unit {
 color: #f5871f;
}
.hl-entity.hl-name.hl-class, .hl-entity.hl-name.hl-type.hl-class, .hl-support.hl-type, .hl-support.hl-class {
 color: #c99e00;
}
.hl-string, .hl-constant.hl-other.hl-symbol, .hl-entity.hl-other.hl-inherited-class, .hl-markup.hl-heading {
 color: #718c00;
}
.hl-keyword.hl-operator, .hl-constant.hl-other.hl-color {
 color: #3e999f;
}
.hl-entity.hl-name.hl-function, .hl-meta.hl-function-call, .hl-support.hl-function, .hl-keyword.hl-other.hl-special-method, .hl-meta.hl-block-level {
 color: #4271ae;
}
.hl-keyword, .hl-storage, .hl-storage.hl-type {
 color: #8959a8;
}
.hl-invalid {
 color: #ffffff;
 background-color: #c82829;
}
.hl-meta.hl-separator {
 color: #ffffff;
 background-color: #4271ae;
}
.hl-invalid.hl-deprecated {
 color: #ffffff;
 background-color: #8959a8;
}

/* ==========================================
   Tomorrow 语法高亮主题 (CSS Variables)
   ========================================== */

/* ----- 浅色主题 (默认) ----- */
:root,
.light {
  --hl-bg: #ffffff;
  --hl-text: #4d4d4c;
  --hl-comment: #8e908c;
  --hl-operator-class: #666969;
  --hl-tag-attribute: #c82829;
  --hl-number: #f5871f;
  --hl-class: #c99e00;
  --hl-string: #718c00;
  --hl-operator: #3e999f;
  --hl-function: #4271ae;
  --hl-keyword: #8959a8;
  --hl-invalid-bg: #c82829;
  --hl-invalid-text: #ffffff;
  --hl-separator-bg: #4271ae;
  --hl-deprecated-bg: #8959a8;
}

/* ----- 深色主题 (基于 Tomorrow Night) ----- */
.dark {
  --hl-bg: #1d1f21;
  --hl-text: #c5c8c6;
  --hl-comment: #969896;
  --hl-operator-class: #b4b7b4;
  --hl-tag-attribute: #cc6666;
  --hl-number: #de935f;
  --hl-class: #f0c674;
  --hl-string: #b5bd68;
  --hl-operator: #8abeb7;
  --hl-function: #81a2be;
  --hl-keyword: #b294bb;
  --hl-invalid-bg: #cc6666;
  --hl-invalid-text: #1d1f21;
  --hl-separator-bg: #81a2be;
  --hl-deprecated-bg: #b294bb;
}

/* ----- 应用变量 ----- */
.hl-code {
  color: var(--hl-text);
  background-color: var(--hl-bg);
}

.hl-comment {
  color: var(--hl-comment);
}
.hl-keyword.hl-operator.hl-class,
.hl-constant.hl-other,
.hl-source.hl-php.hl-embedded.hl-line {
  color: var(--hl-operator-class);
}
.hl-variable,
.hl-support.hl-other.hl-variable,
.hl-string.hl-other.hl-link,
.hl-string.hl-regexp,
.hl-entity.hl-name.hl-tag,
.hl-entity.hl-other.hl-attribute-name,
.hl-meta.hl-tag,
.hl-declaration.hl-tag {
  color: var(--hl-tag-attribute);
}
.hl-constant.hl-numeric,
.hl-constant.hl-language,
.hl-support.hl-constant,
.hl-constant.hl-character,
.hl-variable.hl-parameter,
.hl-punctuation.hl-section.hl-embedded,
.hl-keyword.hl-other.hl-unit {
  color: var(--hl-number);
}
.hl-entity.hl-name.hl-class,
.hl-entity.hl-name.hl-type.hl-class,
.hl-support.hl-type,
.hl-support.hl-class {
  color: var(--hl-class);
}
.hl-string,
.hl-constant.hl-other.hl-symbol,
.hl-entity.hl-other.hl-inherited-class,
.hl-markup.hl-heading {
  color: var(--hl-string);
}
.hl-keyword.hl-operator,
.hl-constant.hl-other.hl-color {
  color: var(--hl-operator);
}
.hl-entity.hl-name.hl-function,
.hl-meta.hl-function-call,
.hl-support.hl-function,
.hl-keyword.hl-other.hl-special-method,
.hl-meta.hl-block-level {
  color: var(--hl-function);
}
.hl-keyword,
.hl-storage,
.hl-storage.hl-type {
  color: var(--hl-keyword);
}
.hl-invalid {
  color: var(--hl-invalid-text);
  background-color: var(--hl-invalid-bg);
}
.hl-meta.hl-separator {
  color: var(--hl-invalid-text);
  background-color: var(--hl-separator-bg);
}
.hl-invalid.hl-deprecated {
  color: var(--hl-invalid-text);
  background-color: var(--hl-deprecated-bg);
}