Fix bug where forms did not adapt to dark backgrounds.

[Resolves #48]