/*
 * apk/updater branding. The greens are the app's own tokens (webroot/css/android-apk-updater.css): keep the three
 * values below identical to --bay, --bay-fill and --bay-on-fill there, so the help looks like part of the app.
 */
:root {
  --apk-bay: #0a7f3f;          /* green for text and links on a light surface */
  --apk-bay-fill: #3ddc84;     /* green as a fill: buttons, the brand mark, here the header */
  --apk-bay-on-fill: #03200f;  /* text on that fill */

  --md-primary-fg-color: var(--apk-bay-fill);
  --md-primary-fg-color--light: var(--apk-bay-fill);
  --md-primary-fg-color--dark: var(--apk-bay);
  --md-primary-bg-color: var(--apk-bay-on-fill);
  --md-primary-bg-color--light: rgba(3, 32, 15, 0.7);
  --md-accent-fg-color: var(--apk-bay);
}
[data-md-color-scheme="slate"] {
  /* Dark mode: the app's dark surface for the header, the fill green for accents and links. */
  --md-primary-fg-color: #111513;
  --md-primary-bg-color: #e9eeea;
  --md-primary-bg-color--light: rgba(233, 238, 234, 0.7);
  --md-accent-fg-color: var(--apk-bay-fill);
  --md-typeset-a-color: var(--apk-bay-fill);

  /* Material's slate is bluish grey; these are the app's dark surfaces and text (--canvas, --hull, --well, --ink*). */
  --md-default-bg-color: #0b0e0c;
  --md-default-bg-color--light: rgba(11, 14, 12, 0.54);
  --md-default-bg-color--lighter: rgba(11, 14, 12, 0.26);
  --md-default-bg-color--lightest: rgba(11, 14, 12, 0.07);
  --md-default-fg-color: #e9eeea;
  --md-default-fg-color--light: #bcc5bf;
  --md-default-fg-color--lighter: #8a948e;
  --md-default-fg-color--lightest: rgba(255, 255, 255, 0.08);
  --md-typeset-color: #bcc5bf;
  --md-code-bg-color: #111513;
  --md-code-fg-color: #e9eeea;
  --md-footer-bg-color: #080a09;
  --md-footer-bg-color--dark: #080a09;
  --md-typeset-table-color: rgba(255, 255, 255, 0.08);
}
.md-typeset img { border: 1px solid var(--md-default-fg-color--lightest); border-radius: 6px; }
.md-typeset code { font-size: 0.85em; }
