/* Gruvbox Green for Forgejo.
   An override on forgejo-dark, not a replacement: the import below keeps every
   rule this file does not mention in step with the running version. */

@import url("/assets/css/theme-forgejo-dark.css");

:root {
  --steel-100: #fbf1c7;
  --steel-150: #ebdbb2;
  --steel-200: #d5c4a1;
  --steel-250: #bdae93;
  --steel-300: #a89984;
  --steel-350: #928374;
  --steel-400: #7c6f64;
  --steel-450: #687e57;
  --steel-500: #5a6f4a;
  --steel-550: #425433;
  --steel-600: #354529;
  --steel-650: #314026;
  --steel-700: #2d3a22;
  --steel-750: #232e1b;
  --steel-800: #1c2415;
  --steel-850: #161d11;
  --steel-900: #11160d;

  /* The accent. Forgejo ships orange here; everything from buttons to the
     active-tab underline follows this one value. */
  --color-primary: #b8bb26;
  --color-primary-contrast: #1c2415;
  --color-primary-dark-1: #98971a;
  --color-primary-dark-2: #98971a;
  --color-primary-light-1: #d5d65a;
  --color-primary-light-2: #d5d65a;

  --color-accent: #b8bb26;
  --color-small-accent: #354529;

  /* Everything below is a literal in the shipped theme rather than a rung of
     --steel-*, which is why redefining the ramp alone left whole pages blue. */

  /* The activity heatmap and every level-shaded widget tint from these, not from
     --color-primary. Orange in the shipped theme. */
  --color-primary-alpha-10: #98971a19;
  --color-primary-alpha-20: #98971a33;
  --color-primary-alpha-30: #98971a4b;
  --color-primary-alpha-40: #98971a66;
  --color-primary-alpha-50: #98971a80;
  --color-primary-alpha-60: #98971a99;
  --color-primary-alpha-70: #98971ab3;
  --color-primary-alpha-80: #98971acc;
  --color-primary-alpha-90: #98971ae1;

  /* Blue-grey overlays, behind dropdowns and hovers. */
  --color-secondary-alpha-10: #35452919;
  --color-secondary-alpha-20: #35452933;
  --color-secondary-alpha-30: #3545294b;
  --color-secondary-alpha-40: #35452966;
  --color-secondary-alpha-50: #35452980;
  --color-secondary-alpha-60: #35452999;
  --color-secondary-alpha-70: #354529b3;
  --color-secondary-alpha-80: #354529cc;
  --color-secondary-alpha-90: #354529e1;

  /* The Actions log viewer is its own console palette. */
  --color-console-bg: #1c2415;
  --color-console-fg: #ebdbb2;
  --color-console-fg-subtle: #a89984;
  --color-console-border: #354529;
  --color-console-menu-bg: #2d3a22;
  --color-console-menu-border: #425433;
  --color-console-active-bg: #354529;

  /* Log output. The shipped set is a generic terminal palette; this is the one
     the terminals and the tty already use. */
  --color-ansi-black: #2d3a22;
  --color-ansi-red: #cc241d;
  --color-ansi-green: #98971a;
  --color-ansi-yellow: #d79921;
  --color-ansi-blue: #458588;
  --color-ansi-magenta: #b16286;
  --color-ansi-cyan: #689d6a;
  --color-ansi-white: #d5c4a1;
  --color-ansi-bright-black: #425433;
  --color-ansi-bright-red: #fb4934;
  --color-ansi-bright-green: #b8bb26;
  --color-ansi-bright-yellow: #fabd2f;
  --color-ansi-bright-blue: #83a598;
  --color-ansi-bright-magenta: #d3869b;
  --color-ansi-bright-cyan: #8ec07c;

  /* Blue-black, for code blocks and some overlays. */
  --color-black: #1c2415;
  --color-black-dark-1: #1c2415;
  --color-black-dark-2: #1c2415;
  --color-black-light: #232e1b;

  --color-info-bg: #2d3a22;
  --color-info-border: #425433;
}
