/* Project board cards: hide the linked pull requests */
.issue-card .meta.tw-my-1:has(a[href*="/pulls/"]) {
  display: none;
}

/* Project board cards: a closed issue is done, so its check is green, not red */
.issue-card svg.octicon-issue-closed {
  /* Gitea sets the red with the utility class tw-text-red, which is !important */
  color: var(--color-green) !important;
}

/* Project board cards: an open issue is blue, so green means done and nothing else */
.issue-card svg.octicon-issue-opened {
  color: var(--color-blue) !important;
}

/* Optional: hide the checklist count ("0 / 5") */
/* .issue-card .meta.tw-my-1:has(.octicon-checklist) { display: none; } */

/* Optional: hide the labels */
/* .issue-card .issue-card-bottom { display: none; } */

/* Optional: a little smaller text */
/* .issue-card { font-size: 13px; } */



:root:root {
  --color-primary: #00557D;
  --color-primary-contrast: #ffffff;
  --color-primary-hover: #003B5C;
  --color-primary-active: #002D45;
  --color-primary-dark-1: #003B5C;
  --color-primary-dark-2: #002D45;
  --color-primary-dark-3: #001E2E;
  --color-primary-light-1: #1F6C8F;
  --color-primary-light-2: #6699B1;
  --color-primary-light-3: #99BBCB;
}

@media (prefers-color-scheme: dark) {
  :root:root {
    --color-primary: #6699B1;
    --color-primary-contrast: #000F17;
    --color-primary-hover: #99BBCB;
    --color-primary-active: #CCDDE5;
  }
}

