Checkbox: restore dark mode to pre-migration behavior

Before the Tailwind 4 migration, checkboxes behaved as follows:

  Light mode
    checked   → cyan bg + white checkmark
    unchecked → white bg
  Dark mode
    checked   → cyan bg + white checkmark
    unchecked → dark bg

In the last commit, we fixed white-on-white, but because we removed
dark:bg-... as well, unchecked boxes in dark mode regressed to white,
standing out like a sore thumb against the dark background.

The current commit adds back the pre-migration behavior; it's not
actually a value-judgement on it other than "it was at least functioning".
(this non-value-judgement is directed at "do I really like cyan bg + white
checkmark in dark mode... I might not)

Fix #225
This commit is contained in:
Klaas van Schelven
2025-09-22 20:34:25 +02:00
parent 0b863b97a4
commit 5913af4824
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long