/* Slikopedia colour themes. Generated by app/tools/generate-themes.py; edit the
   palette numbers there and regenerate rather than editing this file.
   Piran is the default; any element with data-sp-theme takes that theme. */

/* piran */
:root, [data-sp-theme="piran"] {
  --bg: #f1f7fa;
  --surface: #fcfeff;
  --surface-2: #ecf2f6;
  --surface-3: #e1e8ed;
  --border: #dae1e5;
  --border-strong: #c4ccd1;
  --fg: #162127;
  --fg-2: #5a656c;
  --primary: #094e8c;
  --primary-fg: #f9fcff;
  --tint: #dff1ff;
  --tint-fg: #084882;
  --tint-border: #accef5;
  --focus: #296baf;
  --ok: #348f4f;
  --ok-tint: #dff6e2;
  --ok-fg: #115629;
  --loc: #c35045;
  --loc-tint: #ffe6e2;
  --loc-fg: #862721;
  --scrim: #050c11;
  --header-bg: #0b2540;
  --header-fg: #f0f6fc;
  --header-fg-2: #aab9cb;
  --header-border: #041d38;
  --header-hover: #1d3753;
  --hdr-primary: #dbe6f3;
  --hdr-primary-fg: #091521;
  --brand-mark: #dbe6f3;
  --selected: #094e8c;
  --selected-fg: #f9fcff;
  --primary-hover: #00407c;
  --hdr-primary-hover: #ced9e6;
  --shadow-c: rgba(22, 33, 39, 0.1);
  color-scheme: light;
}

/* pohorje */
[data-sp-theme="pohorje"] {
  --bg: #f1f8f5;
  --surface: #fcfefd;
  --surface-2: #ecf3f0;
  --surface-3: #e1e9e6;
  --border: #dae2df;
  --border-strong: #c4cdc9;
  --fg: #16221e;
  --fg-2: #5a6762;
  --primary: #005c41;
  --primary-fg: #f9fdfb;
  --tint: #e0f4ea;
  --tint-fg: #00563c;
  --tint-border: #add5c3;
  --focus: #257a5b;
  --ok: #578b35;
  --ok-tint: #e5f4dd;
  --ok-fg: #2e5314;
  --loc: #c35141;
  --loc-tint: #ffe6e1;
  --loc-fg: #86281d;
  --scrim: #050d0a;
  --header-bg: #09251a;
  --header-fg: #eff7f3;
  --header-fg-2: #a6beb3;
  --header-border: #031e14;
  --header-hover: #1b372b;
  --hdr-primary: #cce5d9;
  --hdr-primary-fg: #051810;
  --brand-mark: #cce5d9;
  --selected: #005c41;
  --selected-fg: #f9fdfb;
  --primary-hover: #004e33;
  --hdr-primary-hover: #bfd8cc;
  --shadow-c: rgba(22, 34, 30, 0.1);
  color-scheme: light;
}

