the transition from dark to light