As much as I don't want to do this because this makes recoloring harder,
I think there's no way around it for now. If we had css variables, this
could have been done cleanly.
Anyway, I've messed something up with header bars and checked flat buttons there are all wrong.