/*
 * PSippr colors for the template's dark theme (22 Oct 2026, owner: "i want psippr colors as a theme dark one and white
 * theme let as is"). Values from the app palette shared/src/commonMain/kotlin/org/mjdev/psippr/ui/theme/PsColors.kt.
 * Loaded after core.css, outside the template's own files (template docs: do not edit assets/ core files). html[...]
 * outranks core.css's [data-bs-theme=dark]; the light theme is not touched.
 * Primary: the same five variables the template's color switcher writes (vendor/js/helpers.js setColor), contrast by
 * its rule (YIQ 148 < 1.6 * 100 -> white), subtle amounts of core.css dark (84% tint, border 35% -> alpha 0.65).
 */
html[data-bs-theme=dark] {
  /* PsColors.Bg - page */
  --bs-body-bg: #000000;
  --bs-body-bg-rgb: 0, 0, 0;
  /* PsColors.Surface - cards, offcanvas, dropdowns, menu */
  --bs-paper-bg: #141414;
  --bs-paper-bg-rgb: 20, 20, 20;
  --bs-menu-bg: #141414;
  --bs-menu-bg-rgb: 20, 20, 20;
  /* PsColors.TextBody, OnDark, TextSecondary, Divider */
  --bs-body-color: #e0e0e0;
  --bs-body-color-rgb: 224, 224, 224;
  --bs-heading-color: #ededed;
  --bs-secondary-color: #9e9e9e;
  --bs-secondary-color-rgb: 158, 158, 158;
  --bs-border-color: #2a2a2a;
  /* PsColors.StatusOnline - the PSippr green */
  --bs-primary: #00e676;
  --bs-primary-rgb: 0, 230, 118;
  --bs-primary-bg-subtle: color-mix(in sRGB, #141414 84%, #00e676);
  --bs-primary-border-subtle: rgba(0, 230, 118, 0.65);
  --bs-primary-contrast: #fff;
}
