The room was dim with only a small candle for light.
The room was dim because the curtains were closed.