/* Recolours mdBook's light and coal themes with the landing page's palette
   (website/style.css) so the documentation reads as part of the same site. */

html {
  font-family: system-ui, "Cantarell", "Inter", "Segoe UI", -apple-system, sans-serif;
}

.light, html:not(.js) {
  --bg: #fbfbfc;
  --fg: #1b1d21;
  --sidebar-bg: #f3f4f6;
  --sidebar-fg: #1b1d21;
  --sidebar-active: #0b736f;
  --sidebar-spacer: #e4e6ea;
  --links: #0b736f;
  --quote-bg: #f3f4f6;
  --quote-border: #e4e6ea;
  --table-border-color: #e4e6ea;
  --table-header-bg: #e4e6ea;
  --table-alternate-bg: #f3f4f6;
  --search-mark-bg: #b6e6e3;
  --searchresults-li-bg: #e3f4f3;
  --sidebar-header-border-color: #0e8f8a;
}

.coal {
  --bg: #15171b;
  --fg: #eceef1;
  --sidebar-bg: #1d2024;
  --sidebar-fg: #a3a9b3;
  --sidebar-active: #5ad6cf;
  --sidebar-spacer: #2d3138;
  --links: #5ad6cf;
  --inline-code-color: #eceef1;
  --quote-bg: #1d2024;
  --quote-border: #2d3138;
  --table-border-color: #2d3138;
  --table-header-bg: #2d3138;
  --table-alternate-bg: #1d2024;
  --search-mark-bg: #1f6f6b;
  --sidebar-header-border-color: #3ec9c2;
}
