/* Runtime palette: edit this file and refresh. No JS/WASM/compiler rebuild.
   Production can serve /theme.css directly from nginx; see README.md.
   Keep text colors legible against the editor background (#10141d). */
:root {
  /* Crimson syntax, gold functions, copper arguments, teal types. */
  --kappa-keyword: #e66b72;
  --kappa-function: #e8bd70;
  --kappa-parameter: #e6a477;
  --kappa-variable: #dfd8cb;
  --kappa-type: #69cbbb;
  --kappa-constructor: #e89561;
  --kappa-property: #a6c9be;
  --kappa-call: #e8bd70;
  --kappa-string: #d8cc91;
  --kappa-number: #ef9180;
  --kappa-operator: #b5b0a2;
  --kappa-delimiter: #e8bd70;
  --kappa-comment: #88958f;

  /* Six nesting depths; matching open/close delimiters share a color. */
  --kappa-rainbow-0: #e8bd70;
  --kappa-rainbow-1: #69cbbb;
  --kappa-rainbow-2: #e66b72;
  --kappa-rainbow-3: #e89561;
  --kappa-rainbow-4: #a6c9be;
  --kappa-rainbow-5: #d8cc91;
  --kappa-declaration-line: #e8bd7055;
  --kappa-declaration-weight: 500;
  --kappa-declaration-decoration: none;
  --kappa-pair-background: #69cbbb22;
  --kappa-pair-outline: #69cbbb88;
}

/* Quiet declaration emphasis. Specificity also overrides older embedded
   CodeMirror themes; diagnostic squiggles use separate lint decorations. */
:root .cm-editor .cm-kappa-declaration {
  font-weight: var(--kappa-declaration-weight, 500);
  text-decoration-line: var(--kappa-declaration-decoration, none);
}
