import { expect, test } from "bun:test"; test("selected text stays visible on the red main-cover band", async () => { const css = await Bun.file("src/web/styles.css").text(); // The page-wide highlight is band red at 30%: invisible on a band that is already red. expect(css).toContain(".mbseed-app ::selection { background: color-mix(in srgb, var(--mb-obi) 30%, transparent); }"); expect(css).toContain(".mbseed-app .mbseed-book.is-main ::selection { background: var(--mb-obi-ink); color: var(--mb-obi-deep); }"); });