/* gentian */
[data-sp-theme="gentian"] {
  --bg: #f2f6fd;
  --surface: #fcfdff;
  --surface-2: #edf1fa;
  --surface-3: #e2e7f0;
  --border: #dbe0e9;
  --border-strong: #c5cbd5;
  --fg: #181f2c;
  --fg-2: #5c6471;
  --primary: #384db8;
  --primary-fg: #fafcff;
  --tint: #e2eeff;
  --tint-fg: #29399d;
  --tint-border: #b3c8ff;
  --focus: #435bce;
  --ok: #249057;
  --ok-tint: #ddf6e4;
  --ok-fg: #00572e;
  --loc: #c34f4b;
  --loc-tint: #ffe6e3;
  --loc-fg: #862726;
  --scrim: #060b14;
  --header-bg: #fcfdff;
  --header-fg: #181f2c;
  --header-fg-2: #5c6471;
  --header-border: #dbe0e9;
  --header-hover: #edf1fa;
  --hdr-primary: #384db8;
  --hdr-primary-fg: #fafcff;
  --brand-mark: #384db8;
  --selected: #384db8;
  --selected-fg: #fafcff;
  --primary-hover: #2c3ea8;
  --hdr-primary-hover: #2f41ab;
  --shadow-c: rgba(24, 31, 44, 0.1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  /* piran */
  :root, [data-sp-theme="piran"] {
    --bg: #090f13;
    --surface: #12181c;
    --surface-2: #1b2327;
    --surface-3: #252d32;
    --border: #242b30;
    --border-strong: #394146;
    --fg: #e9f0f4;
    --fg-2: #a3acb3;
    --primary: #90bbec;
    --primary-fg: #0d141d;
    --tint: #1c2d3f;
    --tint-fg: #bcdbff;
    --tint-border: #374f6a;
    --focus: #84bcfb;
    --ok: #62c37a;
    --ok-tint: #17321e;
    --ok-fg: #a4e7b2;
    --loc: #f47c6e;
    --loc-tint: #41211d;
    --loc-fg: #ffbeb3;
    --scrim: #010407;
    --header-bg: #000715;
    --header-fg: #f0f6fc;
    --header-fg-2: #aab9cb;
    --header-border: #00030e;
    --header-hover: #091726;
    --hdr-primary: #90bbec;
    --hdr-primary-fg: #091521;
    --brand-mark: #90bbec;
    --selected: #90bbec;
    --selected-fg: #0d141d;
    --primary-hover: #9dc8fa;
    --hdr-primary-hover: #9dc8fa;
    --shadow-c: rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }

  /* pohorje */
  [data-sp-theme="pohorje"] {
    --bg: #09100d;
    --surface: #111916;
    --surface-2: #1b2421;
    --surface-3: #242e2a;
    --border: #242c29;
    --border-strong: #39423e;
    --fg: #e9f1ed;
    --fg-2: #a2aea9;
    --primary: #88c7ab;
    --primary-fg: #0b1712;
    --tint: #1d3028;
    --tint-fg: #bde1d0;
    --tint-border: #385448;
    --focus: #85c8ab;
    --ok: #83be60;
    --ok-tint: #203117;
    --ok-fg: #b8e3a1;
    --loc: #f47c6b;
    --loc-tint: #41211c;
    --loc-fg: #ffbeb1;
    --scrim: #010403;
    --header-bg: #010a05;
    --header-fg: #eff7f3;
    --header-fg-2: #a6beb3;
    --header-border: #000502;
    --header-hover: #0b1a13;
    --hdr-primary: #88c7ab;
    --hdr-primary-fg: #051810;
    --brand-mark: #88c7ab;
    --selected: #88c7ab;
    --selected-fg: #0b1712;
    --primary-hover: #95d4b8;
    --hdr-primary-hover: #95d4b8;
    --shadow-c: rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }

  /* gentian */
  [data-sp-theme="gentian"] {
    --bg: #0a0e16;
    --surface: #13171f;
    --surface-2: #1d222b;
    --surface-3: #262c35;
    --border: #252a34;
    --border-strong: #3a404a;
    --fg: #eaeff8;
    --fg-2: #a4abb8;
    --primary: #96aef8;
    --primary-fg: #0f1320;
    --tint: #202947;
    --tint-fg: #c1d6ff;
    --tint-border: #3d4a77;
    --focus: #92b1ff;
    --ok: #55c483;
    --ok-tint: #143320;
    --ok-fg: #9ee8b8;
    --loc: #f47b74;
    --loc-tint: #41211e;
    --loc-fg: #ffbeb6;
    --scrim: #010309;
    --header-bg: #13171f;
    --header-fg: #eaeff8;
    --header-fg-2: #a4abb8;
    --header-border: #252a34;
    --header-hover: #1d222b;
    --hdr-primary: #96aef8;
    --hdr-primary-fg: #0f1320;
    --brand-mark: #96aef8;
    --selected: #96aef8;
    --selected-fg: #0f1320;
    --primary-hover: #a2baff;
    --hdr-primary-hover: #a2baff;
    --shadow-c: rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}
