@layer components {
  /* A keep's color, for its pinned card and the top of its page, and the ink that reads on it. Dark colors
     take light ink and go further when washed over the page, so less of them is mixed in. The mid colors are
     the closest to the ink, so their quieter text, like the source and the time, needs more of it to read */
  .tint--teal,
  .tint--ink-blue,
  .tint--plum,
  .tint--umber {
    --tint-ink: var(--tint-ink-light);
    --tint-ink-inverse: var(--tint-ink-dark);
    --tint-wash: 14%;
  }

  .tint--terracotta,
  .tint--ochre,
  .tint--heather,
  .tint--lichen {
    --tint-ink: var(--tint-ink-dark);
    --tint-ink-inverse: var(--tint-ink-light);
    --tint-secondary: 82%;
  }

  .tint--sage,
  .tint--mist,
  .tint--sand,
  .tint--blush {
    --tint-ink: var(--tint-ink-dark);
    --tint-ink-inverse: var(--tint-ink-light);
  }

  .tint--teal { --tint: var(--tint-teal); }
  .tint--ink-blue { --tint: var(--tint-ink-blue); }
  .tint--plum { --tint: var(--tint-plum); }
  .tint--umber { --tint: var(--tint-umber); }
  .tint--terracotta { --tint: var(--tint-terracotta); }
  .tint--ochre { --tint: var(--tint-ochre); }
  .tint--heather { --tint: var(--tint-heather); }
  .tint--lichen { --tint: var(--tint-lichen); }
  .tint--sage { --tint: var(--tint-sage); }
  .tint--mist { --tint: var(--tint-mist); }
  .tint--sand { --tint: var(--tint-sand); }
  .tint--blush { --tint: var(--tint-blush); }
}
