/* reDriver theme for Forgejo: the dark Forgejo theme with the colours of the reDriver site (project hub: near black, warm greys, the logo red). */
@import "./theme-forgejo-dark.css";

gitea-theme-meta-info {
  --theme-display-name: "reDriver";
  --theme-color-scheme: "dark";
}

:root {
  --is-dark-theme: true;

  /* the logo red */
  --color-primary: #d8321f;
  --color-primary-contrast: #ffffff;
  --color-primary-dark-1: #c42c1b;
  --color-primary-dark-2: #ad2717;
  --color-primary-dark-3: #962114;
  --color-primary-dark-4: #7f1c11;
  --color-primary-dark-5: #68170e;
  --color-primary-dark-6: #51120b;
  --color-primary-dark-7: #3a0d08;
  --color-primary-light-1: #dd4634;
  --color-primary-light-2: #e15a4a;
  --color-primary-light-3: #e66f60;
  --color-primary-light-4: #ea8376;
  --color-primary-light-5: #ef988d;
  --color-primary-light-6: #f3aca4;
  --color-primary-light-7: #f8c1ba;
  --color-primary-alpha-10: #d8321f19;
  --color-primary-alpha-20: #d8321f33;
  --color-primary-alpha-30: #d8321f4b;
  --color-primary-alpha-40: #d8321f66;
  --color-primary-alpha-50: #d8321f80;
  --color-primary-alpha-60: #d8321f99;
  --color-primary-alpha-70: #d8321fb3;
  --color-primary-alpha-80: #d8321fcc;
  --color-primary-alpha-90: #d8321fe1;
  --color-primary-hover: var(--color-primary-light-1);
  --color-primary-active: var(--color-primary-light-2);

  /* surfaces: near black with a warm tint */
  --color-body: #1d1816;
  --color-box-body: #241e1c;
  --color-box-body-highlight: #2b2421;
  --color-box-header: #2b2421;
  --color-header-wrapper: #1d1816;
  --color-nav-bg: #161210;
  --color-nav-hover-bg: #2b2421;
  --color-secondary-nav-bg: #1d1816;
  --color-footer: #161210;
  --color-menu: #241e1c;
  --color-card: #241e1c;
  --color-input-background: #191513;
  --color-input-border: #3a322e;
  --color-input-border-hover: #4a403b;
  --color-code-bg: #191513;
  --color-markup-code-block: #191513;
  --color-markup-code-inline: #2b2421;
  --color-hover: #2b2421;
  --color-active: #332a27;
  --color-light-border: #3a322e;
  --color-secondary: #3a322e;
  --color-secondary-dark-1: #433935;
  --color-secondary-dark-2: #4c413c;
  --color-secondary-light-1: #332b28;
  --color-secondary-light-2: #2b2421;

  /* text: the warm greys of the site */
  --color-text: #efe8e4;
  --color-text-dark: #f6f2ef;
  --color-text-light: #d9cfca;
  --color-text-light-1: #c4b9b4;
  --color-text-light-2: #a79c97;
  --color-text-light-3: #7a706b;
}

/* the logo is a red square: a little rounding in the top bar */
#navbar-logo img { border-radius: 4px; }
