外面下着大雨 uses 着 to hold an action open as the backdrop while something else happens in front of it - that is the whole job of 着 in narration. 屋里一片漆黑 uses 一片, one stretch, as the measure for an undivided expanse of darkness